@builder.io/dev-tools 0.2.23 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/server/index.cjs CHANGED
@@ -1,14 +1,14 @@
1
- "use strict";var S=Object.defineProperty;var Y=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var Z=Object.prototype.hasOwnProperty;var ee=(e,t)=>{for(var r in t)S(e,r,{get:t[r],enumerable:!0})},te=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of X(t))!Z.call(e,n)&&n!==r&&S(e,n,{get:()=>t[n],enumerable:!(o=Y(t,n))||o.enumerable});return e};var re=e=>te(S({},"__esModule",{value:!0}),e);var me={};ee(me,{createDevToolsServer:()=>W,version:()=>C});module.exports=re(me);var v=require("http");var T="preview-url";var b="framework",w="platform",A="node",D="/~builder-connect",g="/~builder-connected",y="/~builder-dev-tools",R="/~builder-dev-tools.js",p="/~builder-dev-tools-close";var E=require("console"),O=require("http"),P=require("https");function m(e){let t=Date.now();return new Promise((r,o)=>{let a=oe(e.url)({protocol:e.url.protocol,host:e.url.host,port:e.url.port,path:e.url.pathname+e.url.search,method:e.method,headers:e.headers},s=>{let i="";s.on("data",l=>{i+=l}),s.on("end",()=>{if((0,E.debug)(`${e.method} ${e.url.href}, duration: ${Date.now()-t}ms`),typeof s.statusCode=="number"&&s.statusCode>=200&&s.statusCode<300)if(typeof s.headers["content-type"]!="string"||!s.headers["content-type"].includes("application/json"))o(`Response from ${e.url.href} content-type is ${s.headers["content-type"]}`);else try{r(JSON.parse(i))}catch(l){o(`Response from ${e.url.href} is not valid JSON: ${i}
2
- ${l}`)}else o(`Request to ${e.url.href} failed with status ${s.statusCode}: ${i}`)})}).on("error",s=>{o(`Error fetching ${e.url.href}, ${s}`)});e.body&&(a.setHeader("Content-Type","application/json"),a.write(e.body)),a.end()})}function oe(e){if(e.protocol==="https:")return P.request;if(e.protocol==="http:")return O.request;throw new Error(`Unsupported protocol ${e.protocol}`)}async function I(e,t){let r=new URL("https://cdn.builder.io/api/v2/admin"),o={query:`query {
1
+ "use strict";var S=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.prototype.hasOwnProperty;var re=(e,t)=>{for(var r in t)S(e,r,{get:t[r],enumerable:!0})},oe=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ee(t))!te.call(e,n)&&n!==r&&S(e,n,{get:()=>t[n],enumerable:!(o=Z(t,n))||o.enumerable});return e};var ne=e=>oe(S({},"__esModule",{value:!0}),e);var fe={};re(fe,{createDevToolsServer:()=>Y,version:()=>_});module.exports=ne(fe);var v=require("http");var T="preview-url";var b="framework",D="platform",E="node",A="/~builder-connect",g="/~builder-connected",C="/~builder-dev-tools",R="/~builder-dev-tools.js",d="/~builder-dev-tools-close";async function O(e){return(await e.hash(e.getRootDir())).substring(0,8)}async function P(e,t){let r=await e.readFile(t.filePath);return r==null?{diagnostics:[{messageText:`Error reading: ${t.filePath}`}],code:null,output:null}:y(e,{code:r,filePath:t.filePath,compilerOptions:t.compilerOptions})}function y(e,t){let r={diagnostics:[],code:t.code,output:null};try{let o=e.ts.transpileModule(t.code,{compilerOptions:t.compilerOptions,fileName:t.filePath??"module.tsx",reportDiagnostics:!0});o.diagnostics?.forEach(n=>{r.diagnostics.push({messageText:String(n.messageText)})}),r.output=o.outputText}catch(o){console.error("transpileModule",o),r.diagnostics.push({messageText:String(o)})}return r}var L=require("console"),$=require("http"),I=require("https");function m(e){let t=Date.now();return new Promise((r,o)=>{let i=se(e.url)({protocol:e.url.protocol,host:e.url.host,port:e.url.port,path:e.url.pathname+e.url.search,method:e.method,headers:e.headers},s=>{let a="";s.on("data",l=>{a+=l}),s.on("end",()=>{if((0,L.debug)(`${e.method} ${e.url.href}, duration: ${Date.now()-t}ms`),typeof s.statusCode=="number"&&s.statusCode>=200&&s.statusCode<300)if(typeof s.headers["content-type"]!="string"||!s.headers["content-type"].includes("application/json"))o(`Response from ${e.url.href} content-type is ${s.headers["content-type"]}`);else try{r(JSON.parse(a))}catch(l){o(`Response from ${e.url.href} is not valid JSON: ${a}
2
+ ${l}`)}else o(`Request to ${e.url.href} failed with status ${s.statusCode}: ${a}`)})}).on("error",s=>{o(`Error fetching ${e.url.href}, ${s}`)});e.body&&(i.setHeader("Content-Type","application/json"),i.write(e.body)),i.end()})}function se(e){if(e.protocol==="https:")return I.request;if(e.protocol==="http:")return $.request;throw new Error(`Unsupported protocol ${e.protocol}`)}async function U(e,t){let r=new URL("https://cdn.builder.io/api/v2/admin"),o={query:`query {
3
3
  models {
4
4
  id
5
5
  name
6
6
  }
7
- }`};e.debug(`Get model id for model name "${t.model}"`);let a=(await m({url:r,method:"POST",headers:{Authorization:`Bearer ${t.privateAuthKey}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(o)})).data.models.find(l=>l.name===t.model);if(!a)return e.debug(`No model found for model name "${t.model}"`),!1;e.debug(`Data query, modelId: "${a.id}", urlPath: "${t.pageUrl}"`);let s=new URL("https://cdn.builder.io/api/v3/data");s.searchParams.set("limit","1"),s.searchParams.set("cachebust","true"),s.searchParams.set("collection","content"),s.searchParams.set("query.published.$ne","archived"),s.searchParams.set("query.query.$elemMatch.$and[0].property","urlPath"),s.searchParams.set("query.query.$elemMatch.$and[0].operator","is"),s.searchParams.set("query.query.$elemMatch.$and[0].value",t.pageUrl),s.searchParams.set("query.modelId",a.id),s.searchParams.set("apiKey",t.publicApiKey);let i=await m({url:s,method:"GET"});return e.debug(`Data results (${i.results.length}): ${s.href}`),i.results.length>0}async function h(e,t){let r=new URL(`https://cdn.builder.io/api/v3/content/${t.model}`);r.searchParams.set("apiKey",t.publicApiKey),r.searchParams.set("cachebust","true"),r.searchParams.set("cb",Date.now().toString()),t.pageUrl&&(r.searchParams.set("url",t.pageUrl),e.debug(`get model: "${t.model}", pageUrl: "${t.pageUrl}":`,r.href)),t.id&&(r.searchParams.set("query.id",t.id),e.debug(`get model: "${t.model}", id: "${t.id}":`,r.href));let o=await m({url:r,method:"GET"});return e.debug(`get content results: ${o.results.length}`),o}async function L(e,t){let r=new URL(`https://cdn.builder.io/api/v1/write/${t.model}`);e.debug(`writing "${t.model}" content:`,r.href),await m({url:r,method:"POST",headers:{Authorization:`Bearer ${t.privateAuthKey}`},body:t.body})}var d="page",$="integration-welcome-screens",U="8d9ee72a33344b4b867918b442ebd0af";async function N(e,t){let r=await h(e,{model:$,publicApiKey:U,id:t.templateContentId});if(!Array.isArray(r?.results)||r.results.length===0||!r.results[0].data?.blocks)throw new Error(`No Builder content found for id ${t.templateContentId}`);let o=JSON.stringify(r.results[0].data.blocks),n=ne(t.publicApiKey,t.pathname,t.title,o);await L(e,{privateAuthKey:t.privateAuthKey,model:d,body:n})}function ne(e,t,r,o){return JSON.stringify({name:r,ownerId:e,published:"published",query:[{property:"urlPath",value:[t],operator:"is"}],data:{title:r,blocksString:o}})}async function k(e,t,r){e.debug(`connect builder with public key: ${t}`),e.publicApiKey=t;let o=e.closeAppServer(),n=await e.setPublicApiKey({publicApiKey:t});e.debug(`set public key: process.env.${n.envKey}=${t}`),process.env[n.envKey]=t;let a=await e.builderPageOptions();e.debug(`builder model: ${d}, path: ${a.pathname}, template: ${a.templateContentId}`),await I(e,{model:d,pageUrl:a.pathname,publicApiKey:t,privateAuthKey:r})||await N(e,{templateContentId:a.templateContentId,pathname:a.pathname,title:a.title,publicApiKey:t,privateAuthKey:r}),await o,e.debug("ensure builder setup");let i=await e.ensureBuilderSetup();n.modifiedType&&i.push({filePath:n.file,modifiedType:n.modifiedType}),i.forEach(u=>{u.displayFilePath=e.relative(e.getRootDir(),u.filePath)}),i.sort((u,z)=>u.filePath.localeCompare(z.filePath)),i.length>0?(e.debug(`modified files: ${i.map(u=>u.displayFilePath).join(", ")}`),await e.restartAppServer(),await new Promise(u=>setTimeout(u,500))):e.debug("no modified files");let l={success:!0,pathname:a.localePathname||a.pathname,modifiedFiles:i,platform:e.platform()};return e.debug(`connected builder: ${l.pathname}`),l}async function V(e){let t=await e.builderPageOptions();e.debug(`validateBuilder, pathname: ${t.pathname}, localePathname: ${t.localePathname}, isValid: ${e.isValid}`);let r={isValid:e.isValid,pathname:t.localePathname||t.pathname,platform:e.platform()};if(e.isValid)return r;let o=await e.getPublicApiKey();return o.envValue?(e.debug(`public api key: ${o.envValue}, ${o.file}`),e.publicApiKey=o.envValue,(await h(e,{model:d,publicApiKey:o.envValue})).results.length===0?(e.debug("missing homepage content"),r):(e.debug("builder connection is valid"),r.isValid=!0,e.isValid=!0,r)):(e.debug("missing public api key"),r)}async function B(e,t){let r={type:t.type};switch(t.type){case"getCache":{r.data=await e.getCache();break}case"setCache":{await e.setCache(t.data);break}case"connectBuilder":{r.data=await k(e,t.data.publicApiKey,t.data.privateAuthKey);break}case"enableDevTools":{r.data=ae(e,t.data.enabled);break}case"getRegistry":{r.data=await e.getRegistry(t.data);break}case"launchEditor":{r.data=await e.launchEditor(t.data);break}case"validateBuilder":{r.data=await V(e);break}case"loadComponent":{r.data=await e.loadComponent(t.data);break}case"registerComponent":{r.data=await e.registerComponent(t.data),e.serverShouldRestart=!0;break}case"setComponentInfo":{r.data=await e.setRegisteredComponentInfo(t.data),e.serverShouldRestart=!0;break}case"setComponentInput":{r.data=await e.setRegisteredComponentInput(t.data),e.serverShouldRestart=!0;break}case"unregisterComponent":{r.data=await e.unregisterComponent(t.data),e.serverShouldRestart=!0;break}case"getFrameworks":{r.data=e.getFrameworks();break}case"readdir":{_(t.path)?r.data=await e.readdir(t.path,!0):r.errors=[`Invalid file request: ${t.path}`];break}case"readFile":{_(t.path)?r.data=await e.readFile(t.path):r.errors=[`Invalid file request: ${t.path}`];break}case"writeFile":{_(t.path)?await e.writeFile(t.path,t.content):r.errors=[`Invalid file request: ${t.path}`];break}case"ensureFigmaImportPage":{r.data=await e.ensureFigmaImportPage();break}default:{r.errors=[`Unknown request type: ${JSON.stringify(t)}`];let o=t}}return r}function _(e){if(!e||e.includes(".."))return!1;e=e.replace(/\\/g,"/");let t=e.split("/"),r=t[t.length-1];if(r.length>0){let o=r.split(".").pop();if(o&&(o=`.${o}`.toLocaleLowerCase(),o=o.split("?")[0],!se.includes(o)))return!1}return!0}var se=[".js",".jsx",".ts",".tsx",".json",".css",".scss",".sass",".less",".html",".htm",".xml",".svg",".png",".jpg",".jpeg",".gif",".ico",".webp",".woff",".woff2",".ttf",".eot",".mp4",".webm",".ogg",".md",".txt",".csv",".pdf"];function ae(e,t){return!t&&e.serverShouldRestart&&setTimeout(()=>{console.log(`
7
+ }`};e.debug(`Get model id for model name "${t.model}"`);let i=(await m({url:r,method:"POST",headers:{Authorization:`Bearer ${t.privateAuthKey}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(o)})).data.models.find(l=>l.name===t.model);if(!i)return e.debug(`No model found for model name "${t.model}"`),!1;e.debug(`Data query, modelId: "${i.id}", urlPath: "${t.pageUrl}"`);let s=new URL("https://cdn.builder.io/api/v3/data");s.searchParams.set("limit","1"),s.searchParams.set("cachebust","true"),s.searchParams.set("collection","content"),s.searchParams.set("query.published.$ne","archived"),s.searchParams.set("query.query.$elemMatch.$and[0].property","urlPath"),s.searchParams.set("query.query.$elemMatch.$and[0].operator","is"),s.searchParams.set("query.query.$elemMatch.$and[0].value",t.pageUrl),s.searchParams.set("query.modelId",i.id),s.searchParams.set("apiKey",t.publicApiKey);let a=await m({url:s,method:"GET"});return e.debug(`Data results (${a.results.length}): ${s.href}`),a.results.length>0}async function f(e,t){let r=new URL(`https://cdn.builder.io/api/v3/content/${t.model}`);r.searchParams.set("apiKey",t.publicApiKey),r.searchParams.set("cachebust","true"),r.searchParams.set("cb",Date.now().toString()),t.pageUrl&&(r.searchParams.set("url",t.pageUrl),e.debug(`get model: "${t.model}", pageUrl: "${t.pageUrl}":`,r.href)),t.id&&(r.searchParams.set("query.id",t.id),e.debug(`get model: "${t.model}", id: "${t.id}":`,r.href));let o=await m({url:r,method:"GET"});return e.debug(`get content results: ${o.results.length}`),o}async function N(e,t){let r=new URL(`https://cdn.builder.io/api/v1/write/${t.model}`);e.debug(`writing "${t.model}" content:`,r.href),await m({url:r,method:"POST",headers:{Authorization:`Bearer ${t.privateAuthKey}`},body:t.body})}var p="page",F="integration-welcome-screens",k="8d9ee72a33344b4b867918b442ebd0af";async function M(e,t){let r=await f(e,{model:F,publicApiKey:k,id:t.templateContentId});if(!Array.isArray(r?.results)||r.results.length===0||!r.results[0].data?.blocks)throw new Error(`No Builder content found for id ${t.templateContentId}`);let o=JSON.stringify(r.results[0].data.blocks),n=ie(t.publicApiKey,t.pathname,t.title,o);await N(e,{privateAuthKey:t.privateAuthKey,model:p,body:n})}function ie(e,t,r,o){return JSON.stringify({name:r,ownerId:e,published:"published",query:[{property:"urlPath",value:[t],operator:"is"}],data:{title:r,blocksString:o}})}async function x(e,t,r){e.debug(`connect builder with public key: ${t}`),e.publicApiKey=t;let o=e.closeAppServer(),n=await e.setPublicApiKey({publicApiKey:t});e.debug(`set public key: process.env.${n.envKey}=${t}`),process.env[n.envKey]=t;let i=await e.builderPageOptions();e.debug(`builder model: ${p}, path: ${i.pathname}, template: ${i.templateContentId}`),await U(e,{model:p,pageUrl:i.pathname,publicApiKey:t,privateAuthKey:r})||await M(e,{templateContentId:i.templateContentId,pathname:i.pathname,title:i.title,publicApiKey:t,privateAuthKey:r}),await o,e.debug("ensure builder setup");let a=await e.ensureBuilderSetup();n.modifiedType&&a.push({filePath:n.file,modifiedType:n.modifiedType}),a.forEach(u=>{u.displayFilePath=e.relative(e.getRootDir(),u.filePath)}),a.sort((u,X)=>u.filePath.localeCompare(X.filePath)),a.length>0?(e.debug(`modified files: ${a.map(u=>u.displayFilePath).join(", ")}`),await e.restartAppServer(),await new Promise(u=>setTimeout(u,500))):e.debug("no modified files");let l={success:!0,pathname:i.localePathname||i.pathname,modifiedFiles:a,platform:e.platform()};return e.debug(`connected builder: ${l.pathname}`),l}async function H(e){let t=await e.builderPageOptions();e.debug(`validateBuilder, pathname: ${t.pathname}, localePathname: ${t.localePathname}, isValid: ${e.isValid}`);let r={isValid:e.isValid,pathname:t.localePathname||t.pathname,platform:e.platform()};if(e.isValid)return r;let o=await e.getPublicApiKey();return o.envValue?(e.debug(`public api key: ${o.envValue}, ${o.file}`),e.publicApiKey=o.envValue,(await f(e,{model:p,publicApiKey:o.envValue})).results.length===0?(e.debug("missing homepage content"),r):(e.debug("builder connection is valid"),r.isValid=!0,e.isValid=!0,r)):(e.debug("missing public api key"),r)}async function B(e,t){let r={type:t.type};switch(t.type){case"getCache":{r.data=await e.getCache();break}case"setCache":{await e.setCache(t.data);break}case"connectBuilder":{r.data=await x(e,t.data.publicApiKey,t.data.privateAuthKey);break}case"enableDevTools":{r.data=le(e,t.data.enabled);break}case"getRegistry":{r.data=await e.getRegistry(t.data);break}case"launchEditor":{r.data=await e.launchEditor(t.data);break}case"validateBuilder":{r.data=await H(e);break}case"loadComponent":{r.data=await e.loadComponent(t.data);break}case"registerComponent":{r.data=await e.registerComponent(t.data),e.serverShouldRestart=!0;break}case"setComponentInfo":{r.data=await e.setRegisteredComponentInfo(t.data),e.serverShouldRestart=!0;break}case"setComponentInput":{r.data=await e.setRegisteredComponentInput(t.data),e.serverShouldRestart=!0;break}case"unregisterComponent":{r.data=await e.unregisterComponent(t.data),e.serverShouldRestart=!0;break}case"getFrameworks":{r.data=e.getFrameworks();break}case"readdir":{w(t.path)?r.data=await e.readdir(t.path,!0):r.errors=[`Invalid file request: ${t.path}`];break}case"readFile":{w(t.path)?r.data=await e.readFile(t.path):r.errors=[`Invalid file request: ${t.path}`];break}case"writeFile":{w(t.path)?await e.writeFile(t.path,t.content):r.errors=[`Invalid file request: ${t.path}`];break}case"ensureFigmaImportPage":{r.data=await e.ensureFigmaImportPage();break}case"transileFile":{r.data=await P(e,t);break}case"transileModule":{r.data=y(e,t);break}default:{r.errors=[`Unknown request type: ${JSON.stringify(t)}`];let o=t}}return r}function w(e){if(!e||e.includes(".."))return!1;e=e.replace(/\\/g,"/");let t=e.split("/"),r=t[t.length-1];if(r.length>0){let o=r.split(".").pop();if(o&&(o=`.${o}`.toLocaleLowerCase(),o=o.split("?")[0],!ae.includes(o)))return!1}return!0}var ae=[".js",".jsx",".ts",".tsx",".json",".css",".scss",".sass",".less",".html",".htm",".xml",".svg",".png",".jpg",".jpeg",".gif",".ico",".webp",".woff",".woff2",".ttf",".eot",".mp4",".webm",".ogg",".md",".txt",".csv",".pdf"];function le(e,t){return!t&&e.serverShouldRestart&&setTimeout(()=>{console.log(`
8
8
  Restarting server after Builder Devtools update...
9
- `),e.restartAppServer()},10),e.enableAppWatch(!t),{enabled:t,platform:e.platform()}}async function H(e){return(await e.hash(e.getRootDir())).substring(0,8)}async function F(e){return K(e,`"use strict";(()=>{var lb=Object.create;var Va=Object.defineProperty;var gb=Object.getOwnPropertyDescriptor;var fb=Object.getOwnPropertyNames;var db=Object.getPrototypeOf,pb=Object.prototype.hasOwnProperty;var Wa=(o,r)=>()=>(r||o((r={exports:{}}).exports,r),r.exports),mb=(o,r)=>{for(var i in r)Va(o,i,{get:r[i],enumerable:!0})},wb=(o,r,i,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of fb(r))!pb.call(o,c)&&c!==i&&Va(o,c,{get:()=>r[c],enumerable:!(a=gb(r,c))||a.enumerable});return o};var Xn=(o,r,i)=>(i=o!=null?lb(db(o)):{},wb(r||!o||!o.__esModule?Va(i,"default",{value:o,enumerable:!0}):i,o));var ef=Wa((Jr,_i)=>{(function(o,r){"use strict";var i="0.7.33",a="",c="?",u="function",d="undefined",b="object",T="string",m="major",g="model",w="name",h="type",y="vendor",E="version",M="architecture",L="console",O="mobile",P="tablet",U="smarttv",Q="wearable",oe="embedded",Z=350,fe="Amazon",de="Apple",xe="ASUS",He="BlackBerry",Ie="Browser",ee="Chrome",Jt="Edge",nt="Firefox",ze="Google",Ze="Huawei",Lt="LG",st="Microsoft",Ve="Motorola",dt="Opera",xt="Samsung",Wt="Sharp",je="Sony",pt="Xiaomi",Gt="Zebra",ge="Facebook",Tt=function(j,ne){var Y={};for(var F in j)ne[F]&&ne[F].length%2===0?Y[F]=ne[F].concat(j[F]):Y[F]=j[F];return Y},ao=function(j){for(var ne={},Y=0;Y<j.length;Y++)ne[j[Y].toUpperCase()]=j[Y];return ne},eo=function(j,ne){return typeof j===T?Dt(ne).indexOf(Dt(j))!==-1:!1},Dt=function(j){return j.toLowerCase()},so=function(j){return typeof j===T?j.replace(/[^\\d\\.]/g,a).split(".")[0]:r},Ke=function(j,ne){if(typeof j===T)return j=j.replace(/^\\s\\s*/,a),typeof ne===d?j:j.substring(0,Z)},Je=function(j,ne){for(var Y=0,F,q,H,z,Ye,_e;Y<ne.length&&!Ye;){var ie=ne[Y],V=ne[Y+1];for(F=q=0;F<ie.length&&!Ye;)if(Ye=ie[F++].exec(j),Ye)for(H=0;H<V.length;H++)_e=Ye[++q],z=V[H],typeof z===b&&z.length>0?z.length===2?typeof z[1]==u?this[z[0]]=z[1].call(this,_e):this[z[0]]=z[1]:z.length===3?typeof z[1]===u&&!(z[1].exec&&z[1].test)?this[z[0]]=_e?z[1].call(this,_e,z[2]):r:this[z[0]]=_e?_e.replace(z[1],z[2]):r:z.length===4&&(this[z[0]]=_e?z[3].call(this,_e.replace(z[1],z[2])):r):this[z]=_e||r;Y+=2}},Ho=function(j,ne){for(var Y in ne)if(typeof ne[Y]===b&&ne[Y].length>0){for(var F=0;F<ne[Y].length;F++)if(eo(ne[Y][F],j))return Y===c?r:Y}else if(eo(ne[Y],j))return Y===c?r:Y;return j},ct={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Kt={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"},To={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[E,[w,"Chrome"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[E,[w,"Edge"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[w,E],[/opios[\\/ ]+([\\w\\.]+)/i],[E,[w,dt+" Mini"]],[/\\bopr\\/([\\w\\.]+)/i],[E,[w,dt]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[w,E],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[E,[w,"UC"+Ie]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i],[E,[w,"WeChat(Win) Desktop"]],[/micromessenger\\/([\\w\\.]+)/i],[E,[w,"WeChat"]],[/konqueror\\/([\\w\\.]+)/i],[E,[w,"Konqueror"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[E,[w,"IE"]],[/yabrowser\\/([\\w\\.]+)/i],[E,[w,"Yandex"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[w,/(.+)/,"$1 Secure "+Ie],E],[/\\bfocus\\/([\\w\\.]+)/i],[E,[w,nt+" Focus"]],[/\\bopt\\/([\\w\\.]+)/i],[E,[w,dt+" Touch"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[E,[w,"Coc Coc"]],[/dolfin\\/([\\w\\.]+)/i],[E,[w,"Dolphin"]],[/coast\\/([\\w\\.]+)/i],[E,[w,dt+" Coast"]],[/miuibrowser\\/([\\w\\.]+)/i],[E,[w,"MIUI "+Ie]],[/fxios\\/([-\\w\\.]+)/i],[E,[w,nt]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[w,"360 "+Ie]],[/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],[[w,/(.+)/,"$1 "+Ie],E],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[w,/_/g," "],E],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[w,E],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i,/\\[(linkedin)app\\]/i],[w],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[w,ge],E],[/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram)[\\/ ]([-\\w\\.]+)/i],[w,E],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[E,[w,"GSA"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[E,[w,ee+" Headless"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[w,ee+" WebView"],E],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[E,[w,"Android "+Ie]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[w,E],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[E,[w,"Mobile Safari"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[E,w],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[w,[E,Ho,ct]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[w,E],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[w,"Netscape"],E],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[E,[w,nt+" Reality"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\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|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i],[w,E],[/(cobalt)\\/([\\w\\.]+)/i],[w,[E,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[M,"amd64"]],[/(ia32(?=;))/i],[[M,Dt]],[/((?:i[346]|x)86)[;\\)]/i],[[M,"ia32"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[M,"arm64"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[M,"armhf"]],[/windows (ce|mobile); ppc;/i],[[M,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[M,/ower/,a,Dt]],[/(sun4\\w)[;\\)]/i],[[M,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[M,Dt]]],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],[g,[y,xt],[h,P]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[g,[y,xt],[h,O]],[/((ipod|iphone)\\d+,\\d+)/i],[g,[y,de],[h,O]],[/(ipad\\d+,\\d+)/i],[g,[y,de],[h,P]],[/\\((ip(?:hone|od)[\\w ]*);/i],[g,[y,de],[h,O]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[g,[y,de],[h,P]],[/(macintosh);/i],[g,[y,de]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[g,[y,Ze],[h,P]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[g,[y,Ze],[h,O]],[/\\b(poco[\\w ]+)(?: bui|\\))/i,/\\b; (\\w+) build\\/hm\\1/i,/\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,/\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[g,/_/g," "],[y,pt],[h,O]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[g,/_/g," "],[y,pt],[h,P]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[g,[y,"OPPO"],[h,O]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[g,[y,"Vivo"],[h,O]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[g,[y,"Realme"],[h,O]],[/\\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],[g,[y,Ve],[h,O]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[g,[y,Ve],[h,P]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[g,[y,Lt],[h,P]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[g,[y,Lt],[h,O]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[g,[y,"Lenovo"],[h,P]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[g,/_/g," "],[y,"Nokia"],[h,O]],[/(pixel c)\\b/i],[g,[y,ze],[h,P]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[g,[y,ze],[h,O]],[/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],[g,[y,je],[h,O]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[g,"Xperia Tablet"],[y,je],[h,P]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[g,[y,"OnePlus"],[h,O]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[g,[y,fe],[h,P]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[g,/(.+)/g,"Fire Phone $1"],[y,fe],[h,O]],[/(playbook);[-\\w\\),; ]+(rim)/i],[g,y,[h,P]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[g,[y,He],[h,O]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[g,[y,xe],[h,P]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[g,[y,xe],[h,O]],[/(nexus 9)/i],[g,[y,"HTC"],[h,P]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\\w]*)/i],[y,[g,/_/g," "],[h,O]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[g,[y,"Acer"],[h,P]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[g,[y,"Meizu"],[h,O]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[g,[y,Wt],[h,O]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[y,g,[h,O]],[/(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],[y,g,[h,P]],[/(surface duo)/i],[g,[y,st],[h,P]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[g,[y,"Fairphone"],[h,O]],[/(u304aa)/i],[g,[y,"AT&T"],[h,O]],[/\\bsie-(\\w*)/i],[g,[y,"Siemens"],[h,O]],[/\\b(rct\\w+) b/i],[g,[y,"RCA"],[h,P]],[/\\b(venue[\\d ]{2,7}) b/i],[g,[y,"Dell"],[h,P]],[/\\b(q(?:mv|ta)\\w+) b/i],[g,[y,"Verizon"],[h,P]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[g,[y,"Barnes & Noble"],[h,P]],[/\\b(tm\\d{3}\\w+) b/i],[g,[y,"NuVision"],[h,P]],[/\\b(k88) b/i],[g,[y,"ZTE"],[h,P]],[/\\b(nx\\d{3}j) b/i],[g,[y,"ZTE"],[h,O]],[/\\b(gen\\d{3}) b.+49h/i],[g,[y,"Swiss"],[h,O]],[/\\b(zur\\d{3}) b/i],[g,[y,"Swiss"],[h,P]],[/\\b((zeki)?tb.*\\b) b/i],[g,[y,"Zeki"],[h,P]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[y,"Dragon Touch"],g,[h,P]],[/\\b(ns-?\\w{0,9}) b/i],[g,[y,"Insignia"],[h,P]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[g,[y,"NextBook"],[h,P]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[y,"Voice"],g,[h,O]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[y,"LvTel"],g,[h,O]],[/\\b(ph-1) /i],[g,[y,"Essential"],[h,O]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[g,[y,"Envizen"],[h,P]],[/\\b(trio[-\\w\\. ]+) b/i],[g,[y,"MachSpeed"],[h,P]],[/\\btu_(1491) b/i],[g,[y,"Rotor"],[h,P]],[/(shield[\\w ]+) b/i],[g,[y,"Nvidia"],[h,P]],[/(sprint) (\\w+)/i],[y,g,[h,O]],[/(kin\\.[onetw]{3})/i],[[g,/\\./g," "],[y,st],[h,O]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[g,[y,Gt],[h,P]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[g,[y,Gt],[h,O]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[y,g,[h,L]],[/droid.+; (shield) bui/i],[g,[y,"Nvidia"],[h,L]],[/(playstation [345portablevi]+)/i],[g,[y,je],[h,L]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[g,[y,st],[h,L]],[/smart-tv.+(samsung)/i],[y,[h,U]],[/hbbtv.+maple;(\\d+)/i],[[g,/^/,"SmartTV"],[y,xt],[h,U]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[y,Lt],[h,U]],[/(apple) ?tv/i],[y,[g,de+" TV"],[h,U]],[/crkey/i],[[g,ee+"cast"],[y,ze],[h,U]],[/droid.+aft(\\w)( bui|\\))/i],[g,[y,fe],[h,U]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[g,[y,Wt],[h,U]],[/(bravia[\\w ]+)( bui|\\))/i],[g,[y,je],[h,U]],[/(mitv-\\w{5}) bui/i],[g,[y,pt],[h,U]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w ]*; *(\\w[^;]*);([^;]*)/i],[[y,Ke],[g,Ke],[h,U]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[h,U]],[/((pebble))app/i],[y,g,[h,Q]],[/droid.+; (glass) \\d/i],[g,[y,ze],[h,Q]],[/droid.+; (wt63?0{2,3})\\)/i],[g,[y,Gt],[h,Q]],[/(quest( 2)?)/i],[g,[y,ge],[h,Q]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[y,[h,oe]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[g,[h,O]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[g,[h,P]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[h,P]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[h,O]],[/(android[-\\w\\. ]{0,9});.+buil/i],[g,[y,"Generic"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[E,[w,Jt+"HTML"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[E,[w,"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],[w,E],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[E,w]],os:[[/microsoft (windows) (vista|xp)/i],[w,E],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[w,[E,Ho,Kt]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[w,"Windows"],[E,Ho,Kt]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/cfnetwork\\/.+darwin/i],[[E,/_/g,"."],[w,"iOS"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[w,"Mac OS"],[E,/_/g,"."]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[E,w],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[w,E],[/\\(bb(10);/i],[E,[w,He]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[E,[w,"Symbian"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[E,[w,nt+" OS"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[E,[w,"webOS"]],[/crkey\\/([\\d\\.]+)/i],[E,[w,ee+"cast"]],[/(cros) [\\w]+ ([\\w\\.]+\\w)/i],[[w,"Chromium OS"],E],[/(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],[w,E],[/(sunos) ?([\\w\\.\\d]*)/i],[[w,"Solaris"],E],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\\w\\.]*)/i],[w,E]]},Le=function(j,ne){if(typeof j===b&&(ne=j,j=r),!(this instanceof Le))return new Le(j,ne).getResult();var Y=j||(typeof o!==d&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:a),F=ne?Tt(To,ne):To;return this.getBrowser=function(){var q={};return q[w]=r,q[E]=r,Je.call(q,Y,F.browser),q.major=so(q.version),q},this.getCPU=function(){var q={};return q[M]=r,Je.call(q,Y,F.cpu),q},this.getDevice=function(){var q={};return q[y]=r,q[g]=r,q[h]=r,Je.call(q,Y,F.device),q},this.getEngine=function(){var q={};return q[w]=r,q[E]=r,Je.call(q,Y,F.engine),q},this.getOS=function(){var q={};return q[w]=r,q[E]=r,Je.call(q,Y,F.os),q},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 Y},this.setUA=function(q){return Y=typeof q===T&&q.length>Z?Ke(q,Z):q,this},this.setUA(Y),this};Le.VERSION=i,Le.BROWSER=ao([w,E,m]),Le.CPU=ao([M]),Le.DEVICE=ao([g,y,h,L,O,U,P,Q,oe]),Le.ENGINE=Le.OS=ao([w,E]),typeof Jr!==d?(typeof _i!==d&&_i.exports&&(Jr=_i.exports=Le),Jr.UAParser=Le):typeof define===u&&define.amd?define(function(){return Le}):typeof o!==d&&(o.UAParser=Le);var De=typeof o!==d&&(o.jQuery||o.Zepto);if(De&&!De.ua){var St=new Le;De.ua=St.getResult(),De.ua.get=function(){return St.getUA()},De.ua.set=function(j){St.setUA(j);var ne=St.getResult();for(var Y in ne)De.ua[Y]=ne[Y]}}})(typeof window=="object"?window:Jr)});var nc=Wa((Or,en)=>{(function(){var o,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="Invalid \`variable\` option passed into \`_.template\`",d="__lodash_hash_undefined__",b=500,T="__lodash_placeholder__",m=1,g=2,w=4,h=1,y=2,E=1,M=2,L=4,O=8,P=16,U=32,Q=64,oe=128,Z=256,fe=512,de=30,xe="...",He=800,Ie=16,ee=1,Jt=2,nt=3,ze=1/0,Ze=9007199254740991,Lt=17976931348623157e292,st=0/0,Ve=4294967295,dt=Ve-1,xt=Ve>>>1,Wt=[["ary",oe],["bind",E],["bindKey",M],["curry",O],["curryRight",P],["flip",fe],["partial",U],["partialRight",Q],["rearg",Z]],je="[object Arguments]",pt="[object Array]",Gt="[object AsyncFunction]",ge="[object Boolean]",Tt="[object Date]",ao="[object DOMException]",eo="[object Error]",Dt="[object Function]",so="[object GeneratorFunction]",Ke="[object Map]",Je="[object Number]",Ho="[object Null]",ct="[object Object]",Kt="[object Promise]",To="[object Proxy]",Le="[object RegExp]",De="[object Set]",St="[object String]",j="[object Symbol]",ne="[object Undefined]",Y="[object WeakMap]",F="[object WeakSet]",q="[object ArrayBuffer]",H="[object DataView]",z="[object Float32Array]",Ye="[object Float64Array]",_e="[object Int8Array]",ie="[object Int16Array]",V="[object Int32Array]",mt="[object Uint8Array]",Vo="[object Uint8ClampedArray]",cr="[object Uint16Array]",Ai="[object Uint32Array]",Af=/\\b__p \\+= '';/g,Cf=/\\b(__p \\+=) '' \\+/g,Lf=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,mc=/&(?:amp|lt|gt|quot|#39);/g,wc=/[&<>"']/g,Df=RegExp(mc.source),Mf=RegExp(wc.source),qf=/<%-([\\s\\S]+?)%>/g,Uf=/<%([\\s\\S]+?)%>/g,hc=/<%=([\\s\\S]+?)%>/g,Nf=/\\.|\\[(?:[^[\\]]*|(["'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Bf=/^\\w*$/,Ff=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,Ci=/[\\\\^$.*+?()[\\]{}|]/g,zf=RegExp(Ci.source),Li=/^\\s+/,jf=/\\s/,Hf=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Vf=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,Wf=/,? & /,Gf=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,Kf=/[()=,{}\\[\\]\\/\\s]/,Yf=/\\\\(\\\\)?/g,$f=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,vc=/\\w*$/,Xf=/^[-+]0x[0-9a-f]+$/i,Qf=/^0b[01]+$/i,Zf=/^\\[object .+?Constructor\\]$/,Jf=/^0o[0-7]+$/i,ed=/^(?:0|[1-9]\\d*)$/,td=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,cn=/($^)/,od=/['\\n\\r\\u2028\\u2029\\\\]/g,un="\\\\ud800-\\\\udfff",rd="\\\\u0300-\\\\u036f",nd="\\\\ufe20-\\\\ufe2f",id="\\\\u20d0-\\\\u20ff",yc=rd+nd+id,bc="\\\\u2700-\\\\u27bf",_c="a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff",ad="\\\\xac\\\\xb1\\\\xd7\\\\xf7",sd="\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf",cd="\\\\u2000-\\\\u206f",ud=" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000",Ec="A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde",xc="\\\\ufe0e\\\\ufe0f",Tc=ad+sd+cd+ud,Di="['\\u2019]",ld="["+un+"]",Sc="["+Tc+"]",ln="["+yc+"]",Ic="\\\\d+",gd="["+bc+"]",Oc="["+_c+"]",kc="[^"+un+Tc+Ic+bc+_c+Ec+"]",Mi="\\\\ud83c[\\\\udffb-\\\\udfff]",fd="(?:"+ln+"|"+Mi+")",Pc="[^"+un+"]",qi="(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}",Ui="[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]",ur="["+Ec+"]",Rc="\\\\u200d",Ac="(?:"+Oc+"|"+kc+")",dd="(?:"+ur+"|"+kc+")",Cc="(?:"+Di+"(?:d|ll|m|re|s|t|ve))?",Lc="(?:"+Di+"(?:D|LL|M|RE|S|T|VE))?",Dc=fd+"?",Mc="["+xc+"]?",pd="(?:"+Rc+"(?:"+[Pc,qi,Ui].join("|")+")"+Mc+Dc+")*",md="\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])",wd="\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])",qc=Mc+Dc+pd,hd="(?:"+[gd,qi,Ui].join("|")+")"+qc,vd="(?:"+[Pc+ln+"?",ln,qi,Ui,ld].join("|")+")",yd=RegExp(Di,"g"),bd=RegExp(ln,"g"),Ni=RegExp(Mi+"(?="+Mi+")|"+vd+qc,"g"),_d=RegExp([ur+"?"+Oc+"+"+Cc+"(?="+[Sc,ur,"$"].join("|")+")",dd+"+"+Lc+"(?="+[Sc,ur+Ac,"$"].join("|")+")",ur+"?"+Ac+"+"+Cc,ur+"+"+Lc,wd,md,Ic,hd].join("|"),"g"),Ed=RegExp("["+Rc+un+yc+xc+"]"),xd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Td=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Sd=-1,Ee={};Ee[z]=Ee[Ye]=Ee[_e]=Ee[ie]=Ee[V]=Ee[mt]=Ee[Vo]=Ee[cr]=Ee[Ai]=!0,Ee[je]=Ee[pt]=Ee[q]=Ee[ge]=Ee[H]=Ee[Tt]=Ee[eo]=Ee[Dt]=Ee[Ke]=Ee[Je]=Ee[ct]=Ee[Le]=Ee[De]=Ee[St]=Ee[Y]=!1;var be={};be[je]=be[pt]=be[q]=be[H]=be[ge]=be[Tt]=be[z]=be[Ye]=be[_e]=be[ie]=be[V]=be[Ke]=be[Je]=be[ct]=be[Le]=be[De]=be[St]=be[j]=be[mt]=be[Vo]=be[cr]=be[Ai]=!0,be[eo]=be[Dt]=be[Y]=!1;var Id={\\u00C0:"A",\\u00C1:"A",\\u00C2:"A",\\u00C3:"A",\\u00C4:"A",\\u00C5:"A",\\u00E0:"a",\\u00E1:"a",\\u00E2:"a",\\u00E3:"a",\\u00E4:"a",\\u00E5:"a",\\u00C7:"C",\\u00E7:"c",\\u00D0:"D",\\u00F0:"d",\\u00C8:"E",\\u00C9:"E",\\u00CA:"E",\\u00CB:"E",\\u00E8:"e",\\u00E9:"e",\\u00EA:"e",\\u00EB:"e",\\u00CC:"I",\\u00CD:"I",\\u00CE:"I",\\u00CF:"I",\\u00EC:"i",\\u00ED:"i",\\u00EE:"i",\\u00EF:"i",\\u00D1:"N",\\u00F1:"n",\\u00D2:"O",\\u00D3:"O",\\u00D4:"O",\\u00D5:"O",\\u00D6:"O",\\u00D8:"O",\\u00F2:"o",\\u00F3:"o",\\u00F4:"o",\\u00F5:"o",\\u00F6:"o",\\u00F8:"o",\\u00D9:"U",\\u00DA:"U",\\u00DB:"U",\\u00DC:"U",\\u00F9:"u",\\u00FA:"u",\\u00FB:"u",\\u00FC:"u",\\u00DD:"Y",\\u00FD:"y",\\u00FF:"y",\\u00C6:"Ae",\\u00E6:"ae",\\u00DE:"Th",\\u00FE:"th",\\u00DF:"ss",\\u0100:"A",\\u0102:"A",\\u0104:"A",\\u0101:"a",\\u0103:"a",\\u0105:"a",\\u0106:"C",\\u0108:"C",\\u010A:"C",\\u010C:"C",\\u0107:"c",\\u0109:"c",\\u010B:"c",\\u010D:"c",\\u010E:"D",\\u0110:"D",\\u010F:"d",\\u0111:"d",\\u0112:"E",\\u0114:"E",\\u0116:"E",\\u0118:"E",\\u011A:"E",\\u0113:"e",\\u0115:"e",\\u0117:"e",\\u0119:"e",\\u011B:"e",\\u011C:"G",\\u011E:"G",\\u0120:"G",\\u0122:"G",\\u011D:"g",\\u011F:"g",\\u0121:"g",\\u0123:"g",\\u0124:"H",\\u0126:"H",\\u0125:"h",\\u0127:"h",\\u0128:"I",\\u012A:"I",\\u012C:"I",\\u012E:"I",\\u0130:"I",\\u0129:"i",\\u012B:"i",\\u012D:"i",\\u012F:"i",\\u0131:"i",\\u0134:"J",\\u0135:"j",\\u0136:"K",\\u0137:"k",\\u0138:"k",\\u0139:"L",\\u013B:"L",\\u013D:"L",\\u013F:"L",\\u0141:"L",\\u013A:"l",\\u013C:"l",\\u013E:"l",\\u0140:"l",\\u0142:"l",\\u0143:"N",\\u0145:"N",\\u0147:"N",\\u014A:"N",\\u0144:"n",\\u0146:"n",\\u0148:"n",\\u014B:"n",\\u014C:"O",\\u014E:"O",\\u0150:"O",\\u014D:"o",\\u014F:"o",\\u0151:"o",\\u0154:"R",\\u0156:"R",\\u0158:"R",\\u0155:"r",\\u0157:"r",\\u0159:"r",\\u015A:"S",\\u015C:"S",\\u015E:"S",\\u0160:"S",\\u015B:"s",\\u015D:"s",\\u015F:"s",\\u0161:"s",\\u0162:"T",\\u0164:"T",\\u0166:"T",\\u0163:"t",\\u0165:"t",\\u0167:"t",\\u0168:"U",\\u016A:"U",\\u016C:"U",\\u016E:"U",\\u0170:"U",\\u0172:"U",\\u0169:"u",\\u016B:"u",\\u016D:"u",\\u016F:"u",\\u0171:"u",\\u0173:"u",\\u0174:"W",\\u0175:"w",\\u0176:"Y",\\u0177:"y",\\u0178:"Y",\\u0179:"Z",\\u017B:"Z",\\u017D:"Z",\\u017A:"z",\\u017C:"z",\\u017E:"z",\\u0132:"IJ",\\u0133:"ij",\\u0152:"Oe",\\u0153:"oe",\\u0149:"'n",\\u017F:"s"},Od={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},kd={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Pd={"\\\\":"\\\\","'":"'","\\n":"n","\\r":"r","\\u2028":"u2028","\\u2029":"u2029"},Rd=parseFloat,Ad=parseInt,Uc=typeof global=="object"&&global&&global.Object===Object&&global,Cd=typeof self=="object"&&self&&self.Object===Object&&self,$e=Uc||Cd||Function("return this")(),Bi=typeof Or=="object"&&Or&&!Or.nodeType&&Or,Wo=Bi&&typeof en=="object"&&en&&!en.nodeType&&en,Nc=Wo&&Wo.exports===Bi,Fi=Nc&&Uc.process,Mt=function(){try{var x=Wo&&Wo.require&&Wo.require("util").types;return x||Fi&&Fi.binding&&Fi.binding("util")}catch{}}(),Bc=Mt&&Mt.isArrayBuffer,Fc=Mt&&Mt.isDate,zc=Mt&&Mt.isMap,jc=Mt&&Mt.isRegExp,Hc=Mt&&Mt.isSet,Vc=Mt&&Mt.isTypedArray;function It(x,k,I){switch(I.length){case 0:return x.call(k);case 1:return x.call(k,I[0]);case 2:return x.call(k,I[0],I[1]);case 3:return x.call(k,I[0],I[1],I[2])}return x.apply(k,I)}function Ld(x,k,I,N){for(var $=-1,pe=x==null?0:x.length;++$<pe;){var We=x[$];k(N,We,I(We),x)}return N}function qt(x,k){for(var I=-1,N=x==null?0:x.length;++I<N&&k(x[I],I,x)!==!1;);return x}function Dd(x,k){for(var I=x==null?0:x.length;I--&&k(x[I],I,x)!==!1;);return x}function Wc(x,k){for(var I=-1,N=x==null?0:x.length;++I<N;)if(!k(x[I],I,x))return!1;return!0}function So(x,k){for(var I=-1,N=x==null?0:x.length,$=0,pe=[];++I<N;){var We=x[I];k(We,I,x)&&(pe[$++]=We)}return pe}function gn(x,k){var I=x==null?0:x.length;return!!I&&lr(x,k,0)>-1}function zi(x,k,I){for(var N=-1,$=x==null?0:x.length;++N<$;)if(I(k,x[N]))return!0;return!1}function Te(x,k){for(var I=-1,N=x==null?0:x.length,$=Array(N);++I<N;)$[I]=k(x[I],I,x);return $}function Io(x,k){for(var I=-1,N=k.length,$=x.length;++I<N;)x[$+I]=k[I];return x}function ji(x,k,I,N){var $=-1,pe=x==null?0:x.length;for(N&&pe&&(I=x[++$]);++$<pe;)I=k(I,x[$],$,x);return I}function Md(x,k,I,N){var $=x==null?0:x.length;for(N&&$&&(I=x[--$]);$--;)I=k(I,x[$],$,x);return I}function Hi(x,k){for(var I=-1,N=x==null?0:x.length;++I<N;)if(k(x[I],I,x))return!0;return!1}var qd=Vi("length");function Ud(x){return x.split("")}function Nd(x){return x.match(Gf)||[]}function Gc(x,k,I){var N;return I(x,function($,pe,We){if(k($,pe,We))return N=pe,!1}),N}function fn(x,k,I,N){for(var $=x.length,pe=I+(N?1:-1);N?pe--:++pe<$;)if(k(x[pe],pe,x))return pe;return-1}function lr(x,k,I){return k===k?Xd(x,k,I):fn(x,Kc,I)}function Bd(x,k,I,N){for(var $=I-1,pe=x.length;++$<pe;)if(N(x[$],k))return $;return-1}function Kc(x){return x!==x}function Yc(x,k){var I=x==null?0:x.length;return I?Gi(x,k)/I:st}function Vi(x){return function(k){return k==null?o:k[x]}}function Wi(x){return function(k){return x==null?o:x[k]}}function $c(x,k,I,N,$){return $(x,function(pe,We,ye){I=N?(N=!1,pe):k(I,pe,We,ye)}),I}function Fd(x,k){var I=x.length;for(x.sort(k);I--;)x[I]=x[I].value;return x}function Gi(x,k){for(var I,N=-1,$=x.length;++N<$;){var pe=k(x[N]);pe!==o&&(I=I===o?pe:I+pe)}return I}function Ki(x,k){for(var I=-1,N=Array(x);++I<x;)N[I]=k(I);return N}function zd(x,k){return Te(k,function(I){return[I,x[I]]})}function Xc(x){return x&&x.slice(0,eu(x)+1).replace(Li,"")}function Ot(x){return function(k){return x(k)}}function Yi(x,k){return Te(k,function(I){return x[I]})}function Rr(x,k){return x.has(k)}function Qc(x,k){for(var I=-1,N=x.length;++I<N&&lr(k,x[I],0)>-1;);return I}function Zc(x,k){for(var I=x.length;I--&&lr(k,x[I],0)>-1;);return I}function jd(x,k){for(var I=x.length,N=0;I--;)x[I]===k&&++N;return N}var Hd=Wi(Id),Vd=Wi(Od);function Wd(x){return"\\\\"+Pd[x]}function Gd(x,k){return x==null?o:x[k]}function gr(x){return Ed.test(x)}function Kd(x){return xd.test(x)}function Yd(x){for(var k,I=[];!(k=x.next()).done;)I.push(k.value);return I}function $i(x){var k=-1,I=Array(x.size);return x.forEach(function(N,$){I[++k]=[$,N]}),I}function Jc(x,k){return function(I){return x(k(I))}}function Oo(x,k){for(var I=-1,N=x.length,$=0,pe=[];++I<N;){var We=x[I];(We===k||We===T)&&(x[I]=T,pe[$++]=I)}return pe}function dn(x){var k=-1,I=Array(x.size);return x.forEach(function(N){I[++k]=N}),I}function $d(x){var k=-1,I=Array(x.size);return x.forEach(function(N){I[++k]=[N,N]}),I}function Xd(x,k,I){for(var N=I-1,$=x.length;++N<$;)if(x[N]===k)return N;return-1}function Qd(x,k,I){for(var N=I+1;N--;)if(x[N]===k)return N;return N}function fr(x){return gr(x)?Jd(x):qd(x)}function Yt(x){return gr(x)?ep(x):Ud(x)}function eu(x){for(var k=x.length;k--&&jf.test(x.charAt(k)););return k}var Zd=Wi(kd);function Jd(x){for(var k=Ni.lastIndex=0;Ni.test(x);)++k;return k}function ep(x){return x.match(Ni)||[]}function tp(x){return x.match(_d)||[]}var op=function x(k){k=k==null?$e:ko.defaults($e.Object(),k,ko.pick($e,Td));var I=k.Array,N=k.Date,$=k.Error,pe=k.Function,We=k.Math,ye=k.Object,Xi=k.RegExp,rp=k.String,Ut=k.TypeError,pn=I.prototype,np=pe.prototype,dr=ye.prototype,mn=k["__core-js_shared__"],wn=np.toString,we=dr.hasOwnProperty,ip=0,tu=function(){var e=/[^.]+$/.exec(mn&&mn.keys&&mn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),hn=dr.toString,ap=wn.call(ye),sp=$e._,cp=Xi("^"+wn.call(we).replace(Ci,"\\\\$&").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,"$1.*?")+"$"),vn=Nc?k.Buffer:o,Po=k.Symbol,yn=k.Uint8Array,ou=vn?vn.allocUnsafe:o,bn=Jc(ye.getPrototypeOf,ye),ru=ye.create,nu=dr.propertyIsEnumerable,_n=pn.splice,iu=Po?Po.isConcatSpreadable:o,Ar=Po?Po.iterator:o,Go=Po?Po.toStringTag:o,En=function(){try{var e=Qo(ye,"defineProperty");return e({},"",{}),e}catch{}}(),up=k.clearTimeout!==$e.clearTimeout&&k.clearTimeout,lp=N&&N.now!==$e.Date.now&&N.now,gp=k.setTimeout!==$e.setTimeout&&k.setTimeout,xn=We.ceil,Tn=We.floor,Qi=ye.getOwnPropertySymbols,fp=vn?vn.isBuffer:o,au=k.isFinite,dp=pn.join,pp=Jc(ye.keys,ye),Ge=We.max,it=We.min,mp=N.now,wp=k.parseInt,su=We.random,hp=pn.reverse,Zi=Qo(k,"DataView"),Cr=Qo(k,"Map"),Ji=Qo(k,"Promise"),pr=Qo(k,"Set"),Lr=Qo(k,"WeakMap"),Dr=Qo(ye,"create"),Sn=Lr&&new Lr,mr={},vp=Zo(Zi),yp=Zo(Cr),bp=Zo(Ji),_p=Zo(pr),Ep=Zo(Lr),In=Po?Po.prototype:o,Mr=In?In.valueOf:o,cu=In?In.toString:o;function f(e){if(Pe(e)&&!X(e)&&!(e instanceof se)){if(e instanceof Nt)return e;if(we.call(e,"__wrapped__"))return ul(e)}return new Nt(e)}var wr=function(){function e(){}return function(t){if(!Oe(t))return{};if(ru)return ru(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function On(){}function Nt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}f.templateSettings={escape:qf,evaluate:Uf,interpolate:hc,variable:"",imports:{_:f}},f.prototype=On.prototype,f.prototype.constructor=f,Nt.prototype=wr(On.prototype),Nt.prototype.constructor=Nt;function se(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ve,this.__views__=[]}function xp(){var e=new se(this.__wrapped__);return e.__actions__=wt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=wt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=wt(this.__views__),e}function Tp(){if(this.__filtered__){var e=new se(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Sp(){var e=this.__wrapped__.value(),t=this.__dir__,n=X(e),s=t<0,l=n?e.length:0,p=Um(0,l,this.__views__),v=p.start,_=p.end,S=_-v,R=s?_:v-1,A=this.__iteratees__,C=A.length,D=0,B=it(S,this.__takeCount__);if(!n||!s&&l==S&&B==S)return Cu(e,this.__actions__);var G=[];e:for(;S--&&D<B;){R+=t;for(var te=-1,K=e[R];++te<C;){var ae=A[te],ce=ae.iteratee,Rt=ae.type,gt=ce(K);if(Rt==Jt)K=gt;else if(!gt){if(Rt==ee)continue e;break e}}G[D++]=K}return G}se.prototype=wr(On.prototype),se.prototype.constructor=se;function Ko(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function Ip(){this.__data__=Dr?Dr(null):{},this.size=0}function Op(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function kp(e){var t=this.__data__;if(Dr){var n=t[e];return n===d?o:n}return we.call(t,e)?t[e]:o}function Pp(e){var t=this.__data__;return Dr?t[e]!==o:we.call(t,e)}function Rp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Dr&&t===o?d:t,this}Ko.prototype.clear=Ip,Ko.prototype.delete=Op,Ko.prototype.get=kp,Ko.prototype.has=Pp,Ko.prototype.set=Rp;function co(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function Ap(){this.__data__=[],this.size=0}function Cp(e){var t=this.__data__,n=kn(t,e);if(n<0)return!1;var s=t.length-1;return n==s?t.pop():_n.call(t,n,1),--this.size,!0}function Lp(e){var t=this.__data__,n=kn(t,e);return n<0?o:t[n][1]}function Dp(e){return kn(this.__data__,e)>-1}function Mp(e,t){var n=this.__data__,s=kn(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}co.prototype.clear=Ap,co.prototype.delete=Cp,co.prototype.get=Lp,co.prototype.has=Dp,co.prototype.set=Mp;function uo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function qp(){this.size=0,this.__data__={hash:new Ko,map:new(Cr||co),string:new Ko}}function Up(e){var t=Fn(this,e).delete(e);return this.size-=t?1:0,t}function Np(e){return Fn(this,e).get(e)}function Bp(e){return Fn(this,e).has(e)}function Fp(e,t){var n=Fn(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}uo.prototype.clear=qp,uo.prototype.delete=Up,uo.prototype.get=Np,uo.prototype.has=Bp,uo.prototype.set=Fp;function Yo(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new uo;++t<n;)this.add(e[t])}function zp(e){return this.__data__.set(e,d),this}function jp(e){return this.__data__.has(e)}Yo.prototype.add=Yo.prototype.push=zp,Yo.prototype.has=jp;function $t(e){var t=this.__data__=new co(e);this.size=t.size}function Hp(){this.__data__=new co,this.size=0}function Vp(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Wp(e){return this.__data__.get(e)}function Gp(e){return this.__data__.has(e)}function Kp(e,t){var n=this.__data__;if(n instanceof co){var s=n.__data__;if(!Cr||s.length<i-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new uo(s)}return n.set(e,t),this.size=n.size,this}$t.prototype.clear=Hp,$t.prototype.delete=Vp,$t.prototype.get=Wp,$t.prototype.has=Gp,$t.prototype.set=Kp;function uu(e,t){var n=X(e),s=!n&&Jo(e),l=!n&&!s&&Do(e),p=!n&&!s&&!l&&br(e),v=n||s||l||p,_=v?Ki(e.length,rp):[],S=_.length;for(var R in e)(t||we.call(e,R))&&!(v&&(R=="length"||l&&(R=="offset"||R=="parent")||p&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||po(R,S)))&&_.push(R);return _}function lu(e){var t=e.length;return t?e[la(0,t-1)]:o}function Yp(e,t){return zn(wt(e),$o(t,0,e.length))}function $p(e){return zn(wt(e))}function ea(e,t,n){(n!==o&&!Xt(e[t],n)||n===o&&!(t in e))&&lo(e,t,n)}function qr(e,t,n){var s=e[t];(!(we.call(e,t)&&Xt(s,n))||n===o&&!(t in e))&&lo(e,t,n)}function kn(e,t){for(var n=e.length;n--;)if(Xt(e[n][0],t))return n;return-1}function Xp(e,t,n,s){return Ro(e,function(l,p,v){t(s,l,n(l),v)}),s}function gu(e,t){return e&&oo(t,Xe(t),e)}function Qp(e,t){return e&&oo(t,vt(t),e)}function lo(e,t,n){t=="__proto__"&&En?En(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ta(e,t){for(var n=-1,s=t.length,l=I(s),p=e==null;++n<s;)l[n]=p?o:Ma(e,t[n]);return l}function $o(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function Bt(e,t,n,s,l,p){var v,_=t&m,S=t&g,R=t&w;if(n&&(v=l?n(e,s,l,p):n(e)),v!==o)return v;if(!Oe(e))return e;var A=X(e);if(A){if(v=Bm(e),!_)return wt(e,v)}else{var C=at(e),D=C==Dt||C==so;if(Do(e))return Mu(e,_);if(C==ct||C==je||D&&!l){if(v=S||D?{}:el(e),!_)return S?km(e,Qp(v,e)):Om(e,gu(v,e))}else{if(!be[C])return l?e:{};v=Fm(e,C,_)}}p||(p=new $t);var B=p.get(e);if(B)return B;p.set(e,v),Pl(e)?e.forEach(function(K){v.add(Bt(K,t,n,K,e,p))}):Ol(e)&&e.forEach(function(K,ae){v.set(ae,Bt(K,t,n,ae,e,p))});var G=R?S?_a:ba:S?vt:Xe,te=A?o:G(e);return qt(te||e,function(K,ae){te&&(ae=K,K=e[ae]),qr(v,ae,Bt(K,t,n,ae,e,p))}),v}function Zp(e){var t=Xe(e);return function(n){return fu(n,e,t)}}function fu(e,t,n){var s=n.length;if(e==null)return!s;for(e=ye(e);s--;){var l=n[s],p=t[l],v=e[l];if(v===o&&!(l in e)||!p(v))return!1}return!0}function du(e,t,n){if(typeof e!="function")throw new Ut(c);return Hr(function(){e.apply(o,n)},t)}function Ur(e,t,n,s){var l=-1,p=gn,v=!0,_=e.length,S=[],R=t.length;if(!_)return S;n&&(t=Te(t,Ot(n))),s?(p=zi,v=!1):t.length>=i&&(p=Rr,v=!1,t=new Yo(t));e:for(;++l<_;){var A=e[l],C=n==null?A:n(A);if(A=s||A!==0?A:0,v&&C===C){for(var D=R;D--;)if(t[D]===C)continue e;S.push(A)}else p(t,C,s)||S.push(A)}return S}var Ro=Fu(to),pu=Fu(ra,!0);function Jp(e,t){var n=!0;return Ro(e,function(s,l,p){return n=!!t(s,l,p),n}),n}function Pn(e,t,n){for(var s=-1,l=e.length;++s<l;){var p=e[s],v=t(p);if(v!=null&&(_===o?v===v&&!Pt(v):n(v,_)))var _=v,S=p}return S}function em(e,t,n,s){var l=e.length;for(n=J(n),n<0&&(n=-n>l?0:l+n),s=s===o||s>l?l:J(s),s<0&&(s+=l),s=n>s?0:Al(s);n<s;)e[n++]=t;return e}function mu(e,t){var n=[];return Ro(e,function(s,l,p){t(s,l,p)&&n.push(s)}),n}function et(e,t,n,s,l){var p=-1,v=e.length;for(n||(n=jm),l||(l=[]);++p<v;){var _=e[p];t>0&&n(_)?t>1?et(_,t-1,n,s,l):Io(l,_):s||(l[l.length]=_)}return l}var oa=zu(),wu=zu(!0);function to(e,t){return e&&oa(e,t,Xe)}function ra(e,t){return e&&wu(e,t,Xe)}function Rn(e,t){return So(t,function(n){return mo(e[n])})}function Xo(e,t){t=Co(t,e);for(var n=0,s=t.length;e!=null&&n<s;)e=e[ro(t[n++])];return n&&n==s?e:o}function hu(e,t,n){var s=t(e);return X(e)?s:Io(s,n(e))}function ut(e){return e==null?e===o?ne:Ho:Go&&Go in ye(e)?qm(e):$m(e)}function na(e,t){return e>t}function tm(e,t){return e!=null&&we.call(e,t)}function om(e,t){return e!=null&&t in ye(e)}function rm(e,t,n){return e>=it(t,n)&&e<Ge(t,n)}function ia(e,t,n){for(var s=n?zi:gn,l=e[0].length,p=e.length,v=p,_=I(p),S=1/0,R=[];v--;){var A=e[v];v&&t&&(A=Te(A,Ot(t))),S=it(A.length,S),_[v]=!n&&(t||l>=120&&A.length>=120)?new Yo(v&&A):o}A=e[0];var C=-1,D=_[0];e:for(;++C<l&&R.length<S;){var B=A[C],G=t?t(B):B;if(B=n||B!==0?B:0,!(D?Rr(D,G):s(R,G,n))){for(v=p;--v;){var te=_[v];if(!(te?Rr(te,G):s(e[v],G,n)))continue e}D&&D.push(G),R.push(B)}}return R}function nm(e,t,n,s){return to(e,function(l,p,v){t(s,n(l),p,v)}),s}function Nr(e,t,n){t=Co(t,e),e=nl(e,t);var s=e==null?e:e[ro(zt(t))];return s==null?o:It(s,e,n)}function vu(e){return Pe(e)&&ut(e)==je}function im(e){return Pe(e)&&ut(e)==q}function am(e){return Pe(e)&&ut(e)==Tt}function Br(e,t,n,s,l){return e===t?!0:e==null||t==null||!Pe(e)&&!Pe(t)?e!==e&&t!==t:sm(e,t,n,s,Br,l)}function sm(e,t,n,s,l,p){var v=X(e),_=X(t),S=v?pt:at(e),R=_?pt:at(t);S=S==je?ct:S,R=R==je?ct:R;var A=S==ct,C=R==ct,D=S==R;if(D&&Do(e)){if(!Do(t))return!1;v=!0,A=!1}if(D&&!A)return p||(p=new $t),v||br(e)?Qu(e,t,n,s,l,p):Dm(e,t,S,n,s,l,p);if(!(n&h)){var B=A&&we.call(e,"__wrapped__"),G=C&&we.call(t,"__wrapped__");if(B||G){var te=B?e.value():e,K=G?t.value():t;return p||(p=new $t),l(te,K,n,s,p)}}return D?(p||(p=new $t),Mm(e,t,n,s,l,p)):!1}function cm(e){return Pe(e)&&at(e)==Ke}function aa(e,t,n,s){var l=n.length,p=l,v=!s;if(e==null)return!p;for(e=ye(e);l--;){var _=n[l];if(v&&_[2]?_[1]!==e[_[0]]:!(_[0]in e))return!1}for(;++l<p;){_=n[l];var S=_[0],R=e[S],A=_[1];if(v&&_[2]){if(R===o&&!(S in e))return!1}else{var C=new $t;if(s)var D=s(R,A,S,e,t,C);if(!(D===o?Br(A,R,h|y,s,C):D))return!1}}return!0}function yu(e){if(!Oe(e)||Vm(e))return!1;var t=mo(e)?cp:Zf;return t.test(Zo(e))}function um(e){return Pe(e)&&ut(e)==Le}function lm(e){return Pe(e)&&at(e)==De}function gm(e){return Pe(e)&&Kn(e.length)&&!!Ee[ut(e)]}function bu(e){return typeof e=="function"?e:e==null?yt:typeof e=="object"?X(e)?xu(e[0],e[1]):Eu(e):jl(e)}function sa(e){if(!jr(e))return pp(e);var t=[];for(var n in ye(e))we.call(e,n)&&n!="constructor"&&t.push(n);return t}function fm(e){if(!Oe(e))return Ym(e);var t=jr(e),n=[];for(var s in e)s=="constructor"&&(t||!we.call(e,s))||n.push(s);return n}function ca(e,t){return e<t}function _u(e,t){var n=-1,s=ht(e)?I(e.length):[];return Ro(e,function(l,p,v){s[++n]=t(l,p,v)}),s}function Eu(e){var t=xa(e);return t.length==1&&t[0][2]?ol(t[0][0],t[0][1]):function(n){return n===e||aa(n,e,t)}}function xu(e,t){return Sa(e)&&tl(t)?ol(ro(e),t):function(n){var s=Ma(n,e);return s===o&&s===t?qa(n,e):Br(t,s,h|y)}}function An(e,t,n,s,l){e!==t&&oa(t,function(p,v){if(l||(l=new $t),Oe(p))dm(e,t,v,n,An,s,l);else{var _=s?s(Oa(e,v),p,v+"",e,t,l):o;_===o&&(_=p),ea(e,v,_)}},vt)}function dm(e,t,n,s,l,p,v){var _=Oa(e,n),S=Oa(t,n),R=v.get(S);if(R){ea(e,n,R);return}var A=p?p(_,S,n+"",e,t,v):o,C=A===o;if(C){var D=X(S),B=!D&&Do(S),G=!D&&!B&&br(S);A=S,D||B||G?X(_)?A=_:Me(_)?A=wt(_):B?(C=!1,A=Mu(S,!0)):G?(C=!1,A=qu(S,!0)):A=[]:Vr(S)||Jo(S)?(A=_,Jo(_)?A=Cl(_):(!Oe(_)||mo(_))&&(A=el(S))):C=!1}C&&(v.set(S,A),l(A,S,s,p,v),v.delete(S)),ea(e,n,A)}function Tu(e,t){var n=e.length;if(n)return t+=t<0?n:0,po(t,n)?e[t]:o}function Su(e,t,n){t.length?t=Te(t,function(p){return X(p)?function(v){return Xo(v,p.length===1?p[0]:p)}:p}):t=[yt];var s=-1;t=Te(t,Ot(W()));var l=_u(e,function(p,v,_){var S=Te(t,function(R){return R(p)});return{criteria:S,index:++s,value:p}});return Fd(l,function(p,v){return Im(p,v,n)})}function pm(e,t){return Iu(e,t,function(n,s){return qa(e,s)})}function Iu(e,t,n){for(var s=-1,l=t.length,p={};++s<l;){var v=t[s],_=Xo(e,v);n(_,v)&&Fr(p,Co(v,e),_)}return p}function mm(e){return function(t){return Xo(t,e)}}function ua(e,t,n,s){var l=s?Bd:lr,p=-1,v=t.length,_=e;for(e===t&&(t=wt(t)),n&&(_=Te(e,Ot(n)));++p<v;)for(var S=0,R=t[p],A=n?n(R):R;(S=l(_,A,S,s))>-1;)_!==e&&_n.call(_,S,1),_n.call(e,S,1);return e}function Ou(e,t){for(var n=e?t.length:0,s=n-1;n--;){var l=t[n];if(n==s||l!==p){var p=l;po(l)?_n.call(e,l,1):da(e,l)}}return e}function la(e,t){return e+Tn(su()*(t-e+1))}function wm(e,t,n,s){for(var l=-1,p=Ge(xn((t-e)/(n||1)),0),v=I(p);p--;)v[s?p:++l]=e,e+=n;return v}function ga(e,t){var n="";if(!e||t<1||t>Ze)return n;do t%2&&(n+=e),t=Tn(t/2),t&&(e+=e);while(t);return n}function re(e,t){return ka(rl(e,t,yt),e+"")}function hm(e){return lu(_r(e))}function vm(e,t){var n=_r(e);return zn(n,$o(t,0,n.length))}function Fr(e,t,n,s){if(!Oe(e))return e;t=Co(t,e);for(var l=-1,p=t.length,v=p-1,_=e;_!=null&&++l<p;){var S=ro(t[l]),R=n;if(S==="__proto__"||S==="constructor"||S==="prototype")return e;if(l!=v){var A=_[S];R=s?s(A,S,_):o,R===o&&(R=Oe(A)?A:po(t[l+1])?[]:{})}qr(_,S,R),_=_[S]}return e}var ku=Sn?function(e,t){return Sn.set(e,t),e}:yt,ym=En?function(e,t){return En(e,"toString",{configurable:!0,enumerable:!1,value:Na(t),writable:!0})}:yt;function bm(e){return zn(_r(e))}function Ft(e,t,n){var s=-1,l=e.length;t<0&&(t=-t>l?0:l+t),n=n>l?l:n,n<0&&(n+=l),l=t>n?0:n-t>>>0,t>>>=0;for(var p=I(l);++s<l;)p[s]=e[s+t];return p}function _m(e,t){var n;return Ro(e,function(s,l,p){return n=t(s,l,p),!n}),!!n}function Cn(e,t,n){var s=0,l=e==null?s:e.length;if(typeof t=="number"&&t===t&&l<=xt){for(;s<l;){var p=s+l>>>1,v=e[p];v!==null&&!Pt(v)&&(n?v<=t:v<t)?s=p+1:l=p}return l}return fa(e,t,yt,n)}function fa(e,t,n,s){var l=0,p=e==null?0:e.length;if(p===0)return 0;t=n(t);for(var v=t!==t,_=t===null,S=Pt(t),R=t===o;l<p;){var A=Tn((l+p)/2),C=n(e[A]),D=C!==o,B=C===null,G=C===C,te=Pt(C);if(v)var K=s||G;else R?K=G&&(s||D):_?K=G&&D&&(s||!B):S?K=G&&D&&!B&&(s||!te):B||te?K=!1:K=s?C<=t:C<t;K?l=A+1:p=A}return it(p,dt)}function Pu(e,t){for(var n=-1,s=e.length,l=0,p=[];++n<s;){var v=e[n],_=t?t(v):v;if(!n||!Xt(_,S)){var S=_;p[l++]=v===0?0:v}}return p}function Ru(e){return typeof e=="number"?e:Pt(e)?st:+e}function kt(e){if(typeof e=="string")return e;if(X(e))return Te(e,kt)+"";if(Pt(e))return cu?cu.call(e):"";var t=e+"";return t=="0"&&1/e==-ze?"-0":t}function Ao(e,t,n){var s=-1,l=gn,p=e.length,v=!0,_=[],S=_;if(n)v=!1,l=zi;else if(p>=i){var R=t?null:Cm(e);if(R)return dn(R);v=!1,l=Rr,S=new Yo}else S=t?[]:_;e:for(;++s<p;){var A=e[s],C=t?t(A):A;if(A=n||A!==0?A:0,v&&C===C){for(var D=S.length;D--;)if(S[D]===C)continue e;t&&S.push(C),_.push(A)}else l(S,C,n)||(S!==_&&S.push(C),_.push(A))}return _}function da(e,t){return t=Co(t,e),e=nl(e,t),e==null||delete e[ro(zt(t))]}function Au(e,t,n,s){return Fr(e,t,n(Xo(e,t)),s)}function Ln(e,t,n,s){for(var l=e.length,p=s?l:-1;(s?p--:++p<l)&&t(e[p],p,e););return n?Ft(e,s?0:p,s?p+1:l):Ft(e,s?p+1:0,s?l:p)}function Cu(e,t){var n=e;return n instanceof se&&(n=n.value()),ji(t,function(s,l){return l.func.apply(l.thisArg,Io([s],l.args))},n)}function pa(e,t,n){var s=e.length;if(s<2)return s?Ao(e[0]):[];for(var l=-1,p=I(s);++l<s;)for(var v=e[l],_=-1;++_<s;)_!=l&&(p[l]=Ur(p[l]||v,e[_],t,n));return Ao(et(p,1),t,n)}function Lu(e,t,n){for(var s=-1,l=e.length,p=t.length,v={};++s<l;){var _=s<p?t[s]:o;n(v,e[s],_)}return v}function ma(e){return Me(e)?e:[]}function wa(e){return typeof e=="function"?e:yt}function Co(e,t){return X(e)?e:Sa(e,t)?[e]:cl(me(e))}var Em=re;function Lo(e,t,n){var s=e.length;return n=n===o?s:n,!t&&n>=s?e:Ft(e,t,n)}var Du=up||function(e){return $e.clearTimeout(e)};function Mu(e,t){if(t)return e.slice();var n=e.length,s=ou?ou(n):new e.constructor(n);return e.copy(s),s}function ha(e){var t=new e.constructor(e.byteLength);return new yn(t).set(new yn(e)),t}function xm(e,t){var n=t?ha(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Tm(e){var t=new e.constructor(e.source,vc.exec(e));return t.lastIndex=e.lastIndex,t}function Sm(e){return Mr?ye(Mr.call(e)):{}}function qu(e,t){var n=t?ha(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Uu(e,t){if(e!==t){var n=e!==o,s=e===null,l=e===e,p=Pt(e),v=t!==o,_=t===null,S=t===t,R=Pt(t);if(!_&&!R&&!p&&e>t||p&&v&&S&&!_&&!R||s&&v&&S||!n&&S||!l)return 1;if(!s&&!p&&!R&&e<t||R&&n&&l&&!s&&!p||_&&n&&l||!v&&l||!S)return-1}return 0}function Im(e,t,n){for(var s=-1,l=e.criteria,p=t.criteria,v=l.length,_=n.length;++s<v;){var S=Uu(l[s],p[s]);if(S){if(s>=_)return S;var R=n[s];return S*(R=="desc"?-1:1)}}return e.index-t.index}function Nu(e,t,n,s){for(var l=-1,p=e.length,v=n.length,_=-1,S=t.length,R=Ge(p-v,0),A=I(S+R),C=!s;++_<S;)A[_]=t[_];for(;++l<v;)(C||l<p)&&(A[n[l]]=e[l]);for(;R--;)A[_++]=e[l++];return A}function Bu(e,t,n,s){for(var l=-1,p=e.length,v=-1,_=n.length,S=-1,R=t.length,A=Ge(p-_,0),C=I(A+R),D=!s;++l<A;)C[l]=e[l];for(var B=l;++S<R;)C[B+S]=t[S];for(;++v<_;)(D||l<p)&&(C[B+n[v]]=e[l++]);return C}function wt(e,t){var n=-1,s=e.length;for(t||(t=I(s));++n<s;)t[n]=e[n];return t}function oo(e,t,n,s){var l=!n;n||(n={});for(var p=-1,v=t.length;++p<v;){var _=t[p],S=s?s(n[_],e[_],_,n,e):o;S===o&&(S=e[_]),l?lo(n,_,S):qr(n,_,S)}return n}function Om(e,t){return oo(e,Ta(e),t)}function km(e,t){return oo(e,Zu(e),t)}function Dn(e,t){return function(n,s){var l=X(n)?Ld:Xp,p=t?t():{};return l(n,e,W(s,2),p)}}function hr(e){return re(function(t,n){var s=-1,l=n.length,p=l>1?n[l-1]:o,v=l>2?n[2]:o;for(p=e.length>3&&typeof p=="function"?(l--,p):o,v&&lt(n[0],n[1],v)&&(p=l<3?o:p,l=1),t=ye(t);++s<l;){var _=n[s];_&&e(t,_,s,p)}return t})}function Fu(e,t){return function(n,s){if(n==null)return n;if(!ht(n))return e(n,s);for(var l=n.length,p=t?l:-1,v=ye(n);(t?p--:++p<l)&&s(v[p],p,v)!==!1;);return n}}function zu(e){return function(t,n,s){for(var l=-1,p=ye(t),v=s(t),_=v.length;_--;){var S=v[e?_:++l];if(n(p[S],S,p)===!1)break}return t}}function Pm(e,t,n){var s=t&E,l=zr(e);function p(){var v=this&&this!==$e&&this instanceof p?l:e;return v.apply(s?n:this,arguments)}return p}function ju(e){return function(t){t=me(t);var n=gr(t)?Yt(t):o,s=n?n[0]:t.charAt(0),l=n?Lo(n,1).join(""):t.slice(1);return s[e]()+l}}function vr(e){return function(t){return ji(Fl(Bl(t).replace(yd,"")),e,"")}}function zr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=wr(e.prototype),s=e.apply(n,t);return Oe(s)?s:n}}function Rm(e,t,n){var s=zr(e);function l(){for(var p=arguments.length,v=I(p),_=p,S=yr(l);_--;)v[_]=arguments[_];var R=p<3&&v[0]!==S&&v[p-1]!==S?[]:Oo(v,S);if(p-=R.length,p<n)return Ku(e,t,Mn,l.placeholder,o,v,R,o,o,n-p);var A=this&&this!==$e&&this instanceof l?s:e;return It(A,this,v)}return l}function Hu(e){return function(t,n,s){var l=ye(t);if(!ht(t)){var p=W(n,3);t=Xe(t),n=function(_){return p(l[_],_,l)}}var v=e(t,n,s);return v>-1?l[p?t[v]:v]:o}}function Vu(e){return fo(function(t){var n=t.length,s=n,l=Nt.prototype.thru;for(e&&t.reverse();s--;){var p=t[s];if(typeof p!="function")throw new Ut(c);if(l&&!v&&Bn(p)=="wrapper")var v=new Nt([],!0)}for(s=v?s:n;++s<n;){p=t[s];var _=Bn(p),S=_=="wrapper"?Ea(p):o;S&&Ia(S[0])&&S[1]==(oe|O|U|Z)&&!S[4].length&&S[9]==1?v=v[Bn(S[0])].apply(v,S[3]):v=p.length==1&&Ia(p)?v[_]():v.thru(p)}return function(){var R=arguments,A=R[0];if(v&&R.length==1&&X(A))return v.plant(A).value();for(var C=0,D=n?t[C].apply(this,R):A;++C<n;)D=t[C].call(this,D);return D}})}function Mn(e,t,n,s,l,p,v,_,S,R){var A=t&oe,C=t&E,D=t&M,B=t&(O|P),G=t&fe,te=D?o:zr(e);function K(){for(var ae=arguments.length,ce=I(ae),Rt=ae;Rt--;)ce[Rt]=arguments[Rt];if(B)var gt=yr(K),At=jd(ce,gt);if(s&&(ce=Nu(ce,s,l,B)),p&&(ce=Bu(ce,p,v,B)),ae-=At,B&&ae<R){var qe=Oo(ce,gt);return Ku(e,t,Mn,K.placeholder,n,ce,qe,_,S,R-ae)}var Qt=C?n:this,ho=D?Qt[e]:e;return ae=ce.length,_?ce=Xm(ce,_):G&&ae>1&&ce.reverse(),A&&S<ae&&(ce.length=S),this&&this!==$e&&this instanceof K&&(ho=te||zr(ho)),ho.apply(Qt,ce)}return K}function Wu(e,t){return function(n,s){return nm(n,e,t(s),{})}}function qn(e,t){return function(n,s){var l;if(n===o&&s===o)return t;if(n!==o&&(l=n),s!==o){if(l===o)return s;typeof n=="string"||typeof s=="string"?(n=kt(n),s=kt(s)):(n=Ru(n),s=Ru(s)),l=e(n,s)}return l}}function va(e){return fo(function(t){return t=Te(t,Ot(W())),re(function(n){var s=this;return e(t,function(l){return It(l,s,n)})})})}function Un(e,t){t=t===o?" ":kt(t);var n=t.length;if(n<2)return n?ga(t,e):t;var s=ga(t,xn(e/fr(t)));return gr(t)?Lo(Yt(s),0,e).join(""):s.slice(0,e)}function Am(e,t,n,s){var l=t&E,p=zr(e);function v(){for(var _=-1,S=arguments.length,R=-1,A=s.length,C=I(A+S),D=this&&this!==$e&&this instanceof v?p:e;++R<A;)C[R]=s[R];for(;S--;)C[R++]=arguments[++_];return It(D,l?n:this,C)}return v}function Gu(e){return function(t,n,s){return s&&typeof s!="number"&&lt(t,n,s)&&(n=s=o),t=wo(t),n===o?(n=t,t=0):n=wo(n),s=s===o?t<n?1:-1:wo(s),wm(t,n,s,e)}}function Nn(e){return function(t,n){return typeof t=="string"&&typeof n=="string"||(t=jt(t),n=jt(n)),e(t,n)}}function Ku(e,t,n,s,l,p,v,_,S,R){var A=t&O,C=A?v:o,D=A?o:v,B=A?p:o,G=A?o:p;t|=A?U:Q,t&=~(A?Q:U),t&L||(t&=~(E|M));var te=[e,t,l,B,C,G,D,_,S,R],K=n.apply(o,te);return Ia(e)&&il(K,te),K.placeholder=s,al(K,e,t)}function ya(e){var t=We[e];return function(n,s){if(n=jt(n),s=s==null?0:it(J(s),292),s&&au(n)){var l=(me(n)+"e").split("e"),p=t(l[0]+"e"+(+l[1]+s));return l=(me(p)+"e").split("e"),+(l[0]+"e"+(+l[1]-s))}return t(n)}}var Cm=pr&&1/dn(new pr([,-0]))[1]==ze?function(e){return new pr(e)}:za;function Yu(e){return function(t){var n=at(t);return n==Ke?$i(t):n==De?$d(t):zd(t,e(t))}}function go(e,t,n,s,l,p,v,_){var S=t&M;if(!S&&typeof e!="function")throw new Ut(c);var R=s?s.length:0;if(R||(t&=~(U|Q),s=l=o),v=v===o?v:Ge(J(v),0),_=_===o?_:J(_),R-=l?l.length:0,t&Q){var A=s,C=l;s=l=o}var D=S?o:Ea(e),B=[e,t,n,s,l,A,C,p,v,_];if(D&&Km(B,D),e=B[0],t=B[1],n=B[2],s=B[3],l=B[4],_=B[9]=B[9]===o?S?0:e.length:Ge(B[9]-R,0),!_&&t&(O|P)&&(t&=~(O|P)),!t||t==E)var G=Pm(e,t,n);else t==O||t==P?G=Rm(e,t,_):(t==U||t==(E|U))&&!l.length?G=Am(e,t,n,s):G=Mn.apply(o,B);var te=D?ku:il;return al(te(G,B),e,t)}function $u(e,t,n,s){return e===o||Xt(e,dr[n])&&!we.call(s,n)?t:e}function Xu(e,t,n,s,l,p){return Oe(e)&&Oe(t)&&(p.set(t,e),An(e,t,o,Xu,p),p.delete(t)),e}function Lm(e){return Vr(e)?o:e}function Qu(e,t,n,s,l,p){var v=n&h,_=e.length,S=t.length;if(_!=S&&!(v&&S>_))return!1;var R=p.get(e),A=p.get(t);if(R&&A)return R==t&&A==e;var C=-1,D=!0,B=n&y?new Yo:o;for(p.set(e,t),p.set(t,e);++C<_;){var G=e[C],te=t[C];if(s)var K=v?s(te,G,C,t,e,p):s(G,te,C,e,t,p);if(K!==o){if(K)continue;D=!1;break}if(B){if(!Hi(t,function(ae,ce){if(!Rr(B,ce)&&(G===ae||l(G,ae,n,s,p)))return B.push(ce)})){D=!1;break}}else if(!(G===te||l(G,te,n,s,p))){D=!1;break}}return p.delete(e),p.delete(t),D}function Dm(e,t,n,s,l,p,v){switch(n){case H:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case q:return!(e.byteLength!=t.byteLength||!p(new yn(e),new yn(t)));case ge:case Tt:case Je:return Xt(+e,+t);case eo:return e.name==t.name&&e.message==t.message;case Le:case St:return e==t+"";case Ke:var _=$i;case De:var S=s&h;if(_||(_=dn),e.size!=t.size&&!S)return!1;var R=v.get(e);if(R)return R==t;s|=y,v.set(e,t);var A=Qu(_(e),_(t),s,l,p,v);return v.delete(e),A;case j:if(Mr)return Mr.call(e)==Mr.call(t)}return!1}function Mm(e,t,n,s,l,p){var v=n&h,_=ba(e),S=_.length,R=ba(t),A=R.length;if(S!=A&&!v)return!1;for(var C=S;C--;){var D=_[C];if(!(v?D in t:we.call(t,D)))return!1}var B=p.get(e),G=p.get(t);if(B&&G)return B==t&&G==e;var te=!0;p.set(e,t),p.set(t,e);for(var K=v;++C<S;){D=_[C];var ae=e[D],ce=t[D];if(s)var Rt=v?s(ce,ae,D,t,e,p):s(ae,ce,D,e,t,p);if(!(Rt===o?ae===ce||l(ae,ce,n,s,p):Rt)){te=!1;break}K||(K=D=="constructor")}if(te&&!K){var gt=e.constructor,At=t.constructor;gt!=At&&"constructor"in e&&"constructor"in t&&!(typeof gt=="function"&&gt instanceof gt&&typeof At=="function"&&At instanceof At)&&(te=!1)}return p.delete(e),p.delete(t),te}function fo(e){return ka(rl(e,o,fl),e+"")}function ba(e){return hu(e,Xe,Ta)}function _a(e){return hu(e,vt,Zu)}var Ea=Sn?function(e){return Sn.get(e)}:za;function Bn(e){for(var t=e.name+"",n=mr[t],s=we.call(mr,t)?n.length:0;s--;){var l=n[s],p=l.func;if(p==null||p==e)return l.name}return t}function yr(e){var t=we.call(f,"placeholder")?f:e;return t.placeholder}function W(){var e=f.iteratee||Ba;return e=e===Ba?bu:e,arguments.length?e(arguments[0],arguments[1]):e}function Fn(e,t){var n=e.__data__;return Hm(t)?n[typeof t=="string"?"string":"hash"]:n.map}function xa(e){for(var t=Xe(e),n=t.length;n--;){var s=t[n],l=e[s];t[n]=[s,l,tl(l)]}return t}function Qo(e,t){var n=Gd(e,t);return yu(n)?n:o}function qm(e){var t=we.call(e,Go),n=e[Go];try{e[Go]=o;var s=!0}catch{}var l=hn.call(e);return s&&(t?e[Go]=n:delete e[Go]),l}var Ta=Qi?function(e){return e==null?[]:(e=ye(e),So(Qi(e),function(t){return nu.call(e,t)}))}:ja,Zu=Qi?function(e){for(var t=[];e;)Io(t,Ta(e)),e=bn(e);return t}:ja,at=ut;(Zi&&at(new Zi(new ArrayBuffer(1)))!=H||Cr&&at(new Cr)!=Ke||Ji&&at(Ji.resolve())!=Kt||pr&&at(new pr)!=De||Lr&&at(new Lr)!=Y)&&(at=function(e){var t=ut(e),n=t==ct?e.constructor:o,s=n?Zo(n):"";if(s)switch(s){case vp:return H;case yp:return Ke;case bp:return Kt;case _p:return De;case Ep:return Y}return t});function Um(e,t,n){for(var s=-1,l=n.length;++s<l;){var p=n[s],v=p.size;switch(p.type){case"drop":e+=v;break;case"dropRight":t-=v;break;case"take":t=it(t,e+v);break;case"takeRight":e=Ge(e,t-v);break}}return{start:e,end:t}}function Nm(e){var t=e.match(Vf);return t?t[1].split(Wf):[]}function Ju(e,t,n){t=Co(t,e);for(var s=-1,l=t.length,p=!1;++s<l;){var v=ro(t[s]);if(!(p=e!=null&&n(e,v)))break;e=e[v]}return p||++s!=l?p:(l=e==null?0:e.length,!!l&&Kn(l)&&po(v,l)&&(X(e)||Jo(e)))}function Bm(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&we.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function el(e){return typeof e.constructor=="function"&&!jr(e)?wr(bn(e)):{}}function Fm(e,t,n){var s=e.constructor;switch(t){case q:return ha(e);case ge:case Tt:return new s(+e);case H:return xm(e,n);case z:case Ye:case _e:case ie:case V:case mt:case Vo:case cr:case Ai:return qu(e,n);case Ke:return new s;case Je:case St:return new s(e);case Le:return Tm(e);case De:return new s;case j:return Sm(e)}}function zm(e,t){var n=t.length;if(!n)return e;var s=n-1;return t[s]=(n>1?"& ":"")+t[s],t=t.join(n>2?", ":" "),e.replace(Hf,\`{
9
+ `),e.restartAppServer()},10),e.enableAppWatch(!t),{enabled:t,platform:e.platform()}}async function V(e){return j(e,`"use strict";(()=>{var lb=Object.create;var Va=Object.defineProperty;var gb=Object.getOwnPropertyDescriptor;var fb=Object.getOwnPropertyNames;var db=Object.getPrototypeOf,pb=Object.prototype.hasOwnProperty;var Wa=(o,r)=>()=>(r||o((r={exports:{}}).exports,r),r.exports),mb=(o,r)=>{for(var i in r)Va(o,i,{get:r[i],enumerable:!0})},wb=(o,r,i,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of fb(r))!pb.call(o,c)&&c!==i&&Va(o,c,{get:()=>r[c],enumerable:!(a=gb(r,c))||a.enumerable});return o};var Xn=(o,r,i)=>(i=o!=null?lb(db(o)):{},wb(r||!o||!o.__esModule?Va(i,"default",{value:o,enumerable:!0}):i,o));var ef=Wa((Jr,_i)=>{(function(o,r){"use strict";var i="0.7.33",a="",c="?",u="function",d="undefined",b="object",T="string",m="major",g="model",w="name",h="type",y="vendor",E="version",M="architecture",L="console",O="mobile",P="tablet",U="smarttv",Q="wearable",oe="embedded",Z=350,fe="Amazon",de="Apple",xe="ASUS",He="BlackBerry",Ie="Browser",ee="Chrome",Jt="Edge",nt="Firefox",ze="Google",Je="Huawei",Lt="LG",st="Microsoft",Ve="Motorola",dt="Opera",xt="Samsung",Wt="Sharp",je="Sony",pt="Xiaomi",Gt="Zebra",ge="Facebook",Tt=function(j,ne){var Y={};for(var F in j)ne[F]&&ne[F].length%2===0?Y[F]=ne[F].concat(j[F]):Y[F]=j[F];return Y},ao=function(j){for(var ne={},Y=0;Y<j.length;Y++)ne[j[Y].toUpperCase()]=j[Y];return ne},eo=function(j,ne){return typeof j===T?Dt(ne).indexOf(Dt(j))!==-1:!1},Dt=function(j){return j.toLowerCase()},so=function(j){return typeof j===T?j.replace(/[^\\d\\.]/g,a).split(".")[0]:r},Ye=function(j,ne){if(typeof j===T)return j=j.replace(/^\\s\\s*/,a),typeof ne===d?j:j.substring(0,Z)},et=function(j,ne){for(var Y=0,F,q,H,z,$e,_e;Y<ne.length&&!$e;){var ie=ne[Y],V=ne[Y+1];for(F=q=0;F<ie.length&&!$e;)if($e=ie[F++].exec(j),$e)for(H=0;H<V.length;H++)_e=$e[++q],z=V[H],typeof z===b&&z.length>0?z.length===2?typeof z[1]==u?this[z[0]]=z[1].call(this,_e):this[z[0]]=z[1]:z.length===3?typeof z[1]===u&&!(z[1].exec&&z[1].test)?this[z[0]]=_e?z[1].call(this,_e,z[2]):r:this[z[0]]=_e?_e.replace(z[1],z[2]):r:z.length===4&&(this[z[0]]=_e?z[3].call(this,_e.replace(z[1],z[2])):r):this[z]=_e||r;Y+=2}},Ho=function(j,ne){for(var Y in ne)if(typeof ne[Y]===b&&ne[Y].length>0){for(var F=0;F<ne[Y].length;F++)if(eo(ne[Y][F],j))return Y===c?r:Y}else if(eo(ne[Y],j))return Y===c?r:Y;return j},ct={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Kt={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"},To={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[E,[w,"Chrome"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[E,[w,"Edge"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[w,E],[/opios[\\/ ]+([\\w\\.]+)/i],[E,[w,dt+" Mini"]],[/\\bopr\\/([\\w\\.]+)/i],[E,[w,dt]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[w,E],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[E,[w,"UC"+Ie]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i],[E,[w,"WeChat(Win) Desktop"]],[/micromessenger\\/([\\w\\.]+)/i],[E,[w,"WeChat"]],[/konqueror\\/([\\w\\.]+)/i],[E,[w,"Konqueror"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[E,[w,"IE"]],[/yabrowser\\/([\\w\\.]+)/i],[E,[w,"Yandex"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[w,/(.+)/,"$1 Secure "+Ie],E],[/\\bfocus\\/([\\w\\.]+)/i],[E,[w,nt+" Focus"]],[/\\bopt\\/([\\w\\.]+)/i],[E,[w,dt+" Touch"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[E,[w,"Coc Coc"]],[/dolfin\\/([\\w\\.]+)/i],[E,[w,"Dolphin"]],[/coast\\/([\\w\\.]+)/i],[E,[w,dt+" Coast"]],[/miuibrowser\\/([\\w\\.]+)/i],[E,[w,"MIUI "+Ie]],[/fxios\\/([-\\w\\.]+)/i],[E,[w,nt]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[w,"360 "+Ie]],[/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],[[w,/(.+)/,"$1 "+Ie],E],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[w,/_/g," "],E],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[w,E],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i,/\\[(linkedin)app\\]/i],[w],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[w,ge],E],[/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram)[\\/ ]([-\\w\\.]+)/i],[w,E],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[E,[w,"GSA"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[E,[w,ee+" Headless"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[w,ee+" WebView"],E],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[E,[w,"Android "+Ie]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[w,E],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[E,[w,"Mobile Safari"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[E,w],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[w,[E,Ho,ct]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[w,E],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[w,"Netscape"],E],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[E,[w,nt+" Reality"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\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|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i],[w,E],[/(cobalt)\\/([\\w\\.]+)/i],[w,[E,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[M,"amd64"]],[/(ia32(?=;))/i],[[M,Dt]],[/((?:i[346]|x)86)[;\\)]/i],[[M,"ia32"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[M,"arm64"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[M,"armhf"]],[/windows (ce|mobile); ppc;/i],[[M,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[M,/ower/,a,Dt]],[/(sun4\\w)[;\\)]/i],[[M,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[M,Dt]]],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],[g,[y,xt],[h,P]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[g,[y,xt],[h,O]],[/((ipod|iphone)\\d+,\\d+)/i],[g,[y,de],[h,O]],[/(ipad\\d+,\\d+)/i],[g,[y,de],[h,P]],[/\\((ip(?:hone|od)[\\w ]*);/i],[g,[y,de],[h,O]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[g,[y,de],[h,P]],[/(macintosh);/i],[g,[y,de]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[g,[y,Je],[h,P]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[g,[y,Je],[h,O]],[/\\b(poco[\\w ]+)(?: bui|\\))/i,/\\b; (\\w+) build\\/hm\\1/i,/\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,/\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[g,/_/g," "],[y,pt],[h,O]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[g,/_/g," "],[y,pt],[h,P]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[g,[y,"OPPO"],[h,O]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[g,[y,"Vivo"],[h,O]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[g,[y,"Realme"],[h,O]],[/\\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],[g,[y,Ve],[h,O]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[g,[y,Ve],[h,P]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[g,[y,Lt],[h,P]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[g,[y,Lt],[h,O]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[g,[y,"Lenovo"],[h,P]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[g,/_/g," "],[y,"Nokia"],[h,O]],[/(pixel c)\\b/i],[g,[y,ze],[h,P]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[g,[y,ze],[h,O]],[/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],[g,[y,je],[h,O]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[g,"Xperia Tablet"],[y,je],[h,P]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[g,[y,"OnePlus"],[h,O]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[g,[y,fe],[h,P]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[g,/(.+)/g,"Fire Phone $1"],[y,fe],[h,O]],[/(playbook);[-\\w\\),; ]+(rim)/i],[g,y,[h,P]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[g,[y,He],[h,O]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[g,[y,xe],[h,P]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[g,[y,xe],[h,O]],[/(nexus 9)/i],[g,[y,"HTC"],[h,P]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\\w]*)/i],[y,[g,/_/g," "],[h,O]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[g,[y,"Acer"],[h,P]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[g,[y,"Meizu"],[h,O]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[g,[y,Wt],[h,O]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[y,g,[h,O]],[/(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],[y,g,[h,P]],[/(surface duo)/i],[g,[y,st],[h,P]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[g,[y,"Fairphone"],[h,O]],[/(u304aa)/i],[g,[y,"AT&T"],[h,O]],[/\\bsie-(\\w*)/i],[g,[y,"Siemens"],[h,O]],[/\\b(rct\\w+) b/i],[g,[y,"RCA"],[h,P]],[/\\b(venue[\\d ]{2,7}) b/i],[g,[y,"Dell"],[h,P]],[/\\b(q(?:mv|ta)\\w+) b/i],[g,[y,"Verizon"],[h,P]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[g,[y,"Barnes & Noble"],[h,P]],[/\\b(tm\\d{3}\\w+) b/i],[g,[y,"NuVision"],[h,P]],[/\\b(k88) b/i],[g,[y,"ZTE"],[h,P]],[/\\b(nx\\d{3}j) b/i],[g,[y,"ZTE"],[h,O]],[/\\b(gen\\d{3}) b.+49h/i],[g,[y,"Swiss"],[h,O]],[/\\b(zur\\d{3}) b/i],[g,[y,"Swiss"],[h,P]],[/\\b((zeki)?tb.*\\b) b/i],[g,[y,"Zeki"],[h,P]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[y,"Dragon Touch"],g,[h,P]],[/\\b(ns-?\\w{0,9}) b/i],[g,[y,"Insignia"],[h,P]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[g,[y,"NextBook"],[h,P]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[y,"Voice"],g,[h,O]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[y,"LvTel"],g,[h,O]],[/\\b(ph-1) /i],[g,[y,"Essential"],[h,O]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[g,[y,"Envizen"],[h,P]],[/\\b(trio[-\\w\\. ]+) b/i],[g,[y,"MachSpeed"],[h,P]],[/\\btu_(1491) b/i],[g,[y,"Rotor"],[h,P]],[/(shield[\\w ]+) b/i],[g,[y,"Nvidia"],[h,P]],[/(sprint) (\\w+)/i],[y,g,[h,O]],[/(kin\\.[onetw]{3})/i],[[g,/\\./g," "],[y,st],[h,O]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[g,[y,Gt],[h,P]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[g,[y,Gt],[h,O]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[y,g,[h,L]],[/droid.+; (shield) bui/i],[g,[y,"Nvidia"],[h,L]],[/(playstation [345portablevi]+)/i],[g,[y,je],[h,L]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[g,[y,st],[h,L]],[/smart-tv.+(samsung)/i],[y,[h,U]],[/hbbtv.+maple;(\\d+)/i],[[g,/^/,"SmartTV"],[y,xt],[h,U]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[y,Lt],[h,U]],[/(apple) ?tv/i],[y,[g,de+" TV"],[h,U]],[/crkey/i],[[g,ee+"cast"],[y,ze],[h,U]],[/droid.+aft(\\w)( bui|\\))/i],[g,[y,fe],[h,U]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[g,[y,Wt],[h,U]],[/(bravia[\\w ]+)( bui|\\))/i],[g,[y,je],[h,U]],[/(mitv-\\w{5}) bui/i],[g,[y,pt],[h,U]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w ]*; *(\\w[^;]*);([^;]*)/i],[[y,Ye],[g,Ye],[h,U]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[h,U]],[/((pebble))app/i],[y,g,[h,Q]],[/droid.+; (glass) \\d/i],[g,[y,ze],[h,Q]],[/droid.+; (wt63?0{2,3})\\)/i],[g,[y,Gt],[h,Q]],[/(quest( 2)?)/i],[g,[y,ge],[h,Q]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[y,[h,oe]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[g,[h,O]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[g,[h,P]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[h,P]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[h,O]],[/(android[-\\w\\. ]{0,9});.+buil/i],[g,[y,"Generic"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[E,[w,Jt+"HTML"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[E,[w,"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],[w,E],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[E,w]],os:[[/microsoft (windows) (vista|xp)/i],[w,E],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[w,[E,Ho,Kt]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[w,"Windows"],[E,Ho,Kt]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/cfnetwork\\/.+darwin/i],[[E,/_/g,"."],[w,"iOS"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[w,"Mac OS"],[E,/_/g,"."]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[E,w],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[w,E],[/\\(bb(10);/i],[E,[w,He]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[E,[w,"Symbian"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[E,[w,nt+" OS"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[E,[w,"webOS"]],[/crkey\\/([\\d\\.]+)/i],[E,[w,ee+"cast"]],[/(cros) [\\w]+ ([\\w\\.]+\\w)/i],[[w,"Chromium OS"],E],[/(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],[w,E],[/(sunos) ?([\\w\\.\\d]*)/i],[[w,"Solaris"],E],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\\w\\.]*)/i],[w,E]]},Le=function(j,ne){if(typeof j===b&&(ne=j,j=r),!(this instanceof Le))return new Le(j,ne).getResult();var Y=j||(typeof o!==d&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:a),F=ne?Tt(To,ne):To;return this.getBrowser=function(){var q={};return q[w]=r,q[E]=r,et.call(q,Y,F.browser),q.major=so(q.version),q},this.getCPU=function(){var q={};return q[M]=r,et.call(q,Y,F.cpu),q},this.getDevice=function(){var q={};return q[y]=r,q[g]=r,q[h]=r,et.call(q,Y,F.device),q},this.getEngine=function(){var q={};return q[w]=r,q[E]=r,et.call(q,Y,F.engine),q},this.getOS=function(){var q={};return q[w]=r,q[E]=r,et.call(q,Y,F.os),q},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 Y},this.setUA=function(q){return Y=typeof q===T&&q.length>Z?Ye(q,Z):q,this},this.setUA(Y),this};Le.VERSION=i,Le.BROWSER=ao([w,E,m]),Le.CPU=ao([M]),Le.DEVICE=ao([g,y,h,L,O,U,P,Q,oe]),Le.ENGINE=Le.OS=ao([w,E]),typeof Jr!==d?(typeof _i!==d&&_i.exports&&(Jr=_i.exports=Le),Jr.UAParser=Le):typeof define===u&&define.amd?define(function(){return Le}):typeof o!==d&&(o.UAParser=Le);var De=typeof o!==d&&(o.jQuery||o.Zepto);if(De&&!De.ua){var St=new Le;De.ua=St.getResult(),De.ua.get=function(){return St.getUA()},De.ua.set=function(j){St.setUA(j);var ne=St.getResult();for(var Y in ne)De.ua[Y]=ne[Y]}}})(typeof window=="object"?window:Jr)});var nc=Wa((Or,en)=>{(function(){var o,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="Invalid \`variable\` option passed into \`_.template\`",d="__lodash_hash_undefined__",b=500,T="__lodash_placeholder__",m=1,g=2,w=4,h=1,y=2,E=1,M=2,L=4,O=8,P=16,U=32,Q=64,oe=128,Z=256,fe=512,de=30,xe="...",He=800,Ie=16,ee=1,Jt=2,nt=3,ze=1/0,Je=9007199254740991,Lt=17976931348623157e292,st=0/0,Ve=4294967295,dt=Ve-1,xt=Ve>>>1,Wt=[["ary",oe],["bind",E],["bindKey",M],["curry",O],["curryRight",P],["flip",fe],["partial",U],["partialRight",Q],["rearg",Z]],je="[object Arguments]",pt="[object Array]",Gt="[object AsyncFunction]",ge="[object Boolean]",Tt="[object Date]",ao="[object DOMException]",eo="[object Error]",Dt="[object Function]",so="[object GeneratorFunction]",Ye="[object Map]",et="[object Number]",Ho="[object Null]",ct="[object Object]",Kt="[object Promise]",To="[object Proxy]",Le="[object RegExp]",De="[object Set]",St="[object String]",j="[object Symbol]",ne="[object Undefined]",Y="[object WeakMap]",F="[object WeakSet]",q="[object ArrayBuffer]",H="[object DataView]",z="[object Float32Array]",$e="[object Float64Array]",_e="[object Int8Array]",ie="[object Int16Array]",V="[object Int32Array]",mt="[object Uint8Array]",Vo="[object Uint8ClampedArray]",cr="[object Uint16Array]",Ai="[object Uint32Array]",Af=/\\b__p \\+= '';/g,Cf=/\\b(__p \\+=) '' \\+/g,Lf=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,mc=/&(?:amp|lt|gt|quot|#39);/g,wc=/[&<>"']/g,Df=RegExp(mc.source),Mf=RegExp(wc.source),qf=/<%-([\\s\\S]+?)%>/g,Uf=/<%([\\s\\S]+?)%>/g,hc=/<%=([\\s\\S]+?)%>/g,Nf=/\\.|\\[(?:[^[\\]]*|(["'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Bf=/^\\w*$/,Ff=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,Ci=/[\\\\^$.*+?()[\\]{}|]/g,zf=RegExp(Ci.source),Li=/^\\s+/,jf=/\\s/,Hf=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Vf=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,Wf=/,? & /,Gf=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,Kf=/[()=,{}\\[\\]\\/\\s]/,Yf=/\\\\(\\\\)?/g,$f=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,vc=/\\w*$/,Xf=/^[-+]0x[0-9a-f]+$/i,Qf=/^0b[01]+$/i,Zf=/^\\[object .+?Constructor\\]$/,Jf=/^0o[0-7]+$/i,ed=/^(?:0|[1-9]\\d*)$/,td=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,cn=/($^)/,od=/['\\n\\r\\u2028\\u2029\\\\]/g,un="\\\\ud800-\\\\udfff",rd="\\\\u0300-\\\\u036f",nd="\\\\ufe20-\\\\ufe2f",id="\\\\u20d0-\\\\u20ff",yc=rd+nd+id,bc="\\\\u2700-\\\\u27bf",_c="a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff",ad="\\\\xac\\\\xb1\\\\xd7\\\\xf7",sd="\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf",cd="\\\\u2000-\\\\u206f",ud=" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000",Ec="A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde",xc="\\\\ufe0e\\\\ufe0f",Tc=ad+sd+cd+ud,Di="['\\u2019]",ld="["+un+"]",Sc="["+Tc+"]",ln="["+yc+"]",Ic="\\\\d+",gd="["+bc+"]",Oc="["+_c+"]",kc="[^"+un+Tc+Ic+bc+_c+Ec+"]",Mi="\\\\ud83c[\\\\udffb-\\\\udfff]",fd="(?:"+ln+"|"+Mi+")",Pc="[^"+un+"]",qi="(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}",Ui="[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]",ur="["+Ec+"]",Rc="\\\\u200d",Ac="(?:"+Oc+"|"+kc+")",dd="(?:"+ur+"|"+kc+")",Cc="(?:"+Di+"(?:d|ll|m|re|s|t|ve))?",Lc="(?:"+Di+"(?:D|LL|M|RE|S|T|VE))?",Dc=fd+"?",Mc="["+xc+"]?",pd="(?:"+Rc+"(?:"+[Pc,qi,Ui].join("|")+")"+Mc+Dc+")*",md="\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])",wd="\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])",qc=Mc+Dc+pd,hd="(?:"+[gd,qi,Ui].join("|")+")"+qc,vd="(?:"+[Pc+ln+"?",ln,qi,Ui,ld].join("|")+")",yd=RegExp(Di,"g"),bd=RegExp(ln,"g"),Ni=RegExp(Mi+"(?="+Mi+")|"+vd+qc,"g"),_d=RegExp([ur+"?"+Oc+"+"+Cc+"(?="+[Sc,ur,"$"].join("|")+")",dd+"+"+Lc+"(?="+[Sc,ur+Ac,"$"].join("|")+")",ur+"?"+Ac+"+"+Cc,ur+"+"+Lc,wd,md,Ic,hd].join("|"),"g"),Ed=RegExp("["+Rc+un+yc+xc+"]"),xd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Td=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Sd=-1,Ee={};Ee[z]=Ee[$e]=Ee[_e]=Ee[ie]=Ee[V]=Ee[mt]=Ee[Vo]=Ee[cr]=Ee[Ai]=!0,Ee[je]=Ee[pt]=Ee[q]=Ee[ge]=Ee[H]=Ee[Tt]=Ee[eo]=Ee[Dt]=Ee[Ye]=Ee[et]=Ee[ct]=Ee[Le]=Ee[De]=Ee[St]=Ee[Y]=!1;var be={};be[je]=be[pt]=be[q]=be[H]=be[ge]=be[Tt]=be[z]=be[$e]=be[_e]=be[ie]=be[V]=be[Ye]=be[et]=be[ct]=be[Le]=be[De]=be[St]=be[j]=be[mt]=be[Vo]=be[cr]=be[Ai]=!0,be[eo]=be[Dt]=be[Y]=!1;var Id={\\u00C0:"A",\\u00C1:"A",\\u00C2:"A",\\u00C3:"A",\\u00C4:"A",\\u00C5:"A",\\u00E0:"a",\\u00E1:"a",\\u00E2:"a",\\u00E3:"a",\\u00E4:"a",\\u00E5:"a",\\u00C7:"C",\\u00E7:"c",\\u00D0:"D",\\u00F0:"d",\\u00C8:"E",\\u00C9:"E",\\u00CA:"E",\\u00CB:"E",\\u00E8:"e",\\u00E9:"e",\\u00EA:"e",\\u00EB:"e",\\u00CC:"I",\\u00CD:"I",\\u00CE:"I",\\u00CF:"I",\\u00EC:"i",\\u00ED:"i",\\u00EE:"i",\\u00EF:"i",\\u00D1:"N",\\u00F1:"n",\\u00D2:"O",\\u00D3:"O",\\u00D4:"O",\\u00D5:"O",\\u00D6:"O",\\u00D8:"O",\\u00F2:"o",\\u00F3:"o",\\u00F4:"o",\\u00F5:"o",\\u00F6:"o",\\u00F8:"o",\\u00D9:"U",\\u00DA:"U",\\u00DB:"U",\\u00DC:"U",\\u00F9:"u",\\u00FA:"u",\\u00FB:"u",\\u00FC:"u",\\u00DD:"Y",\\u00FD:"y",\\u00FF:"y",\\u00C6:"Ae",\\u00E6:"ae",\\u00DE:"Th",\\u00FE:"th",\\u00DF:"ss",\\u0100:"A",\\u0102:"A",\\u0104:"A",\\u0101:"a",\\u0103:"a",\\u0105:"a",\\u0106:"C",\\u0108:"C",\\u010A:"C",\\u010C:"C",\\u0107:"c",\\u0109:"c",\\u010B:"c",\\u010D:"c",\\u010E:"D",\\u0110:"D",\\u010F:"d",\\u0111:"d",\\u0112:"E",\\u0114:"E",\\u0116:"E",\\u0118:"E",\\u011A:"E",\\u0113:"e",\\u0115:"e",\\u0117:"e",\\u0119:"e",\\u011B:"e",\\u011C:"G",\\u011E:"G",\\u0120:"G",\\u0122:"G",\\u011D:"g",\\u011F:"g",\\u0121:"g",\\u0123:"g",\\u0124:"H",\\u0126:"H",\\u0125:"h",\\u0127:"h",\\u0128:"I",\\u012A:"I",\\u012C:"I",\\u012E:"I",\\u0130:"I",\\u0129:"i",\\u012B:"i",\\u012D:"i",\\u012F:"i",\\u0131:"i",\\u0134:"J",\\u0135:"j",\\u0136:"K",\\u0137:"k",\\u0138:"k",\\u0139:"L",\\u013B:"L",\\u013D:"L",\\u013F:"L",\\u0141:"L",\\u013A:"l",\\u013C:"l",\\u013E:"l",\\u0140:"l",\\u0142:"l",\\u0143:"N",\\u0145:"N",\\u0147:"N",\\u014A:"N",\\u0144:"n",\\u0146:"n",\\u0148:"n",\\u014B:"n",\\u014C:"O",\\u014E:"O",\\u0150:"O",\\u014D:"o",\\u014F:"o",\\u0151:"o",\\u0154:"R",\\u0156:"R",\\u0158:"R",\\u0155:"r",\\u0157:"r",\\u0159:"r",\\u015A:"S",\\u015C:"S",\\u015E:"S",\\u0160:"S",\\u015B:"s",\\u015D:"s",\\u015F:"s",\\u0161:"s",\\u0162:"T",\\u0164:"T",\\u0166:"T",\\u0163:"t",\\u0165:"t",\\u0167:"t",\\u0168:"U",\\u016A:"U",\\u016C:"U",\\u016E:"U",\\u0170:"U",\\u0172:"U",\\u0169:"u",\\u016B:"u",\\u016D:"u",\\u016F:"u",\\u0171:"u",\\u0173:"u",\\u0174:"W",\\u0175:"w",\\u0176:"Y",\\u0177:"y",\\u0178:"Y",\\u0179:"Z",\\u017B:"Z",\\u017D:"Z",\\u017A:"z",\\u017C:"z",\\u017E:"z",\\u0132:"IJ",\\u0133:"ij",\\u0152:"Oe",\\u0153:"oe",\\u0149:"'n",\\u017F:"s"},Od={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},kd={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Pd={"\\\\":"\\\\","'":"'","\\n":"n","\\r":"r","\\u2028":"u2028","\\u2029":"u2029"},Rd=parseFloat,Ad=parseInt,Uc=typeof global=="object"&&global&&global.Object===Object&&global,Cd=typeof self=="object"&&self&&self.Object===Object&&self,Xe=Uc||Cd||Function("return this")(),Bi=typeof Or=="object"&&Or&&!Or.nodeType&&Or,Wo=Bi&&typeof en=="object"&&en&&!en.nodeType&&en,Nc=Wo&&Wo.exports===Bi,Fi=Nc&&Uc.process,Mt=function(){try{var x=Wo&&Wo.require&&Wo.require("util").types;return x||Fi&&Fi.binding&&Fi.binding("util")}catch{}}(),Bc=Mt&&Mt.isArrayBuffer,Fc=Mt&&Mt.isDate,zc=Mt&&Mt.isMap,jc=Mt&&Mt.isRegExp,Hc=Mt&&Mt.isSet,Vc=Mt&&Mt.isTypedArray;function It(x,k,I){switch(I.length){case 0:return x.call(k);case 1:return x.call(k,I[0]);case 2:return x.call(k,I[0],I[1]);case 3:return x.call(k,I[0],I[1],I[2])}return x.apply(k,I)}function Ld(x,k,I,N){for(var $=-1,pe=x==null?0:x.length;++$<pe;){var We=x[$];k(N,We,I(We),x)}return N}function qt(x,k){for(var I=-1,N=x==null?0:x.length;++I<N&&k(x[I],I,x)!==!1;);return x}function Dd(x,k){for(var I=x==null?0:x.length;I--&&k(x[I],I,x)!==!1;);return x}function Wc(x,k){for(var I=-1,N=x==null?0:x.length;++I<N;)if(!k(x[I],I,x))return!1;return!0}function So(x,k){for(var I=-1,N=x==null?0:x.length,$=0,pe=[];++I<N;){var We=x[I];k(We,I,x)&&(pe[$++]=We)}return pe}function gn(x,k){var I=x==null?0:x.length;return!!I&&lr(x,k,0)>-1}function zi(x,k,I){for(var N=-1,$=x==null?0:x.length;++N<$;)if(I(k,x[N]))return!0;return!1}function Te(x,k){for(var I=-1,N=x==null?0:x.length,$=Array(N);++I<N;)$[I]=k(x[I],I,x);return $}function Io(x,k){for(var I=-1,N=k.length,$=x.length;++I<N;)x[$+I]=k[I];return x}function ji(x,k,I,N){var $=-1,pe=x==null?0:x.length;for(N&&pe&&(I=x[++$]);++$<pe;)I=k(I,x[$],$,x);return I}function Md(x,k,I,N){var $=x==null?0:x.length;for(N&&$&&(I=x[--$]);$--;)I=k(I,x[$],$,x);return I}function Hi(x,k){for(var I=-1,N=x==null?0:x.length;++I<N;)if(k(x[I],I,x))return!0;return!1}var qd=Vi("length");function Ud(x){return x.split("")}function Nd(x){return x.match(Gf)||[]}function Gc(x,k,I){var N;return I(x,function($,pe,We){if(k($,pe,We))return N=pe,!1}),N}function fn(x,k,I,N){for(var $=x.length,pe=I+(N?1:-1);N?pe--:++pe<$;)if(k(x[pe],pe,x))return pe;return-1}function lr(x,k,I){return k===k?Xd(x,k,I):fn(x,Kc,I)}function Bd(x,k,I,N){for(var $=I-1,pe=x.length;++$<pe;)if(N(x[$],k))return $;return-1}function Kc(x){return x!==x}function Yc(x,k){var I=x==null?0:x.length;return I?Gi(x,k)/I:st}function Vi(x){return function(k){return k==null?o:k[x]}}function Wi(x){return function(k){return x==null?o:x[k]}}function $c(x,k,I,N,$){return $(x,function(pe,We,ye){I=N?(N=!1,pe):k(I,pe,We,ye)}),I}function Fd(x,k){var I=x.length;for(x.sort(k);I--;)x[I]=x[I].value;return x}function Gi(x,k){for(var I,N=-1,$=x.length;++N<$;){var pe=k(x[N]);pe!==o&&(I=I===o?pe:I+pe)}return I}function Ki(x,k){for(var I=-1,N=Array(x);++I<x;)N[I]=k(I);return N}function zd(x,k){return Te(k,function(I){return[I,x[I]]})}function Xc(x){return x&&x.slice(0,eu(x)+1).replace(Li,"")}function Ot(x){return function(k){return x(k)}}function Yi(x,k){return Te(k,function(I){return x[I]})}function Rr(x,k){return x.has(k)}function Qc(x,k){for(var I=-1,N=x.length;++I<N&&lr(k,x[I],0)>-1;);return I}function Zc(x,k){for(var I=x.length;I--&&lr(k,x[I],0)>-1;);return I}function jd(x,k){for(var I=x.length,N=0;I--;)x[I]===k&&++N;return N}var Hd=Wi(Id),Vd=Wi(Od);function Wd(x){return"\\\\"+Pd[x]}function Gd(x,k){return x==null?o:x[k]}function gr(x){return Ed.test(x)}function Kd(x){return xd.test(x)}function Yd(x){for(var k,I=[];!(k=x.next()).done;)I.push(k.value);return I}function $i(x){var k=-1,I=Array(x.size);return x.forEach(function(N,$){I[++k]=[$,N]}),I}function Jc(x,k){return function(I){return x(k(I))}}function Oo(x,k){for(var I=-1,N=x.length,$=0,pe=[];++I<N;){var We=x[I];(We===k||We===T)&&(x[I]=T,pe[$++]=I)}return pe}function dn(x){var k=-1,I=Array(x.size);return x.forEach(function(N){I[++k]=N}),I}function $d(x){var k=-1,I=Array(x.size);return x.forEach(function(N){I[++k]=[N,N]}),I}function Xd(x,k,I){for(var N=I-1,$=x.length;++N<$;)if(x[N]===k)return N;return-1}function Qd(x,k,I){for(var N=I+1;N--;)if(x[N]===k)return N;return N}function fr(x){return gr(x)?Jd(x):qd(x)}function Yt(x){return gr(x)?ep(x):Ud(x)}function eu(x){for(var k=x.length;k--&&jf.test(x.charAt(k)););return k}var Zd=Wi(kd);function Jd(x){for(var k=Ni.lastIndex=0;Ni.test(x);)++k;return k}function ep(x){return x.match(Ni)||[]}function tp(x){return x.match(_d)||[]}var op=function x(k){k=k==null?Xe:ko.defaults(Xe.Object(),k,ko.pick(Xe,Td));var I=k.Array,N=k.Date,$=k.Error,pe=k.Function,We=k.Math,ye=k.Object,Xi=k.RegExp,rp=k.String,Ut=k.TypeError,pn=I.prototype,np=pe.prototype,dr=ye.prototype,mn=k["__core-js_shared__"],wn=np.toString,we=dr.hasOwnProperty,ip=0,tu=function(){var e=/[^.]+$/.exec(mn&&mn.keys&&mn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),hn=dr.toString,ap=wn.call(ye),sp=Xe._,cp=Xi("^"+wn.call(we).replace(Ci,"\\\\$&").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,"$1.*?")+"$"),vn=Nc?k.Buffer:o,Po=k.Symbol,yn=k.Uint8Array,ou=vn?vn.allocUnsafe:o,bn=Jc(ye.getPrototypeOf,ye),ru=ye.create,nu=dr.propertyIsEnumerable,_n=pn.splice,iu=Po?Po.isConcatSpreadable:o,Ar=Po?Po.iterator:o,Go=Po?Po.toStringTag:o,En=function(){try{var e=Qo(ye,"defineProperty");return e({},"",{}),e}catch{}}(),up=k.clearTimeout!==Xe.clearTimeout&&k.clearTimeout,lp=N&&N.now!==Xe.Date.now&&N.now,gp=k.setTimeout!==Xe.setTimeout&&k.setTimeout,xn=We.ceil,Tn=We.floor,Qi=ye.getOwnPropertySymbols,fp=vn?vn.isBuffer:o,au=k.isFinite,dp=pn.join,pp=Jc(ye.keys,ye),Ge=We.max,it=We.min,mp=N.now,wp=k.parseInt,su=We.random,hp=pn.reverse,Zi=Qo(k,"DataView"),Cr=Qo(k,"Map"),Ji=Qo(k,"Promise"),pr=Qo(k,"Set"),Lr=Qo(k,"WeakMap"),Dr=Qo(ye,"create"),Sn=Lr&&new Lr,mr={},vp=Zo(Zi),yp=Zo(Cr),bp=Zo(Ji),_p=Zo(pr),Ep=Zo(Lr),In=Po?Po.prototype:o,Mr=In?In.valueOf:o,cu=In?In.toString:o;function f(e){if(Pe(e)&&!X(e)&&!(e instanceof se)){if(e instanceof Nt)return e;if(we.call(e,"__wrapped__"))return ul(e)}return new Nt(e)}var wr=function(){function e(){}return function(t){if(!Oe(t))return{};if(ru)return ru(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function On(){}function Nt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}f.templateSettings={escape:qf,evaluate:Uf,interpolate:hc,variable:"",imports:{_:f}},f.prototype=On.prototype,f.prototype.constructor=f,Nt.prototype=wr(On.prototype),Nt.prototype.constructor=Nt;function se(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ve,this.__views__=[]}function xp(){var e=new se(this.__wrapped__);return e.__actions__=wt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=wt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=wt(this.__views__),e}function Tp(){if(this.__filtered__){var e=new se(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Sp(){var e=this.__wrapped__.value(),t=this.__dir__,n=X(e),s=t<0,l=n?e.length:0,p=Um(0,l,this.__views__),v=p.start,_=p.end,S=_-v,R=s?_:v-1,A=this.__iteratees__,C=A.length,D=0,B=it(S,this.__takeCount__);if(!n||!s&&l==S&&B==S)return Cu(e,this.__actions__);var G=[];e:for(;S--&&D<B;){R+=t;for(var te=-1,K=e[R];++te<C;){var ae=A[te],ce=ae.iteratee,Rt=ae.type,gt=ce(K);if(Rt==Jt)K=gt;else if(!gt){if(Rt==ee)continue e;break e}}G[D++]=K}return G}se.prototype=wr(On.prototype),se.prototype.constructor=se;function Ko(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function Ip(){this.__data__=Dr?Dr(null):{},this.size=0}function Op(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function kp(e){var t=this.__data__;if(Dr){var n=t[e];return n===d?o:n}return we.call(t,e)?t[e]:o}function Pp(e){var t=this.__data__;return Dr?t[e]!==o:we.call(t,e)}function Rp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Dr&&t===o?d:t,this}Ko.prototype.clear=Ip,Ko.prototype.delete=Op,Ko.prototype.get=kp,Ko.prototype.has=Pp,Ko.prototype.set=Rp;function co(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function Ap(){this.__data__=[],this.size=0}function Cp(e){var t=this.__data__,n=kn(t,e);if(n<0)return!1;var s=t.length-1;return n==s?t.pop():_n.call(t,n,1),--this.size,!0}function Lp(e){var t=this.__data__,n=kn(t,e);return n<0?o:t[n][1]}function Dp(e){return kn(this.__data__,e)>-1}function Mp(e,t){var n=this.__data__,s=kn(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}co.prototype.clear=Ap,co.prototype.delete=Cp,co.prototype.get=Lp,co.prototype.has=Dp,co.prototype.set=Mp;function uo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function qp(){this.size=0,this.__data__={hash:new Ko,map:new(Cr||co),string:new Ko}}function Up(e){var t=Fn(this,e).delete(e);return this.size-=t?1:0,t}function Np(e){return Fn(this,e).get(e)}function Bp(e){return Fn(this,e).has(e)}function Fp(e,t){var n=Fn(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}uo.prototype.clear=qp,uo.prototype.delete=Up,uo.prototype.get=Np,uo.prototype.has=Bp,uo.prototype.set=Fp;function Yo(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new uo;++t<n;)this.add(e[t])}function zp(e){return this.__data__.set(e,d),this}function jp(e){return this.__data__.has(e)}Yo.prototype.add=Yo.prototype.push=zp,Yo.prototype.has=jp;function $t(e){var t=this.__data__=new co(e);this.size=t.size}function Hp(){this.__data__=new co,this.size=0}function Vp(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Wp(e){return this.__data__.get(e)}function Gp(e){return this.__data__.has(e)}function Kp(e,t){var n=this.__data__;if(n instanceof co){var s=n.__data__;if(!Cr||s.length<i-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new uo(s)}return n.set(e,t),this.size=n.size,this}$t.prototype.clear=Hp,$t.prototype.delete=Vp,$t.prototype.get=Wp,$t.prototype.has=Gp,$t.prototype.set=Kp;function uu(e,t){var n=X(e),s=!n&&Jo(e),l=!n&&!s&&Do(e),p=!n&&!s&&!l&&br(e),v=n||s||l||p,_=v?Ki(e.length,rp):[],S=_.length;for(var R in e)(t||we.call(e,R))&&!(v&&(R=="length"||l&&(R=="offset"||R=="parent")||p&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||po(R,S)))&&_.push(R);return _}function lu(e){var t=e.length;return t?e[la(0,t-1)]:o}function Yp(e,t){return zn(wt(e),$o(t,0,e.length))}function $p(e){return zn(wt(e))}function ea(e,t,n){(n!==o&&!Xt(e[t],n)||n===o&&!(t in e))&&lo(e,t,n)}function qr(e,t,n){var s=e[t];(!(we.call(e,t)&&Xt(s,n))||n===o&&!(t in e))&&lo(e,t,n)}function kn(e,t){for(var n=e.length;n--;)if(Xt(e[n][0],t))return n;return-1}function Xp(e,t,n,s){return Ro(e,function(l,p,v){t(s,l,n(l),v)}),s}function gu(e,t){return e&&oo(t,Qe(t),e)}function Qp(e,t){return e&&oo(t,vt(t),e)}function lo(e,t,n){t=="__proto__"&&En?En(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ta(e,t){for(var n=-1,s=t.length,l=I(s),p=e==null;++n<s;)l[n]=p?o:Ma(e,t[n]);return l}function $o(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function Bt(e,t,n,s,l,p){var v,_=t&m,S=t&g,R=t&w;if(n&&(v=l?n(e,s,l,p):n(e)),v!==o)return v;if(!Oe(e))return e;var A=X(e);if(A){if(v=Bm(e),!_)return wt(e,v)}else{var C=at(e),D=C==Dt||C==so;if(Do(e))return Mu(e,_);if(C==ct||C==je||D&&!l){if(v=S||D?{}:el(e),!_)return S?km(e,Qp(v,e)):Om(e,gu(v,e))}else{if(!be[C])return l?e:{};v=Fm(e,C,_)}}p||(p=new $t);var B=p.get(e);if(B)return B;p.set(e,v),Pl(e)?e.forEach(function(K){v.add(Bt(K,t,n,K,e,p))}):Ol(e)&&e.forEach(function(K,ae){v.set(ae,Bt(K,t,n,ae,e,p))});var G=R?S?_a:ba:S?vt:Qe,te=A?o:G(e);return qt(te||e,function(K,ae){te&&(ae=K,K=e[ae]),qr(v,ae,Bt(K,t,n,ae,e,p))}),v}function Zp(e){var t=Qe(e);return function(n){return fu(n,e,t)}}function fu(e,t,n){var s=n.length;if(e==null)return!s;for(e=ye(e);s--;){var l=n[s],p=t[l],v=e[l];if(v===o&&!(l in e)||!p(v))return!1}return!0}function du(e,t,n){if(typeof e!="function")throw new Ut(c);return Hr(function(){e.apply(o,n)},t)}function Ur(e,t,n,s){var l=-1,p=gn,v=!0,_=e.length,S=[],R=t.length;if(!_)return S;n&&(t=Te(t,Ot(n))),s?(p=zi,v=!1):t.length>=i&&(p=Rr,v=!1,t=new Yo(t));e:for(;++l<_;){var A=e[l],C=n==null?A:n(A);if(A=s||A!==0?A:0,v&&C===C){for(var D=R;D--;)if(t[D]===C)continue e;S.push(A)}else p(t,C,s)||S.push(A)}return S}var Ro=Fu(to),pu=Fu(ra,!0);function Jp(e,t){var n=!0;return Ro(e,function(s,l,p){return n=!!t(s,l,p),n}),n}function Pn(e,t,n){for(var s=-1,l=e.length;++s<l;){var p=e[s],v=t(p);if(v!=null&&(_===o?v===v&&!Pt(v):n(v,_)))var _=v,S=p}return S}function em(e,t,n,s){var l=e.length;for(n=J(n),n<0&&(n=-n>l?0:l+n),s=s===o||s>l?l:J(s),s<0&&(s+=l),s=n>s?0:Al(s);n<s;)e[n++]=t;return e}function mu(e,t){var n=[];return Ro(e,function(s,l,p){t(s,l,p)&&n.push(s)}),n}function tt(e,t,n,s,l){var p=-1,v=e.length;for(n||(n=jm),l||(l=[]);++p<v;){var _=e[p];t>0&&n(_)?t>1?tt(_,t-1,n,s,l):Io(l,_):s||(l[l.length]=_)}return l}var oa=zu(),wu=zu(!0);function to(e,t){return e&&oa(e,t,Qe)}function ra(e,t){return e&&wu(e,t,Qe)}function Rn(e,t){return So(t,function(n){return mo(e[n])})}function Xo(e,t){t=Co(t,e);for(var n=0,s=t.length;e!=null&&n<s;)e=e[ro(t[n++])];return n&&n==s?e:o}function hu(e,t,n){var s=t(e);return X(e)?s:Io(s,n(e))}function ut(e){return e==null?e===o?ne:Ho:Go&&Go in ye(e)?qm(e):$m(e)}function na(e,t){return e>t}function tm(e,t){return e!=null&&we.call(e,t)}function om(e,t){return e!=null&&t in ye(e)}function rm(e,t,n){return e>=it(t,n)&&e<Ge(t,n)}function ia(e,t,n){for(var s=n?zi:gn,l=e[0].length,p=e.length,v=p,_=I(p),S=1/0,R=[];v--;){var A=e[v];v&&t&&(A=Te(A,Ot(t))),S=it(A.length,S),_[v]=!n&&(t||l>=120&&A.length>=120)?new Yo(v&&A):o}A=e[0];var C=-1,D=_[0];e:for(;++C<l&&R.length<S;){var B=A[C],G=t?t(B):B;if(B=n||B!==0?B:0,!(D?Rr(D,G):s(R,G,n))){for(v=p;--v;){var te=_[v];if(!(te?Rr(te,G):s(e[v],G,n)))continue e}D&&D.push(G),R.push(B)}}return R}function nm(e,t,n,s){return to(e,function(l,p,v){t(s,n(l),p,v)}),s}function Nr(e,t,n){t=Co(t,e),e=nl(e,t);var s=e==null?e:e[ro(zt(t))];return s==null?o:It(s,e,n)}function vu(e){return Pe(e)&&ut(e)==je}function im(e){return Pe(e)&&ut(e)==q}function am(e){return Pe(e)&&ut(e)==Tt}function Br(e,t,n,s,l){return e===t?!0:e==null||t==null||!Pe(e)&&!Pe(t)?e!==e&&t!==t:sm(e,t,n,s,Br,l)}function sm(e,t,n,s,l,p){var v=X(e),_=X(t),S=v?pt:at(e),R=_?pt:at(t);S=S==je?ct:S,R=R==je?ct:R;var A=S==ct,C=R==ct,D=S==R;if(D&&Do(e)){if(!Do(t))return!1;v=!0,A=!1}if(D&&!A)return p||(p=new $t),v||br(e)?Qu(e,t,n,s,l,p):Dm(e,t,S,n,s,l,p);if(!(n&h)){var B=A&&we.call(e,"__wrapped__"),G=C&&we.call(t,"__wrapped__");if(B||G){var te=B?e.value():e,K=G?t.value():t;return p||(p=new $t),l(te,K,n,s,p)}}return D?(p||(p=new $t),Mm(e,t,n,s,l,p)):!1}function cm(e){return Pe(e)&&at(e)==Ye}function aa(e,t,n,s){var l=n.length,p=l,v=!s;if(e==null)return!p;for(e=ye(e);l--;){var _=n[l];if(v&&_[2]?_[1]!==e[_[0]]:!(_[0]in e))return!1}for(;++l<p;){_=n[l];var S=_[0],R=e[S],A=_[1];if(v&&_[2]){if(R===o&&!(S in e))return!1}else{var C=new $t;if(s)var D=s(R,A,S,e,t,C);if(!(D===o?Br(A,R,h|y,s,C):D))return!1}}return!0}function yu(e){if(!Oe(e)||Vm(e))return!1;var t=mo(e)?cp:Zf;return t.test(Zo(e))}function um(e){return Pe(e)&&ut(e)==Le}function lm(e){return Pe(e)&&at(e)==De}function gm(e){return Pe(e)&&Kn(e.length)&&!!Ee[ut(e)]}function bu(e){return typeof e=="function"?e:e==null?yt:typeof e=="object"?X(e)?xu(e[0],e[1]):Eu(e):jl(e)}function sa(e){if(!jr(e))return pp(e);var t=[];for(var n in ye(e))we.call(e,n)&&n!="constructor"&&t.push(n);return t}function fm(e){if(!Oe(e))return Ym(e);var t=jr(e),n=[];for(var s in e)s=="constructor"&&(t||!we.call(e,s))||n.push(s);return n}function ca(e,t){return e<t}function _u(e,t){var n=-1,s=ht(e)?I(e.length):[];return Ro(e,function(l,p,v){s[++n]=t(l,p,v)}),s}function Eu(e){var t=xa(e);return t.length==1&&t[0][2]?ol(t[0][0],t[0][1]):function(n){return n===e||aa(n,e,t)}}function xu(e,t){return Sa(e)&&tl(t)?ol(ro(e),t):function(n){var s=Ma(n,e);return s===o&&s===t?qa(n,e):Br(t,s,h|y)}}function An(e,t,n,s,l){e!==t&&oa(t,function(p,v){if(l||(l=new $t),Oe(p))dm(e,t,v,n,An,s,l);else{var _=s?s(Oa(e,v),p,v+"",e,t,l):o;_===o&&(_=p),ea(e,v,_)}},vt)}function dm(e,t,n,s,l,p,v){var _=Oa(e,n),S=Oa(t,n),R=v.get(S);if(R){ea(e,n,R);return}var A=p?p(_,S,n+"",e,t,v):o,C=A===o;if(C){var D=X(S),B=!D&&Do(S),G=!D&&!B&&br(S);A=S,D||B||G?X(_)?A=_:Me(_)?A=wt(_):B?(C=!1,A=Mu(S,!0)):G?(C=!1,A=qu(S,!0)):A=[]:Vr(S)||Jo(S)?(A=_,Jo(_)?A=Cl(_):(!Oe(_)||mo(_))&&(A=el(S))):C=!1}C&&(v.set(S,A),l(A,S,s,p,v),v.delete(S)),ea(e,n,A)}function Tu(e,t){var n=e.length;if(n)return t+=t<0?n:0,po(t,n)?e[t]:o}function Su(e,t,n){t.length?t=Te(t,function(p){return X(p)?function(v){return Xo(v,p.length===1?p[0]:p)}:p}):t=[yt];var s=-1;t=Te(t,Ot(W()));var l=_u(e,function(p,v,_){var S=Te(t,function(R){return R(p)});return{criteria:S,index:++s,value:p}});return Fd(l,function(p,v){return Im(p,v,n)})}function pm(e,t){return Iu(e,t,function(n,s){return qa(e,s)})}function Iu(e,t,n){for(var s=-1,l=t.length,p={};++s<l;){var v=t[s],_=Xo(e,v);n(_,v)&&Fr(p,Co(v,e),_)}return p}function mm(e){return function(t){return Xo(t,e)}}function ua(e,t,n,s){var l=s?Bd:lr,p=-1,v=t.length,_=e;for(e===t&&(t=wt(t)),n&&(_=Te(e,Ot(n)));++p<v;)for(var S=0,R=t[p],A=n?n(R):R;(S=l(_,A,S,s))>-1;)_!==e&&_n.call(_,S,1),_n.call(e,S,1);return e}function Ou(e,t){for(var n=e?t.length:0,s=n-1;n--;){var l=t[n];if(n==s||l!==p){var p=l;po(l)?_n.call(e,l,1):da(e,l)}}return e}function la(e,t){return e+Tn(su()*(t-e+1))}function wm(e,t,n,s){for(var l=-1,p=Ge(xn((t-e)/(n||1)),0),v=I(p);p--;)v[s?p:++l]=e,e+=n;return v}function ga(e,t){var n="";if(!e||t<1||t>Je)return n;do t%2&&(n+=e),t=Tn(t/2),t&&(e+=e);while(t);return n}function re(e,t){return ka(rl(e,t,yt),e+"")}function hm(e){return lu(_r(e))}function vm(e,t){var n=_r(e);return zn(n,$o(t,0,n.length))}function Fr(e,t,n,s){if(!Oe(e))return e;t=Co(t,e);for(var l=-1,p=t.length,v=p-1,_=e;_!=null&&++l<p;){var S=ro(t[l]),R=n;if(S==="__proto__"||S==="constructor"||S==="prototype")return e;if(l!=v){var A=_[S];R=s?s(A,S,_):o,R===o&&(R=Oe(A)?A:po(t[l+1])?[]:{})}qr(_,S,R),_=_[S]}return e}var ku=Sn?function(e,t){return Sn.set(e,t),e}:yt,ym=En?function(e,t){return En(e,"toString",{configurable:!0,enumerable:!1,value:Na(t),writable:!0})}:yt;function bm(e){return zn(_r(e))}function Ft(e,t,n){var s=-1,l=e.length;t<0&&(t=-t>l?0:l+t),n=n>l?l:n,n<0&&(n+=l),l=t>n?0:n-t>>>0,t>>>=0;for(var p=I(l);++s<l;)p[s]=e[s+t];return p}function _m(e,t){var n;return Ro(e,function(s,l,p){return n=t(s,l,p),!n}),!!n}function Cn(e,t,n){var s=0,l=e==null?s:e.length;if(typeof t=="number"&&t===t&&l<=xt){for(;s<l;){var p=s+l>>>1,v=e[p];v!==null&&!Pt(v)&&(n?v<=t:v<t)?s=p+1:l=p}return l}return fa(e,t,yt,n)}function fa(e,t,n,s){var l=0,p=e==null?0:e.length;if(p===0)return 0;t=n(t);for(var v=t!==t,_=t===null,S=Pt(t),R=t===o;l<p;){var A=Tn((l+p)/2),C=n(e[A]),D=C!==o,B=C===null,G=C===C,te=Pt(C);if(v)var K=s||G;else R?K=G&&(s||D):_?K=G&&D&&(s||!B):S?K=G&&D&&!B&&(s||!te):B||te?K=!1:K=s?C<=t:C<t;K?l=A+1:p=A}return it(p,dt)}function Pu(e,t){for(var n=-1,s=e.length,l=0,p=[];++n<s;){var v=e[n],_=t?t(v):v;if(!n||!Xt(_,S)){var S=_;p[l++]=v===0?0:v}}return p}function Ru(e){return typeof e=="number"?e:Pt(e)?st:+e}function kt(e){if(typeof e=="string")return e;if(X(e))return Te(e,kt)+"";if(Pt(e))return cu?cu.call(e):"";var t=e+"";return t=="0"&&1/e==-ze?"-0":t}function Ao(e,t,n){var s=-1,l=gn,p=e.length,v=!0,_=[],S=_;if(n)v=!1,l=zi;else if(p>=i){var R=t?null:Cm(e);if(R)return dn(R);v=!1,l=Rr,S=new Yo}else S=t?[]:_;e:for(;++s<p;){var A=e[s],C=t?t(A):A;if(A=n||A!==0?A:0,v&&C===C){for(var D=S.length;D--;)if(S[D]===C)continue e;t&&S.push(C),_.push(A)}else l(S,C,n)||(S!==_&&S.push(C),_.push(A))}return _}function da(e,t){return t=Co(t,e),e=nl(e,t),e==null||delete e[ro(zt(t))]}function Au(e,t,n,s){return Fr(e,t,n(Xo(e,t)),s)}function Ln(e,t,n,s){for(var l=e.length,p=s?l:-1;(s?p--:++p<l)&&t(e[p],p,e););return n?Ft(e,s?0:p,s?p+1:l):Ft(e,s?p+1:0,s?l:p)}function Cu(e,t){var n=e;return n instanceof se&&(n=n.value()),ji(t,function(s,l){return l.func.apply(l.thisArg,Io([s],l.args))},n)}function pa(e,t,n){var s=e.length;if(s<2)return s?Ao(e[0]):[];for(var l=-1,p=I(s);++l<s;)for(var v=e[l],_=-1;++_<s;)_!=l&&(p[l]=Ur(p[l]||v,e[_],t,n));return Ao(tt(p,1),t,n)}function Lu(e,t,n){for(var s=-1,l=e.length,p=t.length,v={};++s<l;){var _=s<p?t[s]:o;n(v,e[s],_)}return v}function ma(e){return Me(e)?e:[]}function wa(e){return typeof e=="function"?e:yt}function Co(e,t){return X(e)?e:Sa(e,t)?[e]:cl(me(e))}var Em=re;function Lo(e,t,n){var s=e.length;return n=n===o?s:n,!t&&n>=s?e:Ft(e,t,n)}var Du=up||function(e){return Xe.clearTimeout(e)};function Mu(e,t){if(t)return e.slice();var n=e.length,s=ou?ou(n):new e.constructor(n);return e.copy(s),s}function ha(e){var t=new e.constructor(e.byteLength);return new yn(t).set(new yn(e)),t}function xm(e,t){var n=t?ha(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Tm(e){var t=new e.constructor(e.source,vc.exec(e));return t.lastIndex=e.lastIndex,t}function Sm(e){return Mr?ye(Mr.call(e)):{}}function qu(e,t){var n=t?ha(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Uu(e,t){if(e!==t){var n=e!==o,s=e===null,l=e===e,p=Pt(e),v=t!==o,_=t===null,S=t===t,R=Pt(t);if(!_&&!R&&!p&&e>t||p&&v&&S&&!_&&!R||s&&v&&S||!n&&S||!l)return 1;if(!s&&!p&&!R&&e<t||R&&n&&l&&!s&&!p||_&&n&&l||!v&&l||!S)return-1}return 0}function Im(e,t,n){for(var s=-1,l=e.criteria,p=t.criteria,v=l.length,_=n.length;++s<v;){var S=Uu(l[s],p[s]);if(S){if(s>=_)return S;var R=n[s];return S*(R=="desc"?-1:1)}}return e.index-t.index}function Nu(e,t,n,s){for(var l=-1,p=e.length,v=n.length,_=-1,S=t.length,R=Ge(p-v,0),A=I(S+R),C=!s;++_<S;)A[_]=t[_];for(;++l<v;)(C||l<p)&&(A[n[l]]=e[l]);for(;R--;)A[_++]=e[l++];return A}function Bu(e,t,n,s){for(var l=-1,p=e.length,v=-1,_=n.length,S=-1,R=t.length,A=Ge(p-_,0),C=I(A+R),D=!s;++l<A;)C[l]=e[l];for(var B=l;++S<R;)C[B+S]=t[S];for(;++v<_;)(D||l<p)&&(C[B+n[v]]=e[l++]);return C}function wt(e,t){var n=-1,s=e.length;for(t||(t=I(s));++n<s;)t[n]=e[n];return t}function oo(e,t,n,s){var l=!n;n||(n={});for(var p=-1,v=t.length;++p<v;){var _=t[p],S=s?s(n[_],e[_],_,n,e):o;S===o&&(S=e[_]),l?lo(n,_,S):qr(n,_,S)}return n}function Om(e,t){return oo(e,Ta(e),t)}function km(e,t){return oo(e,Zu(e),t)}function Dn(e,t){return function(n,s){var l=X(n)?Ld:Xp,p=t?t():{};return l(n,e,W(s,2),p)}}function hr(e){return re(function(t,n){var s=-1,l=n.length,p=l>1?n[l-1]:o,v=l>2?n[2]:o;for(p=e.length>3&&typeof p=="function"?(l--,p):o,v&&lt(n[0],n[1],v)&&(p=l<3?o:p,l=1),t=ye(t);++s<l;){var _=n[s];_&&e(t,_,s,p)}return t})}function Fu(e,t){return function(n,s){if(n==null)return n;if(!ht(n))return e(n,s);for(var l=n.length,p=t?l:-1,v=ye(n);(t?p--:++p<l)&&s(v[p],p,v)!==!1;);return n}}function zu(e){return function(t,n,s){for(var l=-1,p=ye(t),v=s(t),_=v.length;_--;){var S=v[e?_:++l];if(n(p[S],S,p)===!1)break}return t}}function Pm(e,t,n){var s=t&E,l=zr(e);function p(){var v=this&&this!==Xe&&this instanceof p?l:e;return v.apply(s?n:this,arguments)}return p}function ju(e){return function(t){t=me(t);var n=gr(t)?Yt(t):o,s=n?n[0]:t.charAt(0),l=n?Lo(n,1).join(""):t.slice(1);return s[e]()+l}}function vr(e){return function(t){return ji(Fl(Bl(t).replace(yd,"")),e,"")}}function zr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=wr(e.prototype),s=e.apply(n,t);return Oe(s)?s:n}}function Rm(e,t,n){var s=zr(e);function l(){for(var p=arguments.length,v=I(p),_=p,S=yr(l);_--;)v[_]=arguments[_];var R=p<3&&v[0]!==S&&v[p-1]!==S?[]:Oo(v,S);if(p-=R.length,p<n)return Ku(e,t,Mn,l.placeholder,o,v,R,o,o,n-p);var A=this&&this!==Xe&&this instanceof l?s:e;return It(A,this,v)}return l}function Hu(e){return function(t,n,s){var l=ye(t);if(!ht(t)){var p=W(n,3);t=Qe(t),n=function(_){return p(l[_],_,l)}}var v=e(t,n,s);return v>-1?l[p?t[v]:v]:o}}function Vu(e){return fo(function(t){var n=t.length,s=n,l=Nt.prototype.thru;for(e&&t.reverse();s--;){var p=t[s];if(typeof p!="function")throw new Ut(c);if(l&&!v&&Bn(p)=="wrapper")var v=new Nt([],!0)}for(s=v?s:n;++s<n;){p=t[s];var _=Bn(p),S=_=="wrapper"?Ea(p):o;S&&Ia(S[0])&&S[1]==(oe|O|U|Z)&&!S[4].length&&S[9]==1?v=v[Bn(S[0])].apply(v,S[3]):v=p.length==1&&Ia(p)?v[_]():v.thru(p)}return function(){var R=arguments,A=R[0];if(v&&R.length==1&&X(A))return v.plant(A).value();for(var C=0,D=n?t[C].apply(this,R):A;++C<n;)D=t[C].call(this,D);return D}})}function Mn(e,t,n,s,l,p,v,_,S,R){var A=t&oe,C=t&E,D=t&M,B=t&(O|P),G=t&fe,te=D?o:zr(e);function K(){for(var ae=arguments.length,ce=I(ae),Rt=ae;Rt--;)ce[Rt]=arguments[Rt];if(B)var gt=yr(K),At=jd(ce,gt);if(s&&(ce=Nu(ce,s,l,B)),p&&(ce=Bu(ce,p,v,B)),ae-=At,B&&ae<R){var qe=Oo(ce,gt);return Ku(e,t,Mn,K.placeholder,n,ce,qe,_,S,R-ae)}var Qt=C?n:this,ho=D?Qt[e]:e;return ae=ce.length,_?ce=Xm(ce,_):G&&ae>1&&ce.reverse(),A&&S<ae&&(ce.length=S),this&&this!==Xe&&this instanceof K&&(ho=te||zr(ho)),ho.apply(Qt,ce)}return K}function Wu(e,t){return function(n,s){return nm(n,e,t(s),{})}}function qn(e,t){return function(n,s){var l;if(n===o&&s===o)return t;if(n!==o&&(l=n),s!==o){if(l===o)return s;typeof n=="string"||typeof s=="string"?(n=kt(n),s=kt(s)):(n=Ru(n),s=Ru(s)),l=e(n,s)}return l}}function va(e){return fo(function(t){return t=Te(t,Ot(W())),re(function(n){var s=this;return e(t,function(l){return It(l,s,n)})})})}function Un(e,t){t=t===o?" ":kt(t);var n=t.length;if(n<2)return n?ga(t,e):t;var s=ga(t,xn(e/fr(t)));return gr(t)?Lo(Yt(s),0,e).join(""):s.slice(0,e)}function Am(e,t,n,s){var l=t&E,p=zr(e);function v(){for(var _=-1,S=arguments.length,R=-1,A=s.length,C=I(A+S),D=this&&this!==Xe&&this instanceof v?p:e;++R<A;)C[R]=s[R];for(;S--;)C[R++]=arguments[++_];return It(D,l?n:this,C)}return v}function Gu(e){return function(t,n,s){return s&&typeof s!="number"&&lt(t,n,s)&&(n=s=o),t=wo(t),n===o?(n=t,t=0):n=wo(n),s=s===o?t<n?1:-1:wo(s),wm(t,n,s,e)}}function Nn(e){return function(t,n){return typeof t=="string"&&typeof n=="string"||(t=jt(t),n=jt(n)),e(t,n)}}function Ku(e,t,n,s,l,p,v,_,S,R){var A=t&O,C=A?v:o,D=A?o:v,B=A?p:o,G=A?o:p;t|=A?U:Q,t&=~(A?Q:U),t&L||(t&=~(E|M));var te=[e,t,l,B,C,G,D,_,S,R],K=n.apply(o,te);return Ia(e)&&il(K,te),K.placeholder=s,al(K,e,t)}function ya(e){var t=We[e];return function(n,s){if(n=jt(n),s=s==null?0:it(J(s),292),s&&au(n)){var l=(me(n)+"e").split("e"),p=t(l[0]+"e"+(+l[1]+s));return l=(me(p)+"e").split("e"),+(l[0]+"e"+(+l[1]-s))}return t(n)}}var Cm=pr&&1/dn(new pr([,-0]))[1]==ze?function(e){return new pr(e)}:za;function Yu(e){return function(t){var n=at(t);return n==Ye?$i(t):n==De?$d(t):zd(t,e(t))}}function go(e,t,n,s,l,p,v,_){var S=t&M;if(!S&&typeof e!="function")throw new Ut(c);var R=s?s.length:0;if(R||(t&=~(U|Q),s=l=o),v=v===o?v:Ge(J(v),0),_=_===o?_:J(_),R-=l?l.length:0,t&Q){var A=s,C=l;s=l=o}var D=S?o:Ea(e),B=[e,t,n,s,l,A,C,p,v,_];if(D&&Km(B,D),e=B[0],t=B[1],n=B[2],s=B[3],l=B[4],_=B[9]=B[9]===o?S?0:e.length:Ge(B[9]-R,0),!_&&t&(O|P)&&(t&=~(O|P)),!t||t==E)var G=Pm(e,t,n);else t==O||t==P?G=Rm(e,t,_):(t==U||t==(E|U))&&!l.length?G=Am(e,t,n,s):G=Mn.apply(o,B);var te=D?ku:il;return al(te(G,B),e,t)}function $u(e,t,n,s){return e===o||Xt(e,dr[n])&&!we.call(s,n)?t:e}function Xu(e,t,n,s,l,p){return Oe(e)&&Oe(t)&&(p.set(t,e),An(e,t,o,Xu,p),p.delete(t)),e}function Lm(e){return Vr(e)?o:e}function Qu(e,t,n,s,l,p){var v=n&h,_=e.length,S=t.length;if(_!=S&&!(v&&S>_))return!1;var R=p.get(e),A=p.get(t);if(R&&A)return R==t&&A==e;var C=-1,D=!0,B=n&y?new Yo:o;for(p.set(e,t),p.set(t,e);++C<_;){var G=e[C],te=t[C];if(s)var K=v?s(te,G,C,t,e,p):s(G,te,C,e,t,p);if(K!==o){if(K)continue;D=!1;break}if(B){if(!Hi(t,function(ae,ce){if(!Rr(B,ce)&&(G===ae||l(G,ae,n,s,p)))return B.push(ce)})){D=!1;break}}else if(!(G===te||l(G,te,n,s,p))){D=!1;break}}return p.delete(e),p.delete(t),D}function Dm(e,t,n,s,l,p,v){switch(n){case H:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case q:return!(e.byteLength!=t.byteLength||!p(new yn(e),new yn(t)));case ge:case Tt:case et:return Xt(+e,+t);case eo:return e.name==t.name&&e.message==t.message;case Le:case St:return e==t+"";case Ye:var _=$i;case De:var S=s&h;if(_||(_=dn),e.size!=t.size&&!S)return!1;var R=v.get(e);if(R)return R==t;s|=y,v.set(e,t);var A=Qu(_(e),_(t),s,l,p,v);return v.delete(e),A;case j:if(Mr)return Mr.call(e)==Mr.call(t)}return!1}function Mm(e,t,n,s,l,p){var v=n&h,_=ba(e),S=_.length,R=ba(t),A=R.length;if(S!=A&&!v)return!1;for(var C=S;C--;){var D=_[C];if(!(v?D in t:we.call(t,D)))return!1}var B=p.get(e),G=p.get(t);if(B&&G)return B==t&&G==e;var te=!0;p.set(e,t),p.set(t,e);for(var K=v;++C<S;){D=_[C];var ae=e[D],ce=t[D];if(s)var Rt=v?s(ce,ae,D,t,e,p):s(ae,ce,D,e,t,p);if(!(Rt===o?ae===ce||l(ae,ce,n,s,p):Rt)){te=!1;break}K||(K=D=="constructor")}if(te&&!K){var gt=e.constructor,At=t.constructor;gt!=At&&"constructor"in e&&"constructor"in t&&!(typeof gt=="function"&&gt instanceof gt&&typeof At=="function"&&At instanceof At)&&(te=!1)}return p.delete(e),p.delete(t),te}function fo(e){return ka(rl(e,o,fl),e+"")}function ba(e){return hu(e,Qe,Ta)}function _a(e){return hu(e,vt,Zu)}var Ea=Sn?function(e){return Sn.get(e)}:za;function Bn(e){for(var t=e.name+"",n=mr[t],s=we.call(mr,t)?n.length:0;s--;){var l=n[s],p=l.func;if(p==null||p==e)return l.name}return t}function yr(e){var t=we.call(f,"placeholder")?f:e;return t.placeholder}function W(){var e=f.iteratee||Ba;return e=e===Ba?bu:e,arguments.length?e(arguments[0],arguments[1]):e}function Fn(e,t){var n=e.__data__;return Hm(t)?n[typeof t=="string"?"string":"hash"]:n.map}function xa(e){for(var t=Qe(e),n=t.length;n--;){var s=t[n],l=e[s];t[n]=[s,l,tl(l)]}return t}function Qo(e,t){var n=Gd(e,t);return yu(n)?n:o}function qm(e){var t=we.call(e,Go),n=e[Go];try{e[Go]=o;var s=!0}catch{}var l=hn.call(e);return s&&(t?e[Go]=n:delete e[Go]),l}var Ta=Qi?function(e){return e==null?[]:(e=ye(e),So(Qi(e),function(t){return nu.call(e,t)}))}:ja,Zu=Qi?function(e){for(var t=[];e;)Io(t,Ta(e)),e=bn(e);return t}:ja,at=ut;(Zi&&at(new Zi(new ArrayBuffer(1)))!=H||Cr&&at(new Cr)!=Ye||Ji&&at(Ji.resolve())!=Kt||pr&&at(new pr)!=De||Lr&&at(new Lr)!=Y)&&(at=function(e){var t=ut(e),n=t==ct?e.constructor:o,s=n?Zo(n):"";if(s)switch(s){case vp:return H;case yp:return Ye;case bp:return Kt;case _p:return De;case Ep:return Y}return t});function Um(e,t,n){for(var s=-1,l=n.length;++s<l;){var p=n[s],v=p.size;switch(p.type){case"drop":e+=v;break;case"dropRight":t-=v;break;case"take":t=it(t,e+v);break;case"takeRight":e=Ge(e,t-v);break}}return{start:e,end:t}}function Nm(e){var t=e.match(Vf);return t?t[1].split(Wf):[]}function Ju(e,t,n){t=Co(t,e);for(var s=-1,l=t.length,p=!1;++s<l;){var v=ro(t[s]);if(!(p=e!=null&&n(e,v)))break;e=e[v]}return p||++s!=l?p:(l=e==null?0:e.length,!!l&&Kn(l)&&po(v,l)&&(X(e)||Jo(e)))}function Bm(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&we.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function el(e){return typeof e.constructor=="function"&&!jr(e)?wr(bn(e)):{}}function Fm(e,t,n){var s=e.constructor;switch(t){case q:return ha(e);case ge:case Tt:return new s(+e);case H:return xm(e,n);case z:case $e:case _e:case ie:case V:case mt:case Vo:case cr:case Ai:return qu(e,n);case Ye:return new s;case et:case St:return new s(e);case Le:return Tm(e);case De:return new s;case j:return Sm(e)}}function zm(e,t){var n=t.length;if(!n)return e;var s=n-1;return t[s]=(n>1?"& ":"")+t[s],t=t.join(n>2?", ":" "),e.replace(Hf,\`{
10
10
  /* [wrapped with \`+t+\`] */
11
- \`)}function jm(e){return X(e)||Jo(e)||!!(iu&&e&&e[iu])}function po(e,t){var n=typeof e;return t=t??Ze,!!t&&(n=="number"||n!="symbol"&&ed.test(e))&&e>-1&&e%1==0&&e<t}function lt(e,t,n){if(!Oe(n))return!1;var s=typeof t;return(s=="number"?ht(n)&&po(t,n.length):s=="string"&&t in n)?Xt(n[t],e):!1}function Sa(e,t){if(X(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Pt(e)?!0:Bf.test(e)||!Nf.test(e)||t!=null&&e in ye(t)}function Hm(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ia(e){var t=Bn(e),n=f[t];if(typeof n!="function"||!(t in se.prototype))return!1;if(e===n)return!0;var s=Ea(n);return!!s&&e===s[0]}function Vm(e){return!!tu&&tu in e}var Wm=mn?mo:Ha;function jr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||dr;return e===n}function tl(e){return e===e&&!Oe(e)}function ol(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==o||e in ye(n))}}function Gm(e){var t=Wn(e,function(s){return n.size===b&&n.clear(),s}),n=t.cache;return t}function Km(e,t){var n=e[1],s=t[1],l=n|s,p=l<(E|M|oe),v=s==oe&&n==O||s==oe&&n==Z&&e[7].length<=t[8]||s==(oe|Z)&&t[7].length<=t[8]&&n==O;if(!(p||v))return e;s&E&&(e[2]=t[2],l|=n&E?0:L);var _=t[3];if(_){var S=e[3];e[3]=S?Nu(S,_,t[4]):_,e[4]=S?Oo(e[3],T):t[4]}return _=t[5],_&&(S=e[5],e[5]=S?Bu(S,_,t[6]):_,e[6]=S?Oo(e[5],T):t[6]),_=t[7],_&&(e[7]=_),s&oe&&(e[8]=e[8]==null?t[8]:it(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=l,e}function Ym(e){var t=[];if(e!=null)for(var n in ye(e))t.push(n);return t}function $m(e){return hn.call(e)}function rl(e,t,n){return t=Ge(t===o?e.length-1:t,0),function(){for(var s=arguments,l=-1,p=Ge(s.length-t,0),v=I(p);++l<p;)v[l]=s[t+l];l=-1;for(var _=I(t+1);++l<t;)_[l]=s[l];return _[t]=n(v),It(e,this,_)}}function nl(e,t){return t.length<2?e:Xo(e,Ft(t,0,-1))}function Xm(e,t){for(var n=e.length,s=it(t.length,n),l=wt(e);s--;){var p=t[s];e[s]=po(p,n)?l[p]:o}return e}function Oa(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var il=sl(ku),Hr=gp||function(e,t){return $e.setTimeout(e,t)},ka=sl(ym);function al(e,t,n){var s=t+"";return ka(e,zm(s,Qm(Nm(s),n)))}function sl(e){var t=0,n=0;return function(){var s=mp(),l=Ie-(s-n);if(n=s,l>0){if(++t>=He)return arguments[0]}else t=0;return e.apply(o,arguments)}}function zn(e,t){var n=-1,s=e.length,l=s-1;for(t=t===o?s:t;++n<t;){var p=la(n,l),v=e[p];e[p]=e[n],e[n]=v}return e.length=t,e}var cl=Gm(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Ff,function(n,s,l,p){t.push(l?p.replace(Yf,"$1"):s||n)}),t});function ro(e){if(typeof e=="string"||Pt(e))return e;var t=e+"";return t=="0"&&1/e==-ze?"-0":t}function Zo(e){if(e!=null){try{return wn.call(e)}catch{}try{return e+""}catch{}}return""}function Qm(e,t){return qt(Wt,function(n){var s="_."+n[0];t&n[1]&&!gn(e,s)&&e.push(s)}),e.sort()}function ul(e){if(e instanceof se)return e.clone();var t=new Nt(e.__wrapped__,e.__chain__);return t.__actions__=wt(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Zm(e,t,n){(n?lt(e,t,n):t===o)?t=1:t=Ge(J(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var l=0,p=0,v=I(xn(s/t));l<s;)v[p++]=Ft(e,l,l+=t);return v}function Jm(e){for(var t=-1,n=e==null?0:e.length,s=0,l=[];++t<n;){var p=e[t];p&&(l[s++]=p)}return l}function ew(){var e=arguments.length;if(!e)return[];for(var t=I(e-1),n=arguments[0],s=e;s--;)t[s-1]=arguments[s];return Io(X(n)?wt(n):[n],et(t,1))}var tw=re(function(e,t){return Me(e)?Ur(e,et(t,1,Me,!0)):[]}),ow=re(function(e,t){var n=zt(t);return Me(n)&&(n=o),Me(e)?Ur(e,et(t,1,Me,!0),W(n,2)):[]}),rw=re(function(e,t){var n=zt(t);return Me(n)&&(n=o),Me(e)?Ur(e,et(t,1,Me,!0),o,n):[]});function nw(e,t,n){var s=e==null?0:e.length;return s?(t=n||t===o?1:J(t),Ft(e,t<0?0:t,s)):[]}function iw(e,t,n){var s=e==null?0:e.length;return s?(t=n||t===o?1:J(t),t=s-t,Ft(e,0,t<0?0:t)):[]}function aw(e,t){return e&&e.length?Ln(e,W(t,3),!0,!0):[]}function sw(e,t){return e&&e.length?Ln(e,W(t,3),!0):[]}function cw(e,t,n,s){var l=e==null?0:e.length;return l?(n&&typeof n!="number"&&lt(e,t,n)&&(n=0,s=l),em(e,t,n,s)):[]}function ll(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var l=n==null?0:J(n);return l<0&&(l=Ge(s+l,0)),fn(e,W(t,3),l)}function gl(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var l=s-1;return n!==o&&(l=J(n),l=n<0?Ge(s+l,0):it(l,s-1)),fn(e,W(t,3),l,!0)}function fl(e){var t=e==null?0:e.length;return t?et(e,1):[]}function uw(e){var t=e==null?0:e.length;return t?et(e,ze):[]}function lw(e,t){var n=e==null?0:e.length;return n?(t=t===o?1:J(t),et(e,t)):[]}function gw(e){for(var t=-1,n=e==null?0:e.length,s={};++t<n;){var l=e[t];s[l[0]]=l[1]}return s}function dl(e){return e&&e.length?e[0]:o}function fw(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var l=n==null?0:J(n);return l<0&&(l=Ge(s+l,0)),lr(e,t,l)}function dw(e){var t=e==null?0:e.length;return t?Ft(e,0,-1):[]}var pw=re(function(e){var t=Te(e,ma);return t.length&&t[0]===e[0]?ia(t):[]}),mw=re(function(e){var t=zt(e),n=Te(e,ma);return t===zt(n)?t=o:n.pop(),n.length&&n[0]===e[0]?ia(n,W(t,2)):[]}),ww=re(function(e){var t=zt(e),n=Te(e,ma);return t=typeof t=="function"?t:o,t&&n.pop(),n.length&&n[0]===e[0]?ia(n,o,t):[]});function hw(e,t){return e==null?"":dp.call(e,t)}function zt(e){var t=e==null?0:e.length;return t?e[t-1]:o}function vw(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var l=s;return n!==o&&(l=J(n),l=l<0?Ge(s+l,0):it(l,s-1)),t===t?Qd(e,t,l):fn(e,Kc,l,!0)}function yw(e,t){return e&&e.length?Tu(e,J(t)):o}var bw=re(pl);function pl(e,t){return e&&e.length&&t&&t.length?ua(e,t):e}function _w(e,t,n){return e&&e.length&&t&&t.length?ua(e,t,W(n,2)):e}function Ew(e,t,n){return e&&e.length&&t&&t.length?ua(e,t,o,n):e}var xw=fo(function(e,t){var n=e==null?0:e.length,s=ta(e,t);return Ou(e,Te(t,function(l){return po(l,n)?+l:l}).sort(Uu)),s});function Tw(e,t){var n=[];if(!(e&&e.length))return n;var s=-1,l=[],p=e.length;for(t=W(t,3);++s<p;){var v=e[s];t(v,s,e)&&(n.push(v),l.push(s))}return Ou(e,l),n}function Pa(e){return e==null?e:hp.call(e)}function Sw(e,t,n){var s=e==null?0:e.length;return s?(n&&typeof n!="number"&&lt(e,t,n)?(t=0,n=s):(t=t==null?0:J(t),n=n===o?s:J(n)),Ft(e,t,n)):[]}function Iw(e,t){return Cn(e,t)}function Ow(e,t,n){return fa(e,t,W(n,2))}function kw(e,t){var n=e==null?0:e.length;if(n){var s=Cn(e,t);if(s<n&&Xt(e[s],t))return s}return-1}function Pw(e,t){return Cn(e,t,!0)}function Rw(e,t,n){return fa(e,t,W(n,2),!0)}function Aw(e,t){var n=e==null?0:e.length;if(n){var s=Cn(e,t,!0)-1;if(Xt(e[s],t))return s}return-1}function Cw(e){return e&&e.length?Pu(e):[]}function Lw(e,t){return e&&e.length?Pu(e,W(t,2)):[]}function Dw(e){var t=e==null?0:e.length;return t?Ft(e,1,t):[]}function Mw(e,t,n){return e&&e.length?(t=n||t===o?1:J(t),Ft(e,0,t<0?0:t)):[]}function qw(e,t,n){var s=e==null?0:e.length;return s?(t=n||t===o?1:J(t),t=s-t,Ft(e,t<0?0:t,s)):[]}function Uw(e,t){return e&&e.length?Ln(e,W(t,3),!1,!0):[]}function Nw(e,t){return e&&e.length?Ln(e,W(t,3)):[]}var Bw=re(function(e){return Ao(et(e,1,Me,!0))}),Fw=re(function(e){var t=zt(e);return Me(t)&&(t=o),Ao(et(e,1,Me,!0),W(t,2))}),zw=re(function(e){var t=zt(e);return t=typeof t=="function"?t:o,Ao(et(e,1,Me,!0),o,t)});function jw(e){return e&&e.length?Ao(e):[]}function Hw(e,t){return e&&e.length?Ao(e,W(t,2)):[]}function Vw(e,t){return t=typeof t=="function"?t:o,e&&e.length?Ao(e,o,t):[]}function Ra(e){if(!(e&&e.length))return[];var t=0;return e=So(e,function(n){if(Me(n))return t=Ge(n.length,t),!0}),Ki(t,function(n){return Te(e,Vi(n))})}function ml(e,t){if(!(e&&e.length))return[];var n=Ra(e);return t==null?n:Te(n,function(s){return It(t,o,s)})}var Ww=re(function(e,t){return Me(e)?Ur(e,t):[]}),Gw=re(function(e){return pa(So(e,Me))}),Kw=re(function(e){var t=zt(e);return Me(t)&&(t=o),pa(So(e,Me),W(t,2))}),Yw=re(function(e){var t=zt(e);return t=typeof t=="function"?t:o,pa(So(e,Me),o,t)}),$w=re(Ra);function Xw(e,t){return Lu(e||[],t||[],qr)}function Qw(e,t){return Lu(e||[],t||[],Fr)}var Zw=re(function(e){var t=e.length,n=t>1?e[t-1]:o;return n=typeof n=="function"?(e.pop(),n):o,ml(e,n)});function wl(e){var t=f(e);return t.__chain__=!0,t}function Jw(e,t){return t(e),e}function jn(e,t){return t(e)}var eh=fo(function(e){var t=e.length,n=t?e[0]:0,s=this.__wrapped__,l=function(p){return ta(p,e)};return t>1||this.__actions__.length||!(s instanceof se)||!po(n)?this.thru(l):(s=s.slice(n,+n+(t?1:0)),s.__actions__.push({func:jn,args:[l],thisArg:o}),new Nt(s,this.__chain__).thru(function(p){return t&&!p.length&&p.push(o),p}))});function th(){return wl(this)}function oh(){return new Nt(this.value(),this.__chain__)}function rh(){this.__values__===o&&(this.__values__=Rl(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function nh(){return this}function ih(e){for(var t,n=this;n instanceof On;){var s=ul(n);s.__index__=0,s.__values__=o,t?l.__wrapped__=s:t=s;var l=s;n=n.__wrapped__}return l.__wrapped__=e,t}function ah(){var e=this.__wrapped__;if(e instanceof se){var t=e;return this.__actions__.length&&(t=new se(this)),t=t.reverse(),t.__actions__.push({func:jn,args:[Pa],thisArg:o}),new Nt(t,this.__chain__)}return this.thru(Pa)}function sh(){return Cu(this.__wrapped__,this.__actions__)}var ch=Dn(function(e,t,n){we.call(e,n)?++e[n]:lo(e,n,1)});function uh(e,t,n){var s=X(e)?Wc:Jp;return n&&lt(e,t,n)&&(t=o),s(e,W(t,3))}function lh(e,t){var n=X(e)?So:mu;return n(e,W(t,3))}var gh=Hu(ll),fh=Hu(gl);function dh(e,t){return et(Hn(e,t),1)}function ph(e,t){return et(Hn(e,t),ze)}function mh(e,t,n){return n=n===o?1:J(n),et(Hn(e,t),n)}function hl(e,t){var n=X(e)?qt:Ro;return n(e,W(t,3))}function vl(e,t){var n=X(e)?Dd:pu;return n(e,W(t,3))}var wh=Dn(function(e,t,n){we.call(e,n)?e[n].push(t):lo(e,n,[t])});function hh(e,t,n,s){e=ht(e)?e:_r(e),n=n&&!s?J(n):0;var l=e.length;return n<0&&(n=Ge(l+n,0)),Yn(e)?n<=l&&e.indexOf(t,n)>-1:!!l&&lr(e,t,n)>-1}var vh=re(function(e,t,n){var s=-1,l=typeof t=="function",p=ht(e)?I(e.length):[];return Ro(e,function(v){p[++s]=l?It(t,v,n):Nr(v,t,n)}),p}),yh=Dn(function(e,t,n){lo(e,n,t)});function Hn(e,t){var n=X(e)?Te:_u;return n(e,W(t,3))}function bh(e,t,n,s){return e==null?[]:(X(t)||(t=t==null?[]:[t]),n=s?o:n,X(n)||(n=n==null?[]:[n]),Su(e,t,n))}var _h=Dn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});function Eh(e,t,n){var s=X(e)?ji:$c,l=arguments.length<3;return s(e,W(t,4),n,l,Ro)}function xh(e,t,n){var s=X(e)?Md:$c,l=arguments.length<3;return s(e,W(t,4),n,l,pu)}function Th(e,t){var n=X(e)?So:mu;return n(e,Gn(W(t,3)))}function Sh(e){var t=X(e)?lu:hm;return t(e)}function Ih(e,t,n){(n?lt(e,t,n):t===o)?t=1:t=J(t);var s=X(e)?Yp:vm;return s(e,t)}function Oh(e){var t=X(e)?$p:bm;return t(e)}function kh(e){if(e==null)return 0;if(ht(e))return Yn(e)?fr(e):e.length;var t=at(e);return t==Ke||t==De?e.size:sa(e).length}function Ph(e,t,n){var s=X(e)?Hi:_m;return n&&lt(e,t,n)&&(t=o),s(e,W(t,3))}var Rh=re(function(e,t){if(e==null)return[];var n=t.length;return n>1&&lt(e,t[0],t[1])?t=[]:n>2&&lt(t[0],t[1],t[2])&&(t=[t[0]]),Su(e,et(t,1),[])}),Vn=lp||function(){return $e.Date.now()};function Ah(e,t){if(typeof t!="function")throw new Ut(c);return e=J(e),function(){if(--e<1)return t.apply(this,arguments)}}function yl(e,t,n){return t=n?o:t,t=e&&t==null?e.length:t,go(e,oe,o,o,o,o,t)}function bl(e,t){var n;if(typeof t!="function")throw new Ut(c);return e=J(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Aa=re(function(e,t,n){var s=E;if(n.length){var l=Oo(n,yr(Aa));s|=U}return go(e,s,t,n,l)}),_l=re(function(e,t,n){var s=E|M;if(n.length){var l=Oo(n,yr(_l));s|=U}return go(t,s,e,n,l)});function El(e,t,n){t=n?o:t;var s=go(e,O,o,o,o,o,o,t);return s.placeholder=El.placeholder,s}function xl(e,t,n){t=n?o:t;var s=go(e,P,o,o,o,o,o,t);return s.placeholder=xl.placeholder,s}function Tl(e,t,n){var s,l,p,v,_,S,R=0,A=!1,C=!1,D=!0;if(typeof e!="function")throw new Ut(c);t=jt(t)||0,Oe(n)&&(A=!!n.leading,C="maxWait"in n,p=C?Ge(jt(n.maxWait)||0,t):p,D="trailing"in n?!!n.trailing:D);function B(qe){var Qt=s,ho=l;return s=l=o,R=qe,v=e.apply(ho,Qt),v}function G(qe){return R=qe,_=Hr(ae,t),A?B(qe):v}function te(qe){var Qt=qe-S,ho=qe-R,Hl=t-Qt;return C?it(Hl,p-ho):Hl}function K(qe){var Qt=qe-S,ho=qe-R;return S===o||Qt>=t||Qt<0||C&&ho>=p}function ae(){var qe=Vn();if(K(qe))return ce(qe);_=Hr(ae,te(qe))}function ce(qe){return _=o,D&&s?B(qe):(s=l=o,v)}function Rt(){_!==o&&Du(_),R=0,s=S=l=_=o}function gt(){return _===o?v:ce(Vn())}function At(){var qe=Vn(),Qt=K(qe);if(s=arguments,l=this,S=qe,Qt){if(_===o)return G(S);if(C)return Du(_),_=Hr(ae,t),B(S)}return _===o&&(_=Hr(ae,t)),v}return At.cancel=Rt,At.flush=gt,At}var Ch=re(function(e,t){return du(e,1,t)}),Lh=re(function(e,t,n){return du(e,jt(t)||0,n)});function Dh(e){return go(e,fe)}function Wn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Ut(c);var n=function(){var s=arguments,l=t?t.apply(this,s):s[0],p=n.cache;if(p.has(l))return p.get(l);var v=e.apply(this,s);return n.cache=p.set(l,v)||p,v};return n.cache=new(Wn.Cache||uo),n}Wn.Cache=uo;function Gn(e){if(typeof e!="function")throw new Ut(c);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)}}function Mh(e){return bl(2,e)}var qh=Em(function(e,t){t=t.length==1&&X(t[0])?Te(t[0],Ot(W())):Te(et(t,1),Ot(W()));var n=t.length;return re(function(s){for(var l=-1,p=it(s.length,n);++l<p;)s[l]=t[l].call(this,s[l]);return It(e,this,s)})}),Ca=re(function(e,t){var n=Oo(t,yr(Ca));return go(e,U,o,t,n)}),Sl=re(function(e,t){var n=Oo(t,yr(Sl));return go(e,Q,o,t,n)}),Uh=fo(function(e,t){return go(e,Z,o,o,o,t)});function Nh(e,t){if(typeof e!="function")throw new Ut(c);return t=t===o?t:J(t),re(e,t)}function Bh(e,t){if(typeof e!="function")throw new Ut(c);return t=t==null?0:Ge(J(t),0),re(function(n){var s=n[t],l=Lo(n,0,t);return s&&Io(l,s),It(e,this,l)})}function Fh(e,t,n){var s=!0,l=!0;if(typeof e!="function")throw new Ut(c);return Oe(n)&&(s="leading"in n?!!n.leading:s,l="trailing"in n?!!n.trailing:l),Tl(e,t,{leading:s,maxWait:t,trailing:l})}function zh(e){return yl(e,1)}function jh(e,t){return Ca(wa(t),e)}function Hh(){if(!arguments.length)return[];var e=arguments[0];return X(e)?e:[e]}function Vh(e){return Bt(e,w)}function Wh(e,t){return t=typeof t=="function"?t:o,Bt(e,w,t)}function Gh(e){return Bt(e,m|w)}function Kh(e,t){return t=typeof t=="function"?t:o,Bt(e,m|w,t)}function Yh(e,t){return t==null||fu(e,t,Xe(t))}function Xt(e,t){return e===t||e!==e&&t!==t}var $h=Nn(na),Xh=Nn(function(e,t){return e>=t}),Jo=vu(function(){return arguments}())?vu:function(e){return Pe(e)&&we.call(e,"callee")&&!nu.call(e,"callee")},X=I.isArray,Qh=Bc?Ot(Bc):im;function ht(e){return e!=null&&Kn(e.length)&&!mo(e)}function Me(e){return Pe(e)&&ht(e)}function Zh(e){return e===!0||e===!1||Pe(e)&&ut(e)==ge}var Do=fp||Ha,Jh=Fc?Ot(Fc):am;function ev(e){return Pe(e)&&e.nodeType===1&&!Vr(e)}function tv(e){if(e==null)return!0;if(ht(e)&&(X(e)||typeof e=="string"||typeof e.splice=="function"||Do(e)||br(e)||Jo(e)))return!e.length;var t=at(e);if(t==Ke||t==De)return!e.size;if(jr(e))return!sa(e).length;for(var n in e)if(we.call(e,n))return!1;return!0}function ov(e,t){return Br(e,t)}function rv(e,t,n){n=typeof n=="function"?n:o;var s=n?n(e,t):o;return s===o?Br(e,t,o,n):!!s}function La(e){if(!Pe(e))return!1;var t=ut(e);return t==eo||t==ao||typeof e.message=="string"&&typeof e.name=="string"&&!Vr(e)}function nv(e){return typeof e=="number"&&au(e)}function mo(e){if(!Oe(e))return!1;var t=ut(e);return t==Dt||t==so||t==Gt||t==To}function Il(e){return typeof e=="number"&&e==J(e)}function Kn(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ze}function Oe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Pe(e){return e!=null&&typeof e=="object"}var Ol=zc?Ot(zc):cm;function iv(e,t){return e===t||aa(e,t,xa(t))}function av(e,t,n){return n=typeof n=="function"?n:o,aa(e,t,xa(t),n)}function sv(e){return kl(e)&&e!=+e}function cv(e){if(Wm(e))throw new $(a);return yu(e)}function uv(e){return e===null}function lv(e){return e==null}function kl(e){return typeof e=="number"||Pe(e)&&ut(e)==Je}function Vr(e){if(!Pe(e)||ut(e)!=ct)return!1;var t=bn(e);if(t===null)return!0;var n=we.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&wn.call(n)==ap}var Da=jc?Ot(jc):um;function gv(e){return Il(e)&&e>=-Ze&&e<=Ze}var Pl=Hc?Ot(Hc):lm;function Yn(e){return typeof e=="string"||!X(e)&&Pe(e)&&ut(e)==St}function Pt(e){return typeof e=="symbol"||Pe(e)&&ut(e)==j}var br=Vc?Ot(Vc):gm;function fv(e){return e===o}function dv(e){return Pe(e)&&at(e)==Y}function pv(e){return Pe(e)&&ut(e)==F}var mv=Nn(ca),wv=Nn(function(e,t){return e<=t});function Rl(e){if(!e)return[];if(ht(e))return Yn(e)?Yt(e):wt(e);if(Ar&&e[Ar])return Yd(e[Ar]());var t=at(e),n=t==Ke?$i:t==De?dn:_r;return n(e)}function wo(e){if(!e)return e===0?e:0;if(e=jt(e),e===ze||e===-ze){var t=e<0?-1:1;return t*Lt}return e===e?e:0}function J(e){var t=wo(e),n=t%1;return t===t?n?t-n:t:0}function Al(e){return e?$o(J(e),0,Ve):0}function jt(e){if(typeof e=="number")return e;if(Pt(e))return st;if(Oe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Oe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Xc(e);var n=Qf.test(e);return n||Jf.test(e)?Ad(e.slice(2),n?2:8):Xf.test(e)?st:+e}function Cl(e){return oo(e,vt(e))}function hv(e){return e?$o(J(e),-Ze,Ze):e===0?e:0}function me(e){return e==null?"":kt(e)}var vv=hr(function(e,t){if(jr(t)||ht(t)){oo(t,Xe(t),e);return}for(var n in t)we.call(t,n)&&qr(e,n,t[n])}),Ll=hr(function(e,t){oo(t,vt(t),e)}),$n=hr(function(e,t,n,s){oo(t,vt(t),e,s)}),yv=hr(function(e,t,n,s){oo(t,Xe(t),e,s)}),bv=fo(ta);function _v(e,t){var n=wr(e);return t==null?n:gu(n,t)}var Ev=re(function(e,t){e=ye(e);var n=-1,s=t.length,l=s>2?t[2]:o;for(l&&lt(t[0],t[1],l)&&(s=1);++n<s;)for(var p=t[n],v=vt(p),_=-1,S=v.length;++_<S;){var R=v[_],A=e[R];(A===o||Xt(A,dr[R])&&!we.call(e,R))&&(e[R]=p[R])}return e}),xv=re(function(e){return e.push(o,Xu),It(Dl,o,e)});function Tv(e,t){return Gc(e,W(t,3),to)}function Sv(e,t){return Gc(e,W(t,3),ra)}function Iv(e,t){return e==null?e:oa(e,W(t,3),vt)}function Ov(e,t){return e==null?e:wu(e,W(t,3),vt)}function kv(e,t){return e&&to(e,W(t,3))}function Pv(e,t){return e&&ra(e,W(t,3))}function Rv(e){return e==null?[]:Rn(e,Xe(e))}function Av(e){return e==null?[]:Rn(e,vt(e))}function Ma(e,t,n){var s=e==null?o:Xo(e,t);return s===o?n:s}function Cv(e,t){return e!=null&&Ju(e,t,tm)}function qa(e,t){return e!=null&&Ju(e,t,om)}var Lv=Wu(function(e,t,n){t!=null&&typeof t.toString!="function"&&(t=hn.call(t)),e[t]=n},Na(yt)),Dv=Wu(function(e,t,n){t!=null&&typeof t.toString!="function"&&(t=hn.call(t)),we.call(e,t)?e[t].push(n):e[t]=[n]},W),Mv=re(Nr);function Xe(e){return ht(e)?uu(e):sa(e)}function vt(e){return ht(e)?uu(e,!0):fm(e)}function qv(e,t){var n={};return t=W(t,3),to(e,function(s,l,p){lo(n,t(s,l,p),s)}),n}function Uv(e,t){var n={};return t=W(t,3),to(e,function(s,l,p){lo(n,l,t(s,l,p))}),n}var Nv=hr(function(e,t,n){An(e,t,n)}),Dl=hr(function(e,t,n,s){An(e,t,n,s)}),Bv=fo(function(e,t){var n={};if(e==null)return n;var s=!1;t=Te(t,function(p){return p=Co(p,e),s||(s=p.length>1),p}),oo(e,_a(e),n),s&&(n=Bt(n,m|g|w,Lm));for(var l=t.length;l--;)da(n,t[l]);return n});function Fv(e,t){return Ml(e,Gn(W(t)))}var zv=fo(function(e,t){return e==null?{}:pm(e,t)});function Ml(e,t){if(e==null)return{};var n=Te(_a(e),function(s){return[s]});return t=W(t),Iu(e,n,function(s,l){return t(s,l[0])})}function jv(e,t,n){t=Co(t,e);var s=-1,l=t.length;for(l||(l=1,e=o);++s<l;){var p=e==null?o:e[ro(t[s])];p===o&&(s=l,p=n),e=mo(p)?p.call(e):p}return e}function Hv(e,t,n){return e==null?e:Fr(e,t,n)}function Vv(e,t,n,s){return s=typeof s=="function"?s:o,e==null?e:Fr(e,t,n,s)}var ql=Yu(Xe),Ul=Yu(vt);function Wv(e,t,n){var s=X(e),l=s||Do(e)||br(e);if(t=W(t,4),n==null){var p=e&&e.constructor;l?n=s?new p:[]:Oe(e)?n=mo(p)?wr(bn(e)):{}:n={}}return(l?qt:to)(e,function(v,_,S){return t(n,v,_,S)}),n}function Gv(e,t){return e==null?!0:da(e,t)}function Kv(e,t,n){return e==null?e:Au(e,t,wa(n))}function Yv(e,t,n,s){return s=typeof s=="function"?s:o,e==null?e:Au(e,t,wa(n),s)}function _r(e){return e==null?[]:Yi(e,Xe(e))}function $v(e){return e==null?[]:Yi(e,vt(e))}function Xv(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=jt(n),n=n===n?n:0),t!==o&&(t=jt(t),t=t===t?t:0),$o(jt(e),t,n)}function Qv(e,t,n){return t=wo(t),n===o?(n=t,t=0):n=wo(n),e=jt(e),rm(e,t,n)}function Zv(e,t,n){if(n&&typeof n!="boolean"&&lt(e,t,n)&&(t=n=o),n===o&&(typeof t=="boolean"?(n=t,t=o):typeof e=="boolean"&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=wo(e),t===o?(t=e,e=0):t=wo(t)),e>t){var s=e;e=t,t=s}if(n||e%1||t%1){var l=su();return it(e+l*(t-e+Rd("1e-"+((l+"").length-1))),t)}return la(e,t)}var Jv=vr(function(e,t,n){return t=t.toLowerCase(),e+(n?Nl(t):t)});function Nl(e){return Ua(me(e).toLowerCase())}function Bl(e){return e=me(e),e&&e.replace(td,Hd).replace(bd,"")}function ey(e,t,n){e=me(e),t=kt(t);var s=e.length;n=n===o?s:$o(J(n),0,s);var l=n;return n-=t.length,n>=0&&e.slice(n,l)==t}function ty(e){return e=me(e),e&&Mf.test(e)?e.replace(wc,Vd):e}function oy(e){return e=me(e),e&&zf.test(e)?e.replace(Ci,"\\\\$&"):e}var ry=vr(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),ny=vr(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),iy=ju("toLowerCase");function ay(e,t,n){e=me(e),t=J(t);var s=t?fr(e):0;if(!t||s>=t)return e;var l=(t-s)/2;return Un(Tn(l),n)+e+Un(xn(l),n)}function sy(e,t,n){e=me(e),t=J(t);var s=t?fr(e):0;return t&&s<t?e+Un(t-s,n):e}function cy(e,t,n){e=me(e),t=J(t);var s=t?fr(e):0;return t&&s<t?Un(t-s,n)+e:e}function uy(e,t,n){return n||t==null?t=0:t&&(t=+t),wp(me(e).replace(Li,""),t||0)}function ly(e,t,n){return(n?lt(e,t,n):t===o)?t=1:t=J(t),ga(me(e),t)}function gy(){var e=arguments,t=me(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var fy=vr(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});function dy(e,t,n){return n&&typeof n!="number"&&lt(e,t,n)&&(t=n=o),n=n===o?Ve:n>>>0,n?(e=me(e),e&&(typeof t=="string"||t!=null&&!Da(t))&&(t=kt(t),!t&&gr(e))?Lo(Yt(e),0,n):e.split(t,n)):[]}var py=vr(function(e,t,n){return e+(n?" ":"")+Ua(t)});function my(e,t,n){return e=me(e),n=n==null?0:$o(J(n),0,e.length),t=kt(t),e.slice(n,n+t.length)==t}function wy(e,t,n){var s=f.templateSettings;n&&lt(e,t,n)&&(t=o),e=me(e),t=$n({},t,s,$u);var l=$n({},t.imports,s.imports,$u),p=Xe(l),v=Yi(l,p),_,S,R=0,A=t.interpolate||cn,C="__p += '",D=Xi((t.escape||cn).source+"|"+A.source+"|"+(A===hc?$f:cn).source+"|"+(t.evaluate||cn).source+"|$","g"),B="//# sourceURL="+(we.call(t,"sourceURL")?(t.sourceURL+"").replace(/\\s/g," "):"lodash.templateSources["+ ++Sd+"]")+\`
11
+ \`)}function jm(e){return X(e)||Jo(e)||!!(iu&&e&&e[iu])}function po(e,t){var n=typeof e;return t=t??Je,!!t&&(n=="number"||n!="symbol"&&ed.test(e))&&e>-1&&e%1==0&&e<t}function lt(e,t,n){if(!Oe(n))return!1;var s=typeof t;return(s=="number"?ht(n)&&po(t,n.length):s=="string"&&t in n)?Xt(n[t],e):!1}function Sa(e,t){if(X(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Pt(e)?!0:Bf.test(e)||!Nf.test(e)||t!=null&&e in ye(t)}function Hm(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ia(e){var t=Bn(e),n=f[t];if(typeof n!="function"||!(t in se.prototype))return!1;if(e===n)return!0;var s=Ea(n);return!!s&&e===s[0]}function Vm(e){return!!tu&&tu in e}var Wm=mn?mo:Ha;function jr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||dr;return e===n}function tl(e){return e===e&&!Oe(e)}function ol(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==o||e in ye(n))}}function Gm(e){var t=Wn(e,function(s){return n.size===b&&n.clear(),s}),n=t.cache;return t}function Km(e,t){var n=e[1],s=t[1],l=n|s,p=l<(E|M|oe),v=s==oe&&n==O||s==oe&&n==Z&&e[7].length<=t[8]||s==(oe|Z)&&t[7].length<=t[8]&&n==O;if(!(p||v))return e;s&E&&(e[2]=t[2],l|=n&E?0:L);var _=t[3];if(_){var S=e[3];e[3]=S?Nu(S,_,t[4]):_,e[4]=S?Oo(e[3],T):t[4]}return _=t[5],_&&(S=e[5],e[5]=S?Bu(S,_,t[6]):_,e[6]=S?Oo(e[5],T):t[6]),_=t[7],_&&(e[7]=_),s&oe&&(e[8]=e[8]==null?t[8]:it(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=l,e}function Ym(e){var t=[];if(e!=null)for(var n in ye(e))t.push(n);return t}function $m(e){return hn.call(e)}function rl(e,t,n){return t=Ge(t===o?e.length-1:t,0),function(){for(var s=arguments,l=-1,p=Ge(s.length-t,0),v=I(p);++l<p;)v[l]=s[t+l];l=-1;for(var _=I(t+1);++l<t;)_[l]=s[l];return _[t]=n(v),It(e,this,_)}}function nl(e,t){return t.length<2?e:Xo(e,Ft(t,0,-1))}function Xm(e,t){for(var n=e.length,s=it(t.length,n),l=wt(e);s--;){var p=t[s];e[s]=po(p,n)?l[p]:o}return e}function Oa(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var il=sl(ku),Hr=gp||function(e,t){return Xe.setTimeout(e,t)},ka=sl(ym);function al(e,t,n){var s=t+"";return ka(e,zm(s,Qm(Nm(s),n)))}function sl(e){var t=0,n=0;return function(){var s=mp(),l=Ie-(s-n);if(n=s,l>0){if(++t>=He)return arguments[0]}else t=0;return e.apply(o,arguments)}}function zn(e,t){var n=-1,s=e.length,l=s-1;for(t=t===o?s:t;++n<t;){var p=la(n,l),v=e[p];e[p]=e[n],e[n]=v}return e.length=t,e}var cl=Gm(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Ff,function(n,s,l,p){t.push(l?p.replace(Yf,"$1"):s||n)}),t});function ro(e){if(typeof e=="string"||Pt(e))return e;var t=e+"";return t=="0"&&1/e==-ze?"-0":t}function Zo(e){if(e!=null){try{return wn.call(e)}catch{}try{return e+""}catch{}}return""}function Qm(e,t){return qt(Wt,function(n){var s="_."+n[0];t&n[1]&&!gn(e,s)&&e.push(s)}),e.sort()}function ul(e){if(e instanceof se)return e.clone();var t=new Nt(e.__wrapped__,e.__chain__);return t.__actions__=wt(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Zm(e,t,n){(n?lt(e,t,n):t===o)?t=1:t=Ge(J(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var l=0,p=0,v=I(xn(s/t));l<s;)v[p++]=Ft(e,l,l+=t);return v}function Jm(e){for(var t=-1,n=e==null?0:e.length,s=0,l=[];++t<n;){var p=e[t];p&&(l[s++]=p)}return l}function ew(){var e=arguments.length;if(!e)return[];for(var t=I(e-1),n=arguments[0],s=e;s--;)t[s-1]=arguments[s];return Io(X(n)?wt(n):[n],tt(t,1))}var tw=re(function(e,t){return Me(e)?Ur(e,tt(t,1,Me,!0)):[]}),ow=re(function(e,t){var n=zt(t);return Me(n)&&(n=o),Me(e)?Ur(e,tt(t,1,Me,!0),W(n,2)):[]}),rw=re(function(e,t){var n=zt(t);return Me(n)&&(n=o),Me(e)?Ur(e,tt(t,1,Me,!0),o,n):[]});function nw(e,t,n){var s=e==null?0:e.length;return s?(t=n||t===o?1:J(t),Ft(e,t<0?0:t,s)):[]}function iw(e,t,n){var s=e==null?0:e.length;return s?(t=n||t===o?1:J(t),t=s-t,Ft(e,0,t<0?0:t)):[]}function aw(e,t){return e&&e.length?Ln(e,W(t,3),!0,!0):[]}function sw(e,t){return e&&e.length?Ln(e,W(t,3),!0):[]}function cw(e,t,n,s){var l=e==null?0:e.length;return l?(n&&typeof n!="number"&&lt(e,t,n)&&(n=0,s=l),em(e,t,n,s)):[]}function ll(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var l=n==null?0:J(n);return l<0&&(l=Ge(s+l,0)),fn(e,W(t,3),l)}function gl(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var l=s-1;return n!==o&&(l=J(n),l=n<0?Ge(s+l,0):it(l,s-1)),fn(e,W(t,3),l,!0)}function fl(e){var t=e==null?0:e.length;return t?tt(e,1):[]}function uw(e){var t=e==null?0:e.length;return t?tt(e,ze):[]}function lw(e,t){var n=e==null?0:e.length;return n?(t=t===o?1:J(t),tt(e,t)):[]}function gw(e){for(var t=-1,n=e==null?0:e.length,s={};++t<n;){var l=e[t];s[l[0]]=l[1]}return s}function dl(e){return e&&e.length?e[0]:o}function fw(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var l=n==null?0:J(n);return l<0&&(l=Ge(s+l,0)),lr(e,t,l)}function dw(e){var t=e==null?0:e.length;return t?Ft(e,0,-1):[]}var pw=re(function(e){var t=Te(e,ma);return t.length&&t[0]===e[0]?ia(t):[]}),mw=re(function(e){var t=zt(e),n=Te(e,ma);return t===zt(n)?t=o:n.pop(),n.length&&n[0]===e[0]?ia(n,W(t,2)):[]}),ww=re(function(e){var t=zt(e),n=Te(e,ma);return t=typeof t=="function"?t:o,t&&n.pop(),n.length&&n[0]===e[0]?ia(n,o,t):[]});function hw(e,t){return e==null?"":dp.call(e,t)}function zt(e){var t=e==null?0:e.length;return t?e[t-1]:o}function vw(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var l=s;return n!==o&&(l=J(n),l=l<0?Ge(s+l,0):it(l,s-1)),t===t?Qd(e,t,l):fn(e,Kc,l,!0)}function yw(e,t){return e&&e.length?Tu(e,J(t)):o}var bw=re(pl);function pl(e,t){return e&&e.length&&t&&t.length?ua(e,t):e}function _w(e,t,n){return e&&e.length&&t&&t.length?ua(e,t,W(n,2)):e}function Ew(e,t,n){return e&&e.length&&t&&t.length?ua(e,t,o,n):e}var xw=fo(function(e,t){var n=e==null?0:e.length,s=ta(e,t);return Ou(e,Te(t,function(l){return po(l,n)?+l:l}).sort(Uu)),s});function Tw(e,t){var n=[];if(!(e&&e.length))return n;var s=-1,l=[],p=e.length;for(t=W(t,3);++s<p;){var v=e[s];t(v,s,e)&&(n.push(v),l.push(s))}return Ou(e,l),n}function Pa(e){return e==null?e:hp.call(e)}function Sw(e,t,n){var s=e==null?0:e.length;return s?(n&&typeof n!="number"&&lt(e,t,n)?(t=0,n=s):(t=t==null?0:J(t),n=n===o?s:J(n)),Ft(e,t,n)):[]}function Iw(e,t){return Cn(e,t)}function Ow(e,t,n){return fa(e,t,W(n,2))}function kw(e,t){var n=e==null?0:e.length;if(n){var s=Cn(e,t);if(s<n&&Xt(e[s],t))return s}return-1}function Pw(e,t){return Cn(e,t,!0)}function Rw(e,t,n){return fa(e,t,W(n,2),!0)}function Aw(e,t){var n=e==null?0:e.length;if(n){var s=Cn(e,t,!0)-1;if(Xt(e[s],t))return s}return-1}function Cw(e){return e&&e.length?Pu(e):[]}function Lw(e,t){return e&&e.length?Pu(e,W(t,2)):[]}function Dw(e){var t=e==null?0:e.length;return t?Ft(e,1,t):[]}function Mw(e,t,n){return e&&e.length?(t=n||t===o?1:J(t),Ft(e,0,t<0?0:t)):[]}function qw(e,t,n){var s=e==null?0:e.length;return s?(t=n||t===o?1:J(t),t=s-t,Ft(e,t<0?0:t,s)):[]}function Uw(e,t){return e&&e.length?Ln(e,W(t,3),!1,!0):[]}function Nw(e,t){return e&&e.length?Ln(e,W(t,3)):[]}var Bw=re(function(e){return Ao(tt(e,1,Me,!0))}),Fw=re(function(e){var t=zt(e);return Me(t)&&(t=o),Ao(tt(e,1,Me,!0),W(t,2))}),zw=re(function(e){var t=zt(e);return t=typeof t=="function"?t:o,Ao(tt(e,1,Me,!0),o,t)});function jw(e){return e&&e.length?Ao(e):[]}function Hw(e,t){return e&&e.length?Ao(e,W(t,2)):[]}function Vw(e,t){return t=typeof t=="function"?t:o,e&&e.length?Ao(e,o,t):[]}function Ra(e){if(!(e&&e.length))return[];var t=0;return e=So(e,function(n){if(Me(n))return t=Ge(n.length,t),!0}),Ki(t,function(n){return Te(e,Vi(n))})}function ml(e,t){if(!(e&&e.length))return[];var n=Ra(e);return t==null?n:Te(n,function(s){return It(t,o,s)})}var Ww=re(function(e,t){return Me(e)?Ur(e,t):[]}),Gw=re(function(e){return pa(So(e,Me))}),Kw=re(function(e){var t=zt(e);return Me(t)&&(t=o),pa(So(e,Me),W(t,2))}),Yw=re(function(e){var t=zt(e);return t=typeof t=="function"?t:o,pa(So(e,Me),o,t)}),$w=re(Ra);function Xw(e,t){return Lu(e||[],t||[],qr)}function Qw(e,t){return Lu(e||[],t||[],Fr)}var Zw=re(function(e){var t=e.length,n=t>1?e[t-1]:o;return n=typeof n=="function"?(e.pop(),n):o,ml(e,n)});function wl(e){var t=f(e);return t.__chain__=!0,t}function Jw(e,t){return t(e),e}function jn(e,t){return t(e)}var eh=fo(function(e){var t=e.length,n=t?e[0]:0,s=this.__wrapped__,l=function(p){return ta(p,e)};return t>1||this.__actions__.length||!(s instanceof se)||!po(n)?this.thru(l):(s=s.slice(n,+n+(t?1:0)),s.__actions__.push({func:jn,args:[l],thisArg:o}),new Nt(s,this.__chain__).thru(function(p){return t&&!p.length&&p.push(o),p}))});function th(){return wl(this)}function oh(){return new Nt(this.value(),this.__chain__)}function rh(){this.__values__===o&&(this.__values__=Rl(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function nh(){return this}function ih(e){for(var t,n=this;n instanceof On;){var s=ul(n);s.__index__=0,s.__values__=o,t?l.__wrapped__=s:t=s;var l=s;n=n.__wrapped__}return l.__wrapped__=e,t}function ah(){var e=this.__wrapped__;if(e instanceof se){var t=e;return this.__actions__.length&&(t=new se(this)),t=t.reverse(),t.__actions__.push({func:jn,args:[Pa],thisArg:o}),new Nt(t,this.__chain__)}return this.thru(Pa)}function sh(){return Cu(this.__wrapped__,this.__actions__)}var ch=Dn(function(e,t,n){we.call(e,n)?++e[n]:lo(e,n,1)});function uh(e,t,n){var s=X(e)?Wc:Jp;return n&&lt(e,t,n)&&(t=o),s(e,W(t,3))}function lh(e,t){var n=X(e)?So:mu;return n(e,W(t,3))}var gh=Hu(ll),fh=Hu(gl);function dh(e,t){return tt(Hn(e,t),1)}function ph(e,t){return tt(Hn(e,t),ze)}function mh(e,t,n){return n=n===o?1:J(n),tt(Hn(e,t),n)}function hl(e,t){var n=X(e)?qt:Ro;return n(e,W(t,3))}function vl(e,t){var n=X(e)?Dd:pu;return n(e,W(t,3))}var wh=Dn(function(e,t,n){we.call(e,n)?e[n].push(t):lo(e,n,[t])});function hh(e,t,n,s){e=ht(e)?e:_r(e),n=n&&!s?J(n):0;var l=e.length;return n<0&&(n=Ge(l+n,0)),Yn(e)?n<=l&&e.indexOf(t,n)>-1:!!l&&lr(e,t,n)>-1}var vh=re(function(e,t,n){var s=-1,l=typeof t=="function",p=ht(e)?I(e.length):[];return Ro(e,function(v){p[++s]=l?It(t,v,n):Nr(v,t,n)}),p}),yh=Dn(function(e,t,n){lo(e,n,t)});function Hn(e,t){var n=X(e)?Te:_u;return n(e,W(t,3))}function bh(e,t,n,s){return e==null?[]:(X(t)||(t=t==null?[]:[t]),n=s?o:n,X(n)||(n=n==null?[]:[n]),Su(e,t,n))}var _h=Dn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});function Eh(e,t,n){var s=X(e)?ji:$c,l=arguments.length<3;return s(e,W(t,4),n,l,Ro)}function xh(e,t,n){var s=X(e)?Md:$c,l=arguments.length<3;return s(e,W(t,4),n,l,pu)}function Th(e,t){var n=X(e)?So:mu;return n(e,Gn(W(t,3)))}function Sh(e){var t=X(e)?lu:hm;return t(e)}function Ih(e,t,n){(n?lt(e,t,n):t===o)?t=1:t=J(t);var s=X(e)?Yp:vm;return s(e,t)}function Oh(e){var t=X(e)?$p:bm;return t(e)}function kh(e){if(e==null)return 0;if(ht(e))return Yn(e)?fr(e):e.length;var t=at(e);return t==Ye||t==De?e.size:sa(e).length}function Ph(e,t,n){var s=X(e)?Hi:_m;return n&&lt(e,t,n)&&(t=o),s(e,W(t,3))}var Rh=re(function(e,t){if(e==null)return[];var n=t.length;return n>1&&lt(e,t[0],t[1])?t=[]:n>2&&lt(t[0],t[1],t[2])&&(t=[t[0]]),Su(e,tt(t,1),[])}),Vn=lp||function(){return Xe.Date.now()};function Ah(e,t){if(typeof t!="function")throw new Ut(c);return e=J(e),function(){if(--e<1)return t.apply(this,arguments)}}function yl(e,t,n){return t=n?o:t,t=e&&t==null?e.length:t,go(e,oe,o,o,o,o,t)}function bl(e,t){var n;if(typeof t!="function")throw new Ut(c);return e=J(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Aa=re(function(e,t,n){var s=E;if(n.length){var l=Oo(n,yr(Aa));s|=U}return go(e,s,t,n,l)}),_l=re(function(e,t,n){var s=E|M;if(n.length){var l=Oo(n,yr(_l));s|=U}return go(t,s,e,n,l)});function El(e,t,n){t=n?o:t;var s=go(e,O,o,o,o,o,o,t);return s.placeholder=El.placeholder,s}function xl(e,t,n){t=n?o:t;var s=go(e,P,o,o,o,o,o,t);return s.placeholder=xl.placeholder,s}function Tl(e,t,n){var s,l,p,v,_,S,R=0,A=!1,C=!1,D=!0;if(typeof e!="function")throw new Ut(c);t=jt(t)||0,Oe(n)&&(A=!!n.leading,C="maxWait"in n,p=C?Ge(jt(n.maxWait)||0,t):p,D="trailing"in n?!!n.trailing:D);function B(qe){var Qt=s,ho=l;return s=l=o,R=qe,v=e.apply(ho,Qt),v}function G(qe){return R=qe,_=Hr(ae,t),A?B(qe):v}function te(qe){var Qt=qe-S,ho=qe-R,Hl=t-Qt;return C?it(Hl,p-ho):Hl}function K(qe){var Qt=qe-S,ho=qe-R;return S===o||Qt>=t||Qt<0||C&&ho>=p}function ae(){var qe=Vn();if(K(qe))return ce(qe);_=Hr(ae,te(qe))}function ce(qe){return _=o,D&&s?B(qe):(s=l=o,v)}function Rt(){_!==o&&Du(_),R=0,s=S=l=_=o}function gt(){return _===o?v:ce(Vn())}function At(){var qe=Vn(),Qt=K(qe);if(s=arguments,l=this,S=qe,Qt){if(_===o)return G(S);if(C)return Du(_),_=Hr(ae,t),B(S)}return _===o&&(_=Hr(ae,t)),v}return At.cancel=Rt,At.flush=gt,At}var Ch=re(function(e,t){return du(e,1,t)}),Lh=re(function(e,t,n){return du(e,jt(t)||0,n)});function Dh(e){return go(e,fe)}function Wn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Ut(c);var n=function(){var s=arguments,l=t?t.apply(this,s):s[0],p=n.cache;if(p.has(l))return p.get(l);var v=e.apply(this,s);return n.cache=p.set(l,v)||p,v};return n.cache=new(Wn.Cache||uo),n}Wn.Cache=uo;function Gn(e){if(typeof e!="function")throw new Ut(c);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)}}function Mh(e){return bl(2,e)}var qh=Em(function(e,t){t=t.length==1&&X(t[0])?Te(t[0],Ot(W())):Te(tt(t,1),Ot(W()));var n=t.length;return re(function(s){for(var l=-1,p=it(s.length,n);++l<p;)s[l]=t[l].call(this,s[l]);return It(e,this,s)})}),Ca=re(function(e,t){var n=Oo(t,yr(Ca));return go(e,U,o,t,n)}),Sl=re(function(e,t){var n=Oo(t,yr(Sl));return go(e,Q,o,t,n)}),Uh=fo(function(e,t){return go(e,Z,o,o,o,t)});function Nh(e,t){if(typeof e!="function")throw new Ut(c);return t=t===o?t:J(t),re(e,t)}function Bh(e,t){if(typeof e!="function")throw new Ut(c);return t=t==null?0:Ge(J(t),0),re(function(n){var s=n[t],l=Lo(n,0,t);return s&&Io(l,s),It(e,this,l)})}function Fh(e,t,n){var s=!0,l=!0;if(typeof e!="function")throw new Ut(c);return Oe(n)&&(s="leading"in n?!!n.leading:s,l="trailing"in n?!!n.trailing:l),Tl(e,t,{leading:s,maxWait:t,trailing:l})}function zh(e){return yl(e,1)}function jh(e,t){return Ca(wa(t),e)}function Hh(){if(!arguments.length)return[];var e=arguments[0];return X(e)?e:[e]}function Vh(e){return Bt(e,w)}function Wh(e,t){return t=typeof t=="function"?t:o,Bt(e,w,t)}function Gh(e){return Bt(e,m|w)}function Kh(e,t){return t=typeof t=="function"?t:o,Bt(e,m|w,t)}function Yh(e,t){return t==null||fu(e,t,Qe(t))}function Xt(e,t){return e===t||e!==e&&t!==t}var $h=Nn(na),Xh=Nn(function(e,t){return e>=t}),Jo=vu(function(){return arguments}())?vu:function(e){return Pe(e)&&we.call(e,"callee")&&!nu.call(e,"callee")},X=I.isArray,Qh=Bc?Ot(Bc):im;function ht(e){return e!=null&&Kn(e.length)&&!mo(e)}function Me(e){return Pe(e)&&ht(e)}function Zh(e){return e===!0||e===!1||Pe(e)&&ut(e)==ge}var Do=fp||Ha,Jh=Fc?Ot(Fc):am;function ev(e){return Pe(e)&&e.nodeType===1&&!Vr(e)}function tv(e){if(e==null)return!0;if(ht(e)&&(X(e)||typeof e=="string"||typeof e.splice=="function"||Do(e)||br(e)||Jo(e)))return!e.length;var t=at(e);if(t==Ye||t==De)return!e.size;if(jr(e))return!sa(e).length;for(var n in e)if(we.call(e,n))return!1;return!0}function ov(e,t){return Br(e,t)}function rv(e,t,n){n=typeof n=="function"?n:o;var s=n?n(e,t):o;return s===o?Br(e,t,o,n):!!s}function La(e){if(!Pe(e))return!1;var t=ut(e);return t==eo||t==ao||typeof e.message=="string"&&typeof e.name=="string"&&!Vr(e)}function nv(e){return typeof e=="number"&&au(e)}function mo(e){if(!Oe(e))return!1;var t=ut(e);return t==Dt||t==so||t==Gt||t==To}function Il(e){return typeof e=="number"&&e==J(e)}function Kn(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Je}function Oe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Pe(e){return e!=null&&typeof e=="object"}var Ol=zc?Ot(zc):cm;function iv(e,t){return e===t||aa(e,t,xa(t))}function av(e,t,n){return n=typeof n=="function"?n:o,aa(e,t,xa(t),n)}function sv(e){return kl(e)&&e!=+e}function cv(e){if(Wm(e))throw new $(a);return yu(e)}function uv(e){return e===null}function lv(e){return e==null}function kl(e){return typeof e=="number"||Pe(e)&&ut(e)==et}function Vr(e){if(!Pe(e)||ut(e)!=ct)return!1;var t=bn(e);if(t===null)return!0;var n=we.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&wn.call(n)==ap}var Da=jc?Ot(jc):um;function gv(e){return Il(e)&&e>=-Je&&e<=Je}var Pl=Hc?Ot(Hc):lm;function Yn(e){return typeof e=="string"||!X(e)&&Pe(e)&&ut(e)==St}function Pt(e){return typeof e=="symbol"||Pe(e)&&ut(e)==j}var br=Vc?Ot(Vc):gm;function fv(e){return e===o}function dv(e){return Pe(e)&&at(e)==Y}function pv(e){return Pe(e)&&ut(e)==F}var mv=Nn(ca),wv=Nn(function(e,t){return e<=t});function Rl(e){if(!e)return[];if(ht(e))return Yn(e)?Yt(e):wt(e);if(Ar&&e[Ar])return Yd(e[Ar]());var t=at(e),n=t==Ye?$i:t==De?dn:_r;return n(e)}function wo(e){if(!e)return e===0?e:0;if(e=jt(e),e===ze||e===-ze){var t=e<0?-1:1;return t*Lt}return e===e?e:0}function J(e){var t=wo(e),n=t%1;return t===t?n?t-n:t:0}function Al(e){return e?$o(J(e),0,Ve):0}function jt(e){if(typeof e=="number")return e;if(Pt(e))return st;if(Oe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Oe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Xc(e);var n=Qf.test(e);return n||Jf.test(e)?Ad(e.slice(2),n?2:8):Xf.test(e)?st:+e}function Cl(e){return oo(e,vt(e))}function hv(e){return e?$o(J(e),-Je,Je):e===0?e:0}function me(e){return e==null?"":kt(e)}var vv=hr(function(e,t){if(jr(t)||ht(t)){oo(t,Qe(t),e);return}for(var n in t)we.call(t,n)&&qr(e,n,t[n])}),Ll=hr(function(e,t){oo(t,vt(t),e)}),$n=hr(function(e,t,n,s){oo(t,vt(t),e,s)}),yv=hr(function(e,t,n,s){oo(t,Qe(t),e,s)}),bv=fo(ta);function _v(e,t){var n=wr(e);return t==null?n:gu(n,t)}var Ev=re(function(e,t){e=ye(e);var n=-1,s=t.length,l=s>2?t[2]:o;for(l&&lt(t[0],t[1],l)&&(s=1);++n<s;)for(var p=t[n],v=vt(p),_=-1,S=v.length;++_<S;){var R=v[_],A=e[R];(A===o||Xt(A,dr[R])&&!we.call(e,R))&&(e[R]=p[R])}return e}),xv=re(function(e){return e.push(o,Xu),It(Dl,o,e)});function Tv(e,t){return Gc(e,W(t,3),to)}function Sv(e,t){return Gc(e,W(t,3),ra)}function Iv(e,t){return e==null?e:oa(e,W(t,3),vt)}function Ov(e,t){return e==null?e:wu(e,W(t,3),vt)}function kv(e,t){return e&&to(e,W(t,3))}function Pv(e,t){return e&&ra(e,W(t,3))}function Rv(e){return e==null?[]:Rn(e,Qe(e))}function Av(e){return e==null?[]:Rn(e,vt(e))}function Ma(e,t,n){var s=e==null?o:Xo(e,t);return s===o?n:s}function Cv(e,t){return e!=null&&Ju(e,t,tm)}function qa(e,t){return e!=null&&Ju(e,t,om)}var Lv=Wu(function(e,t,n){t!=null&&typeof t.toString!="function"&&(t=hn.call(t)),e[t]=n},Na(yt)),Dv=Wu(function(e,t,n){t!=null&&typeof t.toString!="function"&&(t=hn.call(t)),we.call(e,t)?e[t].push(n):e[t]=[n]},W),Mv=re(Nr);function Qe(e){return ht(e)?uu(e):sa(e)}function vt(e){return ht(e)?uu(e,!0):fm(e)}function qv(e,t){var n={};return t=W(t,3),to(e,function(s,l,p){lo(n,t(s,l,p),s)}),n}function Uv(e,t){var n={};return t=W(t,3),to(e,function(s,l,p){lo(n,l,t(s,l,p))}),n}var Nv=hr(function(e,t,n){An(e,t,n)}),Dl=hr(function(e,t,n,s){An(e,t,n,s)}),Bv=fo(function(e,t){var n={};if(e==null)return n;var s=!1;t=Te(t,function(p){return p=Co(p,e),s||(s=p.length>1),p}),oo(e,_a(e),n),s&&(n=Bt(n,m|g|w,Lm));for(var l=t.length;l--;)da(n,t[l]);return n});function Fv(e,t){return Ml(e,Gn(W(t)))}var zv=fo(function(e,t){return e==null?{}:pm(e,t)});function Ml(e,t){if(e==null)return{};var n=Te(_a(e),function(s){return[s]});return t=W(t),Iu(e,n,function(s,l){return t(s,l[0])})}function jv(e,t,n){t=Co(t,e);var s=-1,l=t.length;for(l||(l=1,e=o);++s<l;){var p=e==null?o:e[ro(t[s])];p===o&&(s=l,p=n),e=mo(p)?p.call(e):p}return e}function Hv(e,t,n){return e==null?e:Fr(e,t,n)}function Vv(e,t,n,s){return s=typeof s=="function"?s:o,e==null?e:Fr(e,t,n,s)}var ql=Yu(Qe),Ul=Yu(vt);function Wv(e,t,n){var s=X(e),l=s||Do(e)||br(e);if(t=W(t,4),n==null){var p=e&&e.constructor;l?n=s?new p:[]:Oe(e)?n=mo(p)?wr(bn(e)):{}:n={}}return(l?qt:to)(e,function(v,_,S){return t(n,v,_,S)}),n}function Gv(e,t){return e==null?!0:da(e,t)}function Kv(e,t,n){return e==null?e:Au(e,t,wa(n))}function Yv(e,t,n,s){return s=typeof s=="function"?s:o,e==null?e:Au(e,t,wa(n),s)}function _r(e){return e==null?[]:Yi(e,Qe(e))}function $v(e){return e==null?[]:Yi(e,vt(e))}function Xv(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=jt(n),n=n===n?n:0),t!==o&&(t=jt(t),t=t===t?t:0),$o(jt(e),t,n)}function Qv(e,t,n){return t=wo(t),n===o?(n=t,t=0):n=wo(n),e=jt(e),rm(e,t,n)}function Zv(e,t,n){if(n&&typeof n!="boolean"&&lt(e,t,n)&&(t=n=o),n===o&&(typeof t=="boolean"?(n=t,t=o):typeof e=="boolean"&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=wo(e),t===o?(t=e,e=0):t=wo(t)),e>t){var s=e;e=t,t=s}if(n||e%1||t%1){var l=su();return it(e+l*(t-e+Rd("1e-"+((l+"").length-1))),t)}return la(e,t)}var Jv=vr(function(e,t,n){return t=t.toLowerCase(),e+(n?Nl(t):t)});function Nl(e){return Ua(me(e).toLowerCase())}function Bl(e){return e=me(e),e&&e.replace(td,Hd).replace(bd,"")}function ey(e,t,n){e=me(e),t=kt(t);var s=e.length;n=n===o?s:$o(J(n),0,s);var l=n;return n-=t.length,n>=0&&e.slice(n,l)==t}function ty(e){return e=me(e),e&&Mf.test(e)?e.replace(wc,Vd):e}function oy(e){return e=me(e),e&&zf.test(e)?e.replace(Ci,"\\\\$&"):e}var ry=vr(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),ny=vr(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),iy=ju("toLowerCase");function ay(e,t,n){e=me(e),t=J(t);var s=t?fr(e):0;if(!t||s>=t)return e;var l=(t-s)/2;return Un(Tn(l),n)+e+Un(xn(l),n)}function sy(e,t,n){e=me(e),t=J(t);var s=t?fr(e):0;return t&&s<t?e+Un(t-s,n):e}function cy(e,t,n){e=me(e),t=J(t);var s=t?fr(e):0;return t&&s<t?Un(t-s,n)+e:e}function uy(e,t,n){return n||t==null?t=0:t&&(t=+t),wp(me(e).replace(Li,""),t||0)}function ly(e,t,n){return(n?lt(e,t,n):t===o)?t=1:t=J(t),ga(me(e),t)}function gy(){var e=arguments,t=me(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var fy=vr(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});function dy(e,t,n){return n&&typeof n!="number"&&lt(e,t,n)&&(t=n=o),n=n===o?Ve:n>>>0,n?(e=me(e),e&&(typeof t=="string"||t!=null&&!Da(t))&&(t=kt(t),!t&&gr(e))?Lo(Yt(e),0,n):e.split(t,n)):[]}var py=vr(function(e,t,n){return e+(n?" ":"")+Ua(t)});function my(e,t,n){return e=me(e),n=n==null?0:$o(J(n),0,e.length),t=kt(t),e.slice(n,n+t.length)==t}function wy(e,t,n){var s=f.templateSettings;n&&lt(e,t,n)&&(t=o),e=me(e),t=$n({},t,s,$u);var l=$n({},t.imports,s.imports,$u),p=Qe(l),v=Yi(l,p),_,S,R=0,A=t.interpolate||cn,C="__p += '",D=Xi((t.escape||cn).source+"|"+A.source+"|"+(A===hc?$f:cn).source+"|"+(t.evaluate||cn).source+"|$","g"),B="//# sourceURL="+(we.call(t,"sourceURL")?(t.sourceURL+"").replace(/\\s/g," "):"lodash.templateSources["+ ++Sd+"]")+\`
12
12
  \`;e.replace(D,function(K,ae,ce,Rt,gt,At){return ce||(ce=Rt),C+=e.slice(R,At).replace(od,Wd),ae&&(_=!0,C+=\`' +
13
13
  __e(\`+ae+\`) +
14
14
  '\`),gt&&(S=!0,C+=\`';
@@ -25,8 +25,8 @@ __p += '\`),ce&&(C+=\`' +
25
25
  function print() { __p += __j.call(arguments, '') }
26
26
  \`:\`;
27
27
  \`)+C+\`return __p
28
- }\`;var te=zl(function(){return pe(p,B+"return "+C).apply(o,v)});if(te.source=C,La(te))throw te;return te}function hy(e){return me(e).toLowerCase()}function vy(e){return me(e).toUpperCase()}function yy(e,t,n){if(e=me(e),e&&(n||t===o))return Xc(e);if(!e||!(t=kt(t)))return e;var s=Yt(e),l=Yt(t),p=Qc(s,l),v=Zc(s,l)+1;return Lo(s,p,v).join("")}function by(e,t,n){if(e=me(e),e&&(n||t===o))return e.slice(0,eu(e)+1);if(!e||!(t=kt(t)))return e;var s=Yt(e),l=Zc(s,Yt(t))+1;return Lo(s,0,l).join("")}function _y(e,t,n){if(e=me(e),e&&(n||t===o))return e.replace(Li,"");if(!e||!(t=kt(t)))return e;var s=Yt(e),l=Qc(s,Yt(t));return Lo(s,l).join("")}function Ey(e,t){var n=de,s=xe;if(Oe(t)){var l="separator"in t?t.separator:l;n="length"in t?J(t.length):n,s="omission"in t?kt(t.omission):s}e=me(e);var p=e.length;if(gr(e)){var v=Yt(e);p=v.length}if(n>=p)return e;var _=n-fr(s);if(_<1)return s;var S=v?Lo(v,0,_).join(""):e.slice(0,_);if(l===o)return S+s;if(v&&(_+=S.length-_),Da(l)){if(e.slice(_).search(l)){var R,A=S;for(l.global||(l=Xi(l.source,me(vc.exec(l))+"g")),l.lastIndex=0;R=l.exec(A);)var C=R.index;S=S.slice(0,C===o?_:C)}}else if(e.indexOf(kt(l),_)!=_){var D=S.lastIndexOf(l);D>-1&&(S=S.slice(0,D))}return S+s}function xy(e){return e=me(e),e&&Df.test(e)?e.replace(mc,Zd):e}var Ty=vr(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Ua=ju("toUpperCase");function Fl(e,t,n){return e=me(e),t=n?o:t,t===o?Kd(e)?tp(e):Nd(e):e.match(t)||[]}var zl=re(function(e,t){try{return It(e,o,t)}catch(n){return La(n)?n:new $(n)}}),Sy=fo(function(e,t){return qt(t,function(n){n=ro(n),lo(e,n,Aa(e[n],e))}),e});function Iy(e){var t=e==null?0:e.length,n=W();return e=t?Te(e,function(s){if(typeof s[1]!="function")throw new Ut(c);return[n(s[0]),s[1]]}):[],re(function(s){for(var l=-1;++l<t;){var p=e[l];if(It(p[0],this,s))return It(p[1],this,s)}})}function Oy(e){return Zp(Bt(e,m))}function Na(e){return function(){return e}}function ky(e,t){return e==null||e!==e?t:e}var Py=Vu(),Ry=Vu(!0);function yt(e){return e}function Ba(e){return bu(typeof e=="function"?e:Bt(e,m))}function Ay(e){return Eu(Bt(e,m))}function Cy(e,t){return xu(e,Bt(t,m))}var Ly=re(function(e,t){return function(n){return Nr(n,e,t)}}),Dy=re(function(e,t){return function(n){return Nr(e,n,t)}});function Fa(e,t,n){var s=Xe(t),l=Rn(t,s);n==null&&!(Oe(t)&&(l.length||!s.length))&&(n=t,t=e,e=this,l=Rn(t,Xe(t)));var p=!(Oe(n)&&"chain"in n)||!!n.chain,v=mo(e);return qt(l,function(_){var S=t[_];e[_]=S,v&&(e.prototype[_]=function(){var R=this.__chain__;if(p||R){var A=e(this.__wrapped__),C=A.__actions__=wt(this.__actions__);return C.push({func:S,args:arguments,thisArg:e}),A.__chain__=R,A}return S.apply(e,Io([this.value()],arguments))})}),e}function My(){return $e._===this&&($e._=sp),this}function za(){}function qy(e){return e=J(e),re(function(t){return Tu(t,e)})}var Uy=va(Te),Ny=va(Wc),By=va(Hi);function jl(e){return Sa(e)?Vi(ro(e)):mm(e)}function Fy(e){return function(t){return e==null?o:Xo(e,t)}}var zy=Gu(),jy=Gu(!0);function ja(){return[]}function Ha(){return!1}function Hy(){return{}}function Vy(){return""}function Wy(){return!0}function Gy(e,t){if(e=J(e),e<1||e>Ze)return[];var n=Ve,s=it(e,Ve);t=W(t),e-=Ve;for(var l=Ki(s,t);++n<e;)t(n);return l}function Ky(e){return X(e)?Te(e,ro):Pt(e)?[e]:wt(cl(me(e)))}function Yy(e){var t=++ip;return me(e)+t}var $y=qn(function(e,t){return e+t},0),Xy=ya("ceil"),Qy=qn(function(e,t){return e/t},1),Zy=ya("floor");function Jy(e){return e&&e.length?Pn(e,yt,na):o}function eb(e,t){return e&&e.length?Pn(e,W(t,2),na):o}function tb(e){return Yc(e,yt)}function ob(e,t){return Yc(e,W(t,2))}function rb(e){return e&&e.length?Pn(e,yt,ca):o}function nb(e,t){return e&&e.length?Pn(e,W(t,2),ca):o}var ib=qn(function(e,t){return e*t},1),ab=ya("round"),sb=qn(function(e,t){return e-t},0);function cb(e){return e&&e.length?Gi(e,yt):0}function ub(e,t){return e&&e.length?Gi(e,W(t,2)):0}return f.after=Ah,f.ary=yl,f.assign=vv,f.assignIn=Ll,f.assignInWith=$n,f.assignWith=yv,f.at=bv,f.before=bl,f.bind=Aa,f.bindAll=Sy,f.bindKey=_l,f.castArray=Hh,f.chain=wl,f.chunk=Zm,f.compact=Jm,f.concat=ew,f.cond=Iy,f.conforms=Oy,f.constant=Na,f.countBy=ch,f.create=_v,f.curry=El,f.curryRight=xl,f.debounce=Tl,f.defaults=Ev,f.defaultsDeep=xv,f.defer=Ch,f.delay=Lh,f.difference=tw,f.differenceBy=ow,f.differenceWith=rw,f.drop=nw,f.dropRight=iw,f.dropRightWhile=aw,f.dropWhile=sw,f.fill=cw,f.filter=lh,f.flatMap=dh,f.flatMapDeep=ph,f.flatMapDepth=mh,f.flatten=fl,f.flattenDeep=uw,f.flattenDepth=lw,f.flip=Dh,f.flow=Py,f.flowRight=Ry,f.fromPairs=gw,f.functions=Rv,f.functionsIn=Av,f.groupBy=wh,f.initial=dw,f.intersection=pw,f.intersectionBy=mw,f.intersectionWith=ww,f.invert=Lv,f.invertBy=Dv,f.invokeMap=vh,f.iteratee=Ba,f.keyBy=yh,f.keys=Xe,f.keysIn=vt,f.map=Hn,f.mapKeys=qv,f.mapValues=Uv,f.matches=Ay,f.matchesProperty=Cy,f.memoize=Wn,f.merge=Nv,f.mergeWith=Dl,f.method=Ly,f.methodOf=Dy,f.mixin=Fa,f.negate=Gn,f.nthArg=qy,f.omit=Bv,f.omitBy=Fv,f.once=Mh,f.orderBy=bh,f.over=Uy,f.overArgs=qh,f.overEvery=Ny,f.overSome=By,f.partial=Ca,f.partialRight=Sl,f.partition=_h,f.pick=zv,f.pickBy=Ml,f.property=jl,f.propertyOf=Fy,f.pull=bw,f.pullAll=pl,f.pullAllBy=_w,f.pullAllWith=Ew,f.pullAt=xw,f.range=zy,f.rangeRight=jy,f.rearg=Uh,f.reject=Th,f.remove=Tw,f.rest=Nh,f.reverse=Pa,f.sampleSize=Ih,f.set=Hv,f.setWith=Vv,f.shuffle=Oh,f.slice=Sw,f.sortBy=Rh,f.sortedUniq=Cw,f.sortedUniqBy=Lw,f.split=dy,f.spread=Bh,f.tail=Dw,f.take=Mw,f.takeRight=qw,f.takeRightWhile=Uw,f.takeWhile=Nw,f.tap=Jw,f.throttle=Fh,f.thru=jn,f.toArray=Rl,f.toPairs=ql,f.toPairsIn=Ul,f.toPath=Ky,f.toPlainObject=Cl,f.transform=Wv,f.unary=zh,f.union=Bw,f.unionBy=Fw,f.unionWith=zw,f.uniq=jw,f.uniqBy=Hw,f.uniqWith=Vw,f.unset=Gv,f.unzip=Ra,f.unzipWith=ml,f.update=Kv,f.updateWith=Yv,f.values=_r,f.valuesIn=$v,f.without=Ww,f.words=Fl,f.wrap=jh,f.xor=Gw,f.xorBy=Kw,f.xorWith=Yw,f.zip=$w,f.zipObject=Xw,f.zipObjectDeep=Qw,f.zipWith=Zw,f.entries=ql,f.entriesIn=Ul,f.extend=Ll,f.extendWith=$n,Fa(f,f),f.add=$y,f.attempt=zl,f.camelCase=Jv,f.capitalize=Nl,f.ceil=Xy,f.clamp=Xv,f.clone=Vh,f.cloneDeep=Gh,f.cloneDeepWith=Kh,f.cloneWith=Wh,f.conformsTo=Yh,f.deburr=Bl,f.defaultTo=ky,f.divide=Qy,f.endsWith=ey,f.eq=Xt,f.escape=ty,f.escapeRegExp=oy,f.every=uh,f.find=gh,f.findIndex=ll,f.findKey=Tv,f.findLast=fh,f.findLastIndex=gl,f.findLastKey=Sv,f.floor=Zy,f.forEach=hl,f.forEachRight=vl,f.forIn=Iv,f.forInRight=Ov,f.forOwn=kv,f.forOwnRight=Pv,f.get=Ma,f.gt=$h,f.gte=Xh,f.has=Cv,f.hasIn=qa,f.head=dl,f.identity=yt,f.includes=hh,f.indexOf=fw,f.inRange=Qv,f.invoke=Mv,f.isArguments=Jo,f.isArray=X,f.isArrayBuffer=Qh,f.isArrayLike=ht,f.isArrayLikeObject=Me,f.isBoolean=Zh,f.isBuffer=Do,f.isDate=Jh,f.isElement=ev,f.isEmpty=tv,f.isEqual=ov,f.isEqualWith=rv,f.isError=La,f.isFinite=nv,f.isFunction=mo,f.isInteger=Il,f.isLength=Kn,f.isMap=Ol,f.isMatch=iv,f.isMatchWith=av,f.isNaN=sv,f.isNative=cv,f.isNil=lv,f.isNull=uv,f.isNumber=kl,f.isObject=Oe,f.isObjectLike=Pe,f.isPlainObject=Vr,f.isRegExp=Da,f.isSafeInteger=gv,f.isSet=Pl,f.isString=Yn,f.isSymbol=Pt,f.isTypedArray=br,f.isUndefined=fv,f.isWeakMap=dv,f.isWeakSet=pv,f.join=hw,f.kebabCase=ry,f.last=zt,f.lastIndexOf=vw,f.lowerCase=ny,f.lowerFirst=iy,f.lt=mv,f.lte=wv,f.max=Jy,f.maxBy=eb,f.mean=tb,f.meanBy=ob,f.min=rb,f.minBy=nb,f.stubArray=ja,f.stubFalse=Ha,f.stubObject=Hy,f.stubString=Vy,f.stubTrue=Wy,f.multiply=ib,f.nth=yw,f.noConflict=My,f.noop=za,f.now=Vn,f.pad=ay,f.padEnd=sy,f.padStart=cy,f.parseInt=uy,f.random=Zv,f.reduce=Eh,f.reduceRight=xh,f.repeat=ly,f.replace=gy,f.result=jv,f.round=ab,f.runInContext=x,f.sample=Sh,f.size=kh,f.snakeCase=fy,f.some=Ph,f.sortedIndex=Iw,f.sortedIndexBy=Ow,f.sortedIndexOf=kw,f.sortedLastIndex=Pw,f.sortedLastIndexBy=Rw,f.sortedLastIndexOf=Aw,f.startCase=py,f.startsWith=my,f.subtract=sb,f.sum=cb,f.sumBy=ub,f.template=wy,f.times=Gy,f.toFinite=wo,f.toInteger=J,f.toLength=Al,f.toLower=hy,f.toNumber=jt,f.toSafeInteger=hv,f.toString=me,f.toUpper=vy,f.trim=yy,f.trimEnd=by,f.trimStart=_y,f.truncate=Ey,f.unescape=xy,f.uniqueId=Yy,f.upperCase=Ty,f.upperFirst=Ua,f.each=hl,f.eachRight=vl,f.first=dl,Fa(f,function(){var e={};return to(f,function(t,n){we.call(f.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),f.VERSION=r,qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),qt(["drop","take"],function(e,t){se.prototype[e]=function(n){n=n===o?1:Ge(J(n),0);var s=this.__filtered__&&!t?new se(this):this.clone();return s.__filtered__?s.__takeCount__=it(n,s.__takeCount__):s.__views__.push({size:it(n,Ve),type:e+(s.__dir__<0?"Right":"")}),s},se.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),qt(["filter","map","takeWhile"],function(e,t){var n=t+1,s=n==ee||n==nt;se.prototype[e]=function(l){var p=this.clone();return p.__iteratees__.push({iteratee:W(l,3),type:n}),p.__filtered__=p.__filtered__||s,p}}),qt(["head","last"],function(e,t){var n="take"+(t?"Right":"");se.prototype[e]=function(){return this[n](1).value()[0]}}),qt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");se.prototype[e]=function(){return this.__filtered__?new se(this):this[n](1)}}),se.prototype.compact=function(){return this.filter(yt)},se.prototype.find=function(e){return this.filter(e).head()},se.prototype.findLast=function(e){return this.reverse().find(e)},se.prototype.invokeMap=re(function(e,t){return typeof e=="function"?new se(this):this.map(function(n){return Nr(n,e,t)})}),se.prototype.reject=function(e){return this.filter(Gn(W(e)))},se.prototype.slice=function(e,t){e=J(e);var n=this;return n.__filtered__&&(e>0||t<0)?new se(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=J(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},se.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},se.prototype.toArray=function(){return this.take(Ve)},to(se.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),l=f[s?"take"+(t=="last"?"Right":""):t],p=s||/^find/.test(t);l&&(f.prototype[t]=function(){var v=this.__wrapped__,_=s?[1]:arguments,S=v instanceof se,R=_[0],A=S||X(v),C=function(ae){var ce=l.apply(f,Io([ae],_));return s&&D?ce[0]:ce};A&&n&&typeof R=="function"&&R.length!=1&&(S=A=!1);var D=this.__chain__,B=!!this.__actions__.length,G=p&&!D,te=S&&!B;if(!p&&A){v=te?v:new se(this);var K=e.apply(v,_);return K.__actions__.push({func:jn,args:[C],thisArg:o}),new Nt(K,D)}return G&&te?e.apply(this,_):(K=this.thru(C),G?s?K.value()[0]:K.value():K)})}),qt(["pop","push","shift","sort","splice","unshift"],function(e){var t=pn[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var l=arguments;if(s&&!this.__chain__){var p=this.value();return t.apply(X(p)?p:[],l)}return this[n](function(v){return t.apply(X(v)?v:[],l)})}}),to(se.prototype,function(e,t){var n=f[t];if(n){var s=n.name+"";we.call(mr,s)||(mr[s]=[]),mr[s].push({name:t,func:n})}}),mr[Mn(o,M).name]=[{name:"wrapper",func:o}],se.prototype.clone=xp,se.prototype.reverse=Tp,se.prototype.value=Sp,f.prototype.at=eh,f.prototype.chain=th,f.prototype.commit=oh,f.prototype.next=rh,f.prototype.plant=ih,f.prototype.reverse=ah,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=sh,f.prototype.first=f.prototype.head,Ar&&(f.prototype[Ar]=nh),f},ko=op();typeof define=="function"&&typeof define.amd=="object"&&define.amd?($e._=ko,define(function(){return ko})):Wo?((Wo.exports=ko)._=ko,Bi._=ko):$e._=ko}).call(Or)});var lf=Wa((tn,Si)=>{(function(o,r){"use strict";var i="1.0.36",a="",c="?",u="function",d="undefined",b="object",T="string",m="major",g="model",w="name",h="type",y="vendor",E="version",M="architecture",L="console",O="mobile",P="tablet",U="smarttv",Q="wearable",oe="embedded",Z=350,fe="Amazon",de="Apple",xe="ASUS",He="BlackBerry",Ie="Browser",ee="Chrome",Jt="Edge",nt="Firefox",ze="Google",Ze="Huawei",Lt="LG",st="Microsoft",Ve="Motorola",dt="Opera",xt="Samsung",Wt="Sharp",je="Sony",pt="Viera",Gt="Xiaomi",ge="Zebra",Tt="Facebook",ao="Chromium OS",eo="Mac OS",Dt=function(F,q){var H={};for(var z in F)q[z]&&q[z].length%2===0?H[z]=q[z].concat(F[z]):H[z]=F[z];return H},so=function(F){for(var q={},H=0;H<F.length;H++)q[F[H].toUpperCase()]=F[H];return q},Ke=function(F,q){return typeof F===T?Je(q).indexOf(Je(F))!==-1:!1},Je=function(F){return F.toLowerCase()},Ho=function(F){return typeof F===T?F.replace(/[^\\d\\.]/g,a).split(".")[0]:r},ct=function(F,q){if(typeof F===T)return F=F.replace(/^\\s\\s*/,a),typeof q===d?F:F.substring(0,Z)},Kt=function(F,q){for(var H=0,z,Ye,_e,ie,V,mt;H<q.length&&!V;){var Vo=q[H],cr=q[H+1];for(z=Ye=0;z<Vo.length&&!V&&Vo[z];)if(V=Vo[z++].exec(F),V)for(_e=0;_e<cr.length;_e++)mt=V[++Ye],ie=cr[_e],typeof ie===b&&ie.length>0?ie.length===2?typeof ie[1]==u?this[ie[0]]=ie[1].call(this,mt):this[ie[0]]=ie[1]:ie.length===3?typeof ie[1]===u&&!(ie[1].exec&&ie[1].test)?this[ie[0]]=mt?ie[1].call(this,mt,ie[2]):r:this[ie[0]]=mt?mt.replace(ie[1],ie[2]):r:ie.length===4&&(this[ie[0]]=mt?ie[3].call(this,mt.replace(ie[1],ie[2])):r):this[ie]=mt||r;H+=2}},To=function(F,q){for(var H in q)if(typeof q[H]===b&&q[H].length>0){for(var z=0;z<q[H].length;z++)if(Ke(q[H][z],F))return H===c?r:H}else if(Ke(q[H],F))return H===c?r:H;return F},Le={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},De={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"},St={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[E,[w,"Chrome"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[E,[w,"Edge"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[w,E],[/opios[\\/ ]+([\\w\\.]+)/i],[E,[w,dt+" Mini"]],[/\\bopr\\/([\\w\\.]+)/i],[E,[w,dt]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,/(heytap|ovi)browser\\/([\\d\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[w,E],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[E,[w,"UC"+Ie]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i],[E,[w,"WeChat(Win) Desktop"]],[/micromessenger\\/([\\w\\.]+)/i],[E,[w,"WeChat"]],[/konqueror\\/([\\w\\.]+)/i],[E,[w,"Konqueror"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[E,[w,"IE"]],[/ya(?:search)?browser\\/([\\w\\.]+)/i],[E,[w,"Yandex"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[w,/(.+)/,"$1 Secure "+Ie],E],[/\\bfocus\\/([\\w\\.]+)/i],[E,[w,nt+" Focus"]],[/\\bopt\\/([\\w\\.]+)/i],[E,[w,dt+" Touch"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[E,[w,"Coc Coc"]],[/dolfin\\/([\\w\\.]+)/i],[E,[w,"Dolphin"]],[/coast\\/([\\w\\.]+)/i],[E,[w,dt+" Coast"]],[/miuibrowser\\/([\\w\\.]+)/i],[E,[w,"MIUI "+Ie]],[/fxios\\/([-\\w\\.]+)/i],[E,[w,nt]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[w,"360 "+Ie]],[/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],[[w,/(.+)/,"$1 "+Ie],E],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[w,/_/g," "],E],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[w,E],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i,/\\[(linkedin)app\\]/i],[w],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[w,Tt],E],[/(kakao(?:talk|story))[\\/ ]([\\w\\.]+)/i,/(naver)\\(.*?(\\d+\\.[\\w\\.]+).*\\)/i,/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram|snapchat)[\\/ ]([-\\w\\.]+)/i],[w,E],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[E,[w,"GSA"]],[/musical_ly(?:.+app_?version\\/|_)([\\w\\.]+)/i],[E,[w,"TikTok"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[E,[w,ee+" Headless"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[w,ee+" WebView"],E],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[E,[w,"Android "+Ie]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[w,E],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[E,[w,"Mobile Safari"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[E,w],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[w,[E,To,Le]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[w,E],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[w,"Netscape"],E],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[E,[w,nt+" Reality"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\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|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i,/panasonic;(viera)/i],[w,E],[/(cobalt)\\/([\\w\\.]+)/i],[w,[E,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[M,"amd64"]],[/(ia32(?=;))/i],[[M,Je]],[/((?:i[346]|x)86)[;\\)]/i],[[M,"ia32"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[M,"arm64"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[M,"armhf"]],[/windows (ce|mobile); ppc;/i],[[M,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[M,/ower/,a,Je]],[/(sun4\\w)[;\\)]/i],[[M,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[M,Je]]],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],[g,[y,xt],[h,P]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|sc[g-]?[\\d]+a?|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[g,[y,xt],[h,O]],[/(?:\\/|\\()(ip(?:hone|od)[\\w, ]*)(?:\\/|;)/i],[g,[y,de],[h,O]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[g,[y,de],[h,P]],[/(macintosh);/i],[g,[y,de]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[g,[y,Wt],[h,O]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[g,[y,Ze],[h,P]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[g,[y,Ze],[h,O]],[/\\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,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[g,/_/g," "],[y,Gt],[h,O]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[g,/_/g," "],[y,Gt],[h,P]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[g,[y,"OPPO"],[h,O]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[g,[y,"Vivo"],[h,O]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[g,[y,"Realme"],[h,O]],[/\\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],[g,[y,Ve],[h,O]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[g,[y,Ve],[h,P]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[g,[y,Lt],[h,P]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[g,[y,Lt],[h,O]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[g,[y,"Lenovo"],[h,P]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[g,/_/g," "],[y,"Nokia"],[h,O]],[/(pixel c)\\b/i],[g,[y,ze],[h,P]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[g,[y,ze],[h,O]],[/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],[g,[y,je],[h,O]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[g,"Xperia Tablet"],[y,je],[h,P]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[g,[y,"OnePlus"],[h,O]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[g,[y,fe],[h,P]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[g,/(.+)/g,"Fire Phone $1"],[y,fe],[h,O]],[/(playbook);[-\\w\\),; ]+(rim)/i],[g,y,[h,P]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[g,[y,He],[h,O]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[g,[y,xe],[h,P]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[g,[y,xe],[h,O]],[/(nexus 9)/i],[g,[y,"HTC"],[h,P]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\\.))|sony(?!-bra))[-_ ]?([-\\w]*)/i],[y,[g,/_/g," "],[h,O]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[g,[y,"Acer"],[h,P]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[g,[y,"Meizu"],[h,O]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[y,g,[h,O]],[/(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],[y,g,[h,P]],[/(surface duo)/i],[g,[y,st],[h,P]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[g,[y,"Fairphone"],[h,O]],[/(u304aa)/i],[g,[y,"AT&T"],[h,O]],[/\\bsie-(\\w*)/i],[g,[y,"Siemens"],[h,O]],[/\\b(rct\\w+) b/i],[g,[y,"RCA"],[h,P]],[/\\b(venue[\\d ]{2,7}) b/i],[g,[y,"Dell"],[h,P]],[/\\b(q(?:mv|ta)\\w+) b/i],[g,[y,"Verizon"],[h,P]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[g,[y,"Barnes & Noble"],[h,P]],[/\\b(tm\\d{3}\\w+) b/i],[g,[y,"NuVision"],[h,P]],[/\\b(k88) b/i],[g,[y,"ZTE"],[h,P]],[/\\b(nx\\d{3}j) b/i],[g,[y,"ZTE"],[h,O]],[/\\b(gen\\d{3}) b.+49h/i],[g,[y,"Swiss"],[h,O]],[/\\b(zur\\d{3}) b/i],[g,[y,"Swiss"],[h,P]],[/\\b((zeki)?tb.*\\b) b/i],[g,[y,"Zeki"],[h,P]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[y,"Dragon Touch"],g,[h,P]],[/\\b(ns-?\\w{0,9}) b/i],[g,[y,"Insignia"],[h,P]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[g,[y,"NextBook"],[h,P]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[y,"Voice"],g,[h,O]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[y,"LvTel"],g,[h,O]],[/\\b(ph-1) /i],[g,[y,"Essential"],[h,O]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[g,[y,"Envizen"],[h,P]],[/\\b(trio[-\\w\\. ]+) b/i],[g,[y,"MachSpeed"],[h,P]],[/\\btu_(1491) b/i],[g,[y,"Rotor"],[h,P]],[/(shield[\\w ]+) b/i],[g,[y,"Nvidia"],[h,P]],[/(sprint) (\\w+)/i],[y,g,[h,O]],[/(kin\\.[onetw]{3})/i],[[g,/\\./g," "],[y,st],[h,O]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[g,[y,ge],[h,P]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[g,[y,ge],[h,O]],[/smart-tv.+(samsung)/i],[y,[h,U]],[/hbbtv.+maple;(\\d+)/i],[[g,/^/,"SmartTV"],[y,xt],[h,U]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[y,Lt],[h,U]],[/(apple) ?tv/i],[y,[g,de+" TV"],[h,U]],[/crkey/i],[[g,ee+"cast"],[y,ze],[h,U]],[/droid.+aft(\\w+)( bui|\\))/i],[g,[y,fe],[h,U]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[g,[y,Wt],[h,U]],[/(bravia[\\w ]+)( bui|\\))/i],[g,[y,je],[h,U]],[/(mitv-\\w{5}) bui/i],[g,[y,Gt],[h,U]],[/Hbbtv.*(technisat) (.*);/i],[y,g,[h,U]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w\\+ ]*; *([\\w\\d][^;]*);([^;]*)/i],[[y,ct],[g,ct],[h,U]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[h,U]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[y,g,[h,L]],[/droid.+; (shield) bui/i],[g,[y,"Nvidia"],[h,L]],[/(playstation [345portablevi]+)/i],[g,[y,je],[h,L]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[g,[y,st],[h,L]],[/((pebble))app/i],[y,g,[h,Q]],[/(watch)(?: ?os[,\\/]|\\d,\\d\\/)[\\d\\.]+/i],[g,[y,de],[h,Q]],[/droid.+; (glass) \\d/i],[g,[y,ze],[h,Q]],[/droid.+; (wt63?0{2,3})\\)/i],[g,[y,ge],[h,Q]],[/(quest( 2| pro)?)/i],[g,[y,Tt],[h,Q]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[y,[h,oe]],[/(aeobc)\\b/i],[g,[y,fe],[h,oe]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[g,[h,O]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[g,[h,P]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[h,P]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[h,O]],[/(android[-\\w\\. ]{0,9});.+buil/i],[g,[y,"Generic"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[E,[w,Jt+"HTML"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[E,[w,"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],[w,E],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[E,w]],os:[[/microsoft (windows) (vista|xp)/i],[w,E],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[w,[E,To,De]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[w,"Windows"],[E,To,De]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/(?:ios;fbsv\\/|iphone.+ios[\\/ ])([\\d\\.]+)/i,/cfnetwork\\/.+darwin/i],[[E,/_/g,"."],[w,"iOS"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[w,eo],[E,/_/g,"."]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[E,w],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[w,E],[/\\(bb(10);/i],[E,[w,He]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[E,[w,"Symbian"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[E,[w,nt+" OS"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[E,[w,"webOS"]],[/watch(?: ?os[,\\/]|\\d,\\d\\/)([\\d\\.]+)/i],[E,[w,"watchOS"]],[/crkey\\/([\\d\\.]+)/i],[E,[w,ee+"cast"]],[/(cros) [\\w]+(?:\\)| ([\\w\\.]+)\\b)/i],[[w,ao],E],[/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],[w,E],[/(sunos) ?([\\w\\.\\d]*)/i],[[w,"Solaris"],E],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\\w\\.]*)/i],[w,E]]},j=function(F,q){if(typeof F===b&&(q=F,F=r),!(this instanceof j))return new j(F,q).getResult();var H=typeof o!==d&&o.navigator?o.navigator:r,z=F||(H&&H.userAgent?H.userAgent:a),Ye=H&&H.userAgentData?H.userAgentData:r,_e=q?Dt(St,q):St,ie=H&&H.userAgent==z;return this.getBrowser=function(){var V={};return V[w]=r,V[E]=r,Kt.call(V,z,_e.browser),V[m]=Ho(V[E]),ie&&H&&H.brave&&typeof H.brave.isBrave==u&&(V[w]="Brave"),V},this.getCPU=function(){var V={};return V[M]=r,Kt.call(V,z,_e.cpu),V},this.getDevice=function(){var V={};return V[y]=r,V[g]=r,V[h]=r,Kt.call(V,z,_e.device),ie&&!V[h]&&Ye&&Ye.mobile&&(V[h]=O),ie&&V[g]=="Macintosh"&&H&&typeof H.standalone!==d&&H.maxTouchPoints&&H.maxTouchPoints>2&&(V[g]="iPad",V[h]=P),V},this.getEngine=function(){var V={};return V[w]=r,V[E]=r,Kt.call(V,z,_e.engine),V},this.getOS=function(){var V={};return V[w]=r,V[E]=r,Kt.call(V,z,_e.os),ie&&!V[w]&&Ye&&Ye.platform!="Unknown"&&(V[w]=Ye.platform.replace(/chrome os/i,ao).replace(/macos/i,eo)),V},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 z},this.setUA=function(V){return z=typeof V===T&&V.length>Z?ct(V,Z):V,this},this.setUA(z),this};j.VERSION=i,j.BROWSER=so([w,E,m]),j.CPU=so([M]),j.DEVICE=so([g,y,h,L,O,U,P,Q,oe]),j.ENGINE=j.OS=so([w,E]),typeof tn!==d?(typeof Si!==d&&Si.exports&&(tn=Si.exports=j),tn.UAParser=j):typeof define===u&&define.amd?define(function(){return j}):typeof o!==d&&(o.UAParser=j);var ne=typeof o!==d&&(o.jQuery||o.Zepto);if(ne&&!ne.ua){var Y=new j;ne.ua=Y.getResult(),ne.ua.get=function(){return Y.getUA()},ne.ua.set=function(F){Y.setUA(F);var q=Y.getResult();for(var H in q)ne.ua[H]=q[H]}}})(typeof window=="object"?window:tn)});var no=(o,r)=>{Ka(o);let i=o.querySelector("aside");i.dataset.view=r,i.classList.remove("section-ready"),setTimeout(()=>{i.classList.add("section-ready")},200)},Vl=o=>{Array.from(o.querySelectorAll(".back-button")).forEach(r=>{r.addEventListener("click",i=>{Ka(o),i.preventDefault(),i.stopPropagation();let a=i.target;no(o,a?.dataset.back||"nav-home")})})},Ga=(o,r)=>{Ka(o);let i=o.querySelector("aside"),a=document.createElement("div");a.className="ui-toast",a.innerHTML=r,i.appendChild(a),setTimeout(()=>{a.classList.add("ui-toast-show"),setTimeout(()=>{a.classList.remove("ui-toast-show"),setTimeout(()=>{a.remove()},500)},4e3)},30)},Ka=o=>{let r=o.querySelector("aside");Array.from(r.querySelectorAll(".ui-toast")).forEach(a=>{a.classList.remove("ui-toast-show")})},Qn=()=>{let o=Wl();return localStorage.getItem(o)!=="true"},Ya=o=>{let r=Wl();o?localStorage.removeItem(r):localStorage.setItem(r,"true")},Wl=()=>hb("disableEdit"),hb=o=>\`builder.__LOCAL_APP_ID__.\${o}\`,Gl=()=>{let r=document.body.querySelector("[builder-content-id]")?.getAttribute("builder-content-id");return Wr(r)},Wr=(o,r)=>{let i="/content";o&&(i+="/"+o+"/edit");let a=new URL(i,"https://builder.io");o&&r&&a.searchParams.set("selectedBlock",r);let c=new URL(location.pathname,location.href);return a.searchParams.set("overridePreviewUrl",c.href),a.href},Zn="__DEV_TOOLS_URL__",tt={components:[],registryPath:"",registryDisplayPath:"",frameworks:[]},vo=o=>{tt.components=o.components,tt.registryPath=o.registryPath,tt.registryDisplayPath=o.registryDisplayPath};function Kl(o){let r=null,i=document.querySelector("builder-dev-tools-menu"),a=()=>{o.hide()},c=b=>{let T=b.target;if(!T){a();return}if(T.closest("builder-dev-tools-edit"))return;let m=T.closest("[builder-content-id]"),g=T.closest("[builder-id]");if(!m||!g){o.hide();return}let w=o.show(m,g);!w||w===r||(i.highlightOpener(),r=w)};document.addEventListener("pointerover",c,{passive:!0}),document.addEventListener("pointerleave",a,{passive:!0}),document.addEventListener("pointercancel",a,{passive:!0}),document.addEventListener("visibilitychange",a,{passive:!0}),window.addEventListener("popstate",a,{passive:!0});let u=history.pushState;history.pushState=function(...b){o.hide(),u.apply(this,b)};let d=history.replaceState;history.replaceState=function(...b){o.hide(),d.apply(this,b)}}var Jn=class extends HTMLElement{constructor(){super();this.openInBuilder=null;this.block=null}connectedCallback(){this.setAttribute("aria-hidden","true");let i=this.attachShadow({mode:"open"});i.innerHTML='<style>*,*:before,*:after{box-sizing:border-box}:host{--background-color: rgba(40, 40, 40, 1);--primary-color: rgba(72, 161, 255, 1);--primary-color-subdued: rgb(72, 161, 255, .6);--primary-color-highlight: rgb(126, 188, 255);--primary-contrast-color: white;--edit-color: #1d74e2;--edit-color-highlight: #1c6bd1;--edit-color-alpha: rgb(72, 161, 255, .15);--error-color: #ff2b55;--text-color: white;--text-color-highlight: white;--border-color: #454545;--button-background-color-hover: rgba(255, 255, 255, .1);--menu-width: 320px;--transition-time: .15s;--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";font-family:var(--font-family);line-height:1.6}button{cursor:pointer;color:var(--text-color);-webkit-tap-highlight-color:transparent}input,select,button{font-family:var(--font-family)}:host{display:none;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2147483646;user-select:none;pointer-events:none;color:var(--text-color)}#content-highlight,#block{position:absolute}#content-highlight{border:3px solid var(--primary-color);background-color:var(--primary-color-alpha)}a{position:absolute;top:-33px;left:0;display:block;padding:5px 10px 8px;pointer-events:auto;z-index:100;text-decoration:none}a:hover{text-decoration:none}a span{display:block;padding:3px 6px;font-size:10px;font-weight:300;border-radius:3px;text-align:center;text-decoration:none;pointer-events:none;background-color:var(--edit-color);color:var(--text-color);white-space:nowrap}a:hover span{background-color:var(--edit-color-highlight)}a:hover~.outline{border-color:var(--edit-color-highlight)}#open-in-editor{display:none}.outline{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid var(--edit-color);background-color:var(--edit-color-alpha)}</style><div id="block"> <a id="open-in-builder" target="builder"><span>Open In Builder</span></a> <a id="open-in-editor" href="#open-in-editor"><span>Open In Editor</span></a> <div class="outline"></div> </div>',this.openInBuilder=i.getElementById("open-in-builder"),this.block=i.getElementById("block"),Kl(this)}show(i,a){if(!Qn())return this.hide(),null;let c=i.getAttribute("builder-content-id"),u=a.getAttribute("builder-id");if(!c||!u)return this.hide(),null;let d=this.block,b=this.openInBuilder,T=a.getBoundingClientRect();d.style.top=T.top+window.scrollY-1+"px",d.style.left=T.left+window.scrollX+"px",d.style.width=T.width+"px",d.style.height=T.height+1+"px";let m=b.getBoundingClientRect();if(m.width>T.width){let g=m.width-T.width;b.style.left=g/2*-1+"px"}else b.style.left="";return b.href=Wr(c,u),this.style.display="block",u}hide(){this.style.display=""}};var Yl="preview-url";var $l="_b-uid";var Xl="/~builder-connect";var Ql="/~builder-dev-tools";var Zl="https://cdn.builder.io/api/v1/proxy-api?url=https://api2.amplitude.com/2/httpapi";var Jl=()=>yo({type:"validateBuilder"}),Er=o=>yo({type:"launchEditor",data:o}),eg=o=>yo({type:"getRegistry",data:o}),tg=o=>yo({type:"loadComponent",data:o}),og=o=>yo({type:"registerComponent",data:o}),rg=o=>yo({type:"setComponentInfo",data:o}),ei=o=>yo({type:"setComponentInput",data:o}),ng=o=>yo({type:"unregisterComponent",data:o}),ig=o=>yo({type:"enableDevTools",data:{enabled:o}}),yo=async o=>{let r=new URL(Ql,Zn),i;try{i=await fetch(r,{method:"POST",body:JSON.stringify(o)})}catch(c){throw console.error(\`Devtools Fetch Error, \${r.href}\`,c),new Error("Builder Devtools Fetch Error")}if((i.headers.get("content-type")||"").includes("application/json")){let c=await i.json();if(i.ok)return c.data;if(Array.isArray(c.errors)&&c.errors.length>0)throw c.errors.forEach(u=>console.error(u)),new Error(\`Builder Devtools Fetch Error: \${c.errors[0]}\`)}throw new Error(\`Builder Devtools Fetch Error: \${i.status}, \${await i.text()}\`)};var ag=[{value:"boolean",text:"boolean"},{value:"color",text:"color (provides a color in hex or rgb)"},{value:"date",text:"date (same format as the Date constructor)"},{value:"email",text:"email"},{value:"file",text:"file (uploads a file and provides a url)"},{value:"list",text:"list (collection of items)"},{value:"longText",text:"longText (multiline text editor)"},{value:"number",text:"number"},{value:"object",text:"object (set of specific names and values)"},{value:"richText",text:"richText (provides value as html)"},{value:"string",text:"string"}],ti=["color","date","email","file","longText","richText","string"],oi=["number"],ri=["boolean"],ni=["list"],ii=["object"];function ai(o){return ti.includes(o)?"string":oi.includes(o)?"number":ri.includes(o)?"boolean":ni.includes(o)?"array":ii.includes(o)?"object":"string"}var A_=new Set(["about","accessKey","accessKeyLabel","asChild","autoCapitalize","autoCorrect","autoFocus","autoSave","blur","contentEditable","contextMenu","dangerouslySetInnerHTML","datatype","defaultChecked","defaultValue","dir","draggable","enterKeyHint","focus","form","formAction","formEncType","formMethod","formNoValidate","formTarget","inlist","innerText","inputMode","is","isContentEditable","itemID","itemProp","itemRef","itemScope","itemType","lang","nonce","offsetHeight","offsetLeft","offsetTop","offsetWidth","outerText","prefix","property","radioGroup","rel","resource","results","rev","role","security","slot","spellCheck","suppressContentEditableWarning","suppressHydrationWarning","tabIndex","translate","typeof","unselectable","vocab"].map(o=>o.toLowerCase()));var Se=function(){return Se=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},Se.apply(this,arguments)};function sg(o,r){var i={};for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&r.indexOf(a)<0&&(i[a]=o[a]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(o);c<a.length;c++)r.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(o,a[c])&&(i[a[c]]=o[a[c]]);return i}function Ue(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function Ne(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function io(o){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&o[r],a=0;if(i)return i.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&a>=o.length&&(o=void 0),{value:o&&o[a++],done:!o}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ct(o,r){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),c,u=[],d;try{for(;(r===void 0||r-- >0)&&!(c=a.next()).done;)u.push(c.value)}catch(b){d={error:b}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(d)throw d.error}}return u}function bo(o,r,i){if(i||arguments.length===2)for(var a=0,c=r.length,u;a<c;a++)(u||!(a in r))&&(u||(u=Array.prototype.slice.call(r,0,a)),u[a]=r[a]);return o.concat(u||Array.prototype.slice.call(r))}var Be;(function(o){o.SET="$set",o.SET_ONCE="$setOnce",o.ADD="$add",o.APPEND="$append",o.PREPEND="$prepend",o.REMOVE="$remove",o.PREINSERT="$preInsert",o.POSTINSERT="$postInsert",o.UNSET="$unset",o.CLEAR_ALL="$clearAll"})(Be||(Be={}));var _o;(function(o){o.REVENUE_PRODUCT_ID="$productId",o.REVENUE_QUANTITY="$quantity",o.REVENUE_PRICE="$price",o.REVENUE_TYPE="$revenueType",o.REVENUE="$revenue"})(_o||(_o={}));var Mo;(function(o){o.IDENTIFY="$identify",o.GROUP_IDENTIFY="$groupidentify",o.REVENUE="revenue_amount"})(Mo||(Mo={}));var ft;(function(o){o[o.None=0]="None",o[o.Error=1]="Error",o[o.Warn=2]="Warn",o[o.Verbose=3]="Verbose",o[o.Debug=4]="Debug"})(ft||(ft={}));var ve;(function(o){o.BEFORE="before",o.ENRICHMENT="enrichment",o.DESTINATION="destination"})(ve||(ve={}));var xr;(function(o){o.US="US",o.EU="EU"})(xr||(xr={}));var ke;(function(o){o.Unknown="unknown",o.Skipped="skipped",o.Success="success",o.RateLimit="rate_limit",o.PayloadTooLarge="payload_too_large",o.Invalid="invalid",o.Failed="failed",o.Timeout="Timeout",o.SystemError="SystemError"})(ke||(ke={}));var Tr;(function(o){o.XHR="xhr",o.SendBeacon="beacon",o.Fetch="fetch"})(Tr||(Tr={}));var $a="-",er="AMP",Xa="".concat(er,"_unsent"),Qa="https://api2.amplitude.com/2/httpapi",cg="https://api.eu.amplitude.com/2/httpapi",ug="https://api2.amplitude.com/batch",lg="https://api.eu.amplitude.com/batch";var yb=1e3,si=function(o){if(Object.keys(o).length>yb)return!1;for(var r in o){var i=o[r];if(!Za(r,i))return!1}return!0},Za=function(o,r){var i,a;if(typeof o!="string")return!1;if(Array.isArray(r)){var c=!0;try{for(var u=io(r),d=u.next();!d.done;d=u.next()){var b=d.value;if(Array.isArray(b))return!1;if(typeof b=="object")c=c&&si(b);else if(!["number","string"].includes(typeof b))return!1;if(!c)return!1}}catch(T){i={error:T}}finally{try{d&&!d.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}}else{if(r==null)return!1;if(typeof r=="object")return si(r);if(!["number","string","boolean"].includes(typeof r))return!1}return!0};var Ht=function(){function o(){this._propertySet=new Set,this._properties={}}return o.prototype.getUserProperties=function(){return Se({},this._properties)},o.prototype.set=function(r,i){return this._safeSet(Be.SET,r,i),this},o.prototype.setOnce=function(r,i){return this._safeSet(Be.SET_ONCE,r,i),this},o.prototype.append=function(r,i){return this._safeSet(Be.APPEND,r,i),this},o.prototype.prepend=function(r,i){return this._safeSet(Be.PREPEND,r,i),this},o.prototype.postInsert=function(r,i){return this._safeSet(Be.POSTINSERT,r,i),this},o.prototype.preInsert=function(r,i){return this._safeSet(Be.PREINSERT,r,i),this},o.prototype.remove=function(r,i){return this._safeSet(Be.REMOVE,r,i),this},o.prototype.add=function(r,i){return this._safeSet(Be.ADD,r,i),this},o.prototype.unset=function(r){return this._safeSet(Be.UNSET,r,$a),this},o.prototype.clearAll=function(){return this._properties={},this._properties[Be.CLEAR_ALL]=$a,this},o.prototype._safeSet=function(r,i,a){if(this._validate(r,i,a)){var c=this._properties[r];return c===void 0&&(c={},this._properties[r]=c),c[i]=a,this._propertySet.add(i),!0}return!1},o.prototype._validate=function(r,i,a){return this._properties[Be.CLEAR_ALL]!==void 0||this._propertySet.has(i)?!1:r===Be.ADD?typeof a=="number":r!==Be.UNSET&&r!==Be.REMOVE?Za(i,a):!0},o}();var gg=function(o,r,i){var a=typeof o=="string"?{event_type:o}:o;return Se(Se(Se({},a),i),r&&{event_properties:r})},Gr=function(o,r){var i=Se(Se({},r),{event_type:Mo.IDENTIFY,user_properties:o.getUserProperties()});return i},fg=function(o,r,i,a){var c,u=Se(Se({},a),{event_type:Mo.GROUP_IDENTIFY,group_properties:i.getUserProperties(),groups:(c={},c[o]=r,c)});return u},dg=function(o,r,i){var a,c=new Ht;c.set(o,r);var u=Se(Se({},i),{event_type:Mo.IDENTIFY,user_properties:c.getUserProperties(),groups:(a={},a[o]=r,a)});return u},pg=function(o,r){return Se(Se({},r),{event_type:Mo.REVENUE,event_properties:o.getEventProperties()})};var qo=function(o,r,i){return r===void 0&&(r=0),i===void 0&&(i=ke.Unknown),{event:o,code:r,message:i}};var mg=function(){function o(r){this.client=r,this.queue=[],this.applying=!1,this.plugins=[]}return o.prototype.register=function(r,i){return Ue(this,void 0,void 0,function(){return Ne(this,function(a){switch(a.label){case 0:return[4,r.setup(i,this.client)];case 1:return a.sent(),this.plugins.push(r),[2]}})})},o.prototype.deregister=function(r){var i;return Ue(this,void 0,void 0,function(){var a,c;return Ne(this,function(u){switch(u.label){case 0:return a=this.plugins.findIndex(function(d){return d.name===r}),c=this.plugins[a],this.plugins.splice(a,1),[4,(i=c.teardown)===null||i===void 0?void 0:i.call(c)];case 1:return u.sent(),[2]}})})},o.prototype.reset=function(r){this.applying=!1;var i=this.plugins;i.map(function(a){var c;return(c=a.teardown)===null||c===void 0?void 0:c.call(a)}),this.plugins=[],this.client=r},o.prototype.push=function(r){var i=this;return new Promise(function(a){i.queue.push([r,a]),i.scheduleApply(0)})},o.prototype.scheduleApply=function(r){var i=this;this.applying||(this.applying=!0,setTimeout(function(){i.apply(i.queue.shift()).then(function(){i.applying=!1,i.queue.length>0&&i.scheduleApply(0)})},r))},o.prototype.apply=function(r){return Ue(this,void 0,void 0,function(){var i,a,c,u,d,b,T,y,E,m,g,w,h,y,E,M,L,O,P,U,Q,oe;return Ne(this,function(Z){switch(Z.label){case 0:if(!r)return[2];i=Ct(r,1),a=i[0],c=Ct(r,2),u=c[1],d=this.plugins.filter(function(fe){return fe.type===ve.BEFORE}),Z.label=1;case 1:Z.trys.push([1,6,7,8]),b=io(d),T=b.next(),Z.label=2;case 2:return T.done?[3,5]:(y=T.value,[4,y.execute(Se({},a))]);case 3:if(E=Z.sent(),E===null)return u({event:a,code:0,message:""}),[2];a=E,Z.label=4;case 4:return T=b.next(),[3,2];case 5:return[3,8];case 6:return m=Z.sent(),P={error:m},[3,8];case 7:try{T&&!T.done&&(U=b.return)&&U.call(b)}finally{if(P)throw P.error}return[7];case 8:g=this.plugins.filter(function(fe){return fe.type===ve.ENRICHMENT}),Z.label=9;case 9:Z.trys.push([9,14,15,16]),w=io(g),h=w.next(),Z.label=10;case 10:return h.done?[3,13]:(y=h.value,[4,y.execute(Se({},a))]);case 11:if(E=Z.sent(),E===null)return u({event:a,code:0,message:""}),[2];a=E,Z.label=12;case 12:return h=w.next(),[3,10];case 13:return[3,16];case 14:return M=Z.sent(),Q={error:M},[3,16];case 15:try{h&&!h.done&&(oe=w.return)&&oe.call(w)}finally{if(Q)throw Q.error}return[7];case 16:return L=this.plugins.filter(function(fe){return fe.type===ve.DESTINATION}),O=L.map(function(fe){var de=Se({},a);return fe.execute(de).catch(function(xe){return qo(de,0,String(xe))})}),Promise.all(O).then(function(fe){var de=Ct(fe,1),xe=de[0];u(xe)}),[2]}})})},o.prototype.flush=function(){return Ue(this,void 0,void 0,function(){var r,i,a,c=this;return Ne(this,function(u){switch(u.label){case 0:return r=this.queue,this.queue=[],[4,Promise.all(r.map(function(d){return c.apply(d)}))];case 1:return u.sent(),i=this.plugins.filter(function(d){return d.type===ve.DESTINATION}),a=i.map(function(d){return d.flush&&d.flush()}),[4,Promise.all(a)];case 2:return u.sent(),[2]}})})},o}();var wg="Event tracked successfully",hg="Unexpected error occurred",vg="Event rejected due to exceeded retry count",yg="Event skipped due to optOut config",bg="Event rejected due to missing API key",_g="Invalid API key",Eg="Client not initialized";var bt=function(o){return{promise:o||Promise.resolve()}};var Ja=function(){function o(r){r===void 0&&(r="$default"),this.initializing=!1,this.q=[],this.dispatchQ=[],this.logEvent=this.track.bind(this),this.timeline=new mg(this),this.name=r}return o.prototype._init=function(r){return Ue(this,void 0,void 0,function(){return Ne(this,function(i){switch(i.label){case 0:return this.config=r,this.timeline.reset(this),[4,this.runQueuedFunctions("q")];case 1:return i.sent(),[2]}})})},o.prototype.runQueuedFunctions=function(r){return Ue(this,void 0,void 0,function(){var i,a,c,u,d,b,T;return Ne(this,function(m){switch(m.label){case 0:i=this[r],this[r]=[],m.label=1;case 1:m.trys.push([1,6,7,8]),a=io(i),c=a.next(),m.label=2;case 2:return c.done?[3,5]:(u=c.value,[4,u()]);case 3:m.sent(),m.label=4;case 4:return c=a.next(),[3,2];case 5:return[3,8];case 6:return d=m.sent(),b={error:d},[3,8];case 7:try{c&&!c.done&&(T=a.return)&&T.call(a)}finally{if(b)throw b.error}return[7];case 8:return[2]}})})},o.prototype.track=function(r,i,a){var c=gg(r,i,a);return bt(this.dispatch(c))},o.prototype.identify=function(r,i){var a=Gr(r,i);return bt(this.dispatch(a))},o.prototype.groupIdentify=function(r,i,a,c){var u=fg(r,i,a,c);return bt(this.dispatch(u))},o.prototype.setGroup=function(r,i,a){var c=dg(r,i,a);return bt(this.dispatch(c))},o.prototype.revenue=function(r,i){var a=pg(r,i);return bt(this.dispatch(a))},o.prototype.add=function(r){return this.config?bt(this.timeline.register(r,this.config)):(this.q.push(this.add.bind(this,r)),bt())},o.prototype.remove=function(r){return this.config?bt(this.timeline.deregister(r)):(this.q.push(this.remove.bind(this,r)),bt())},o.prototype.dispatchWithCallback=function(r,i){if(!this.config)return i(qo(r,0,Eg));this.process(r).then(i)},o.prototype.dispatch=function(r){return Ue(this,void 0,void 0,function(){var i=this;return Ne(this,function(a){return this.config?[2,this.process(r)]:[2,new Promise(function(c){i.dispatchQ.push(i.dispatchWithCallback.bind(i,r,c))})]})})},o.prototype.process=function(r){return Ue(this,void 0,void 0,function(){var c,i,a,c;return Ne(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),this.config.optOut?[2,qo(r,0,yg)]:[4,this.timeline.push(r)];case 1:return c=u.sent(),c.code===200?this.config.loggerProvider.log(c.message):this.config.loggerProvider.error(c.message),[2,c];case 2:return i=u.sent(),a=String(i),this.config.loggerProvider.error(a),c=qo(r,0,a),[2,c];case 3:return[2]}})})},o.prototype.setOptOut=function(r){if(!this.config){this.q.push(this.setOptOut.bind(this,!!r));return}this.config.optOut=!!r},o.prototype.flush=function(){return bt(this.timeline.flush())},o}();var ci=function(){function o(){this.productId="",this.quantity=1,this.price=0}return o.prototype.setProductId=function(r){return this.productId=r,this},o.prototype.setQuantity=function(r){return r>0&&(this.quantity=r),this},o.prototype.setPrice=function(r){return this.price=r,this},o.prototype.setRevenueType=function(r){return this.revenueType=r,this},o.prototype.setRevenue=function(r){return this.revenue=r,this},o.prototype.setEventProperties=function(r){return si(r)&&(this.properties=r),this},o.prototype.getEventProperties=function(){var r=this.properties?Se({},this.properties):{};return r[_o.REVENUE_PRODUCT_ID]=this.productId,r[_o.REVENUE_QUANTITY]=this.quantity,r[_o.REVENUE_PRICE]=this.price,r[_o.REVENUE_TYPE]=this.revenueType,r[_o.REVENUE]=this.revenue,r},o}();var xg=function(o,r){var i=Math.max(r,1);return o.reduce(function(a,c,u){var d=Math.floor(u/i);return a[d]||(a[d]=[]),a[d].push(c),a},[])};var ui="Amplitude Logger ",Tg=function(){function o(){this.logLevel=ft.None}return o.prototype.disable=function(){this.logLevel=ft.None},o.prototype.enable=function(r){r===void 0&&(r=ft.Warn),this.logLevel=r},o.prototype.log=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this.logLevel<ft.Verbose||console.log("".concat(ui,"[Log]: ").concat(r.join(" ")))},o.prototype.warn=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this.logLevel<ft.Warn||console.warn("".concat(ui,"[Warn]: ").concat(r.join(" ")))},o.prototype.error=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this.logLevel<ft.Error||console.error("".concat(ui,"[Error]: ").concat(r.join(" ")))},o.prototype.debug=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this.logLevel<ft.Debug||console.log("".concat(ui,"[Debug]: ").concat(r.join(" ")))},o}();var li=function(){return{flushMaxRetries:12,flushQueueSize:200,flushIntervalMillis:1e4,instanceName:"$default_instance",logLevel:ft.Warn,loggerProvider:new Tg,optOut:!1,serverUrl:Qa,serverZone:xr.US,useBatch:!1}},es=function(){function o(r){var i,a,c,u;this._optOut=!1;var d=li();this.apiKey=r.apiKey,this.flushIntervalMillis=(i=r.flushIntervalMillis)!==null&&i!==void 0?i:d.flushIntervalMillis,this.flushMaxRetries=r.flushMaxRetries||d.flushMaxRetries,this.flushQueueSize=r.flushQueueSize||d.flushQueueSize,this.instanceName=r.instanceName||d.instanceName,this.loggerProvider=r.loggerProvider||d.loggerProvider,this.logLevel=(a=r.logLevel)!==null&&a!==void 0?a:d.logLevel,this.minIdLength=r.minIdLength,this.plan=r.plan,this.ingestionMetadata=r.ingestionMetadata,this.optOut=(c=r.optOut)!==null&&c!==void 0?c:d.optOut,this.serverUrl=r.serverUrl,this.serverZone=r.serverZone||d.serverZone,this.storageProvider=r.storageProvider,this.transportProvider=r.transportProvider,this.useBatch=(u=r.useBatch)!==null&&u!==void 0?u:d.useBatch,this.loggerProvider.enable(this.logLevel);var b=ts(r.serverUrl,r.serverZone,r.useBatch);this.serverZone=b.serverZone,this.serverUrl=b.serverUrl}return Object.defineProperty(o.prototype,"optOut",{get:function(){return this._optOut},set:function(r){this._optOut=r},enumerable:!1,configurable:!0}),o}();var bb=function(o,r){return o===xr.EU?r?lg:cg:r?ug:Qa},ts=function(o,r,i){if(o===void 0&&(o=""),r===void 0&&(r=li().serverZone),i===void 0&&(i=li().useBatch),o)return{serverUrl:o,serverZone:void 0};var a=["US","EU"].includes(r)?r:li().serverZone;return{serverZone:a,serverUrl:bb(a,i)}};function _b(o){return o instanceof Error?o.message:String(o)}function gi(o){var r="";try{"body"in o&&(r=JSON.stringify(o.body))}catch{}return r}var os=function(){function o(){this.name="amplitude",this.type=ve.DESTINATION,this.retryTimeout=1e3,this.throttleTimeout=3e4,this.storageKey="",this.scheduled=null,this.queue=[]}return o.prototype.setup=function(r){var i;return Ue(this,void 0,void 0,function(){var a,c=this;return Ne(this,function(u){switch(u.label){case 0:return this.config=r,this.storageKey="".concat(Xa,"_").concat(this.config.apiKey.substring(0,10)),[4,(i=this.config.storageProvider)===null||i===void 0?void 0:i.get(this.storageKey)];case 1:return a=u.sent(),this.saveEvents(),a&&a.length>0&&Promise.all(a.map(function(d){return c.execute(d)})).catch(),[2,Promise.resolve(void 0)]}})})},o.prototype.execute=function(r){var i=this;return new Promise(function(a){var c={event:r,attempts:0,callback:function(u){return a(u)},timeout:0};i.addToQueue(c)})},o.prototype.addToQueue=function(){for(var r=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var c=i.filter(function(u){return u.attempts<r.config.flushMaxRetries?(u.attempts+=1,!0):(r.fulfillRequest([u],500,vg),!1)});c.forEach(function(u){if(r.queue=r.queue.concat(u),u.timeout===0){r.schedule(r.config.flushIntervalMillis);return}setTimeout(function(){u.timeout=0,r.schedule(0)},u.timeout)}),this.saveEvents()},o.prototype.schedule=function(r){var i=this;this.scheduled||(this.scheduled=setTimeout(function(){i.flush(!0).then(function(){i.queue.length>0&&i.schedule(r)})},r))},o.prototype.flush=function(r){return r===void 0&&(r=!1),Ue(this,void 0,void 0,function(){var i,a,c,u=this;return Ne(this,function(d){switch(d.label){case 0:return i=[],a=[],this.queue.forEach(function(b){return b.timeout===0?i.push(b):a.push(b)}),this.queue=a,this.scheduled&&(clearTimeout(this.scheduled),this.scheduled=null),c=xg(i,this.config.flushQueueSize),[4,Promise.all(c.map(function(b){return u.send(b,r)}))];case 1:return d.sent(),[2]}})})},o.prototype.send=function(r,i){return i===void 0&&(i=!0),Ue(this,void 0,void 0,function(){var a,c,u,d,b;return Ne(this,function(T){switch(T.label){case 0:if(!this.config.apiKey)return[2,this.fulfillRequest(r,400,bg)];a={api_key:this.config.apiKey,events:r.map(function(m){var g=m.event,w=g.extra,h=sg(g,["extra"]);return h}),options:{min_id_length:this.config.minIdLength}},T.label=1;case 1:return T.trys.push([1,3,,4]),c=ts(this.config.serverUrl,this.config.serverZone,this.config.useBatch).serverUrl,[4,this.config.transportProvider.send(c,a)];case 2:return u=T.sent(),u===null?(this.fulfillRequest(r,0,hg),[2]):i?(this.handleResponse(u,r),[3,4]):("body"in u?this.fulfillRequest(r,u.statusCode,"".concat(u.status,": ").concat(gi(u))):this.fulfillRequest(r,u.statusCode,u.status),[2]);case 3:return d=T.sent(),b=_b(d),this.config.loggerProvider.error(b),this.fulfillRequest(r,0,b),[3,4];case 4:return[2]}})})},o.prototype.handleResponse=function(r,i){var a=r.status;switch(a){case ke.Success:{this.handleSuccessResponse(r,i);break}case ke.Invalid:{this.handleInvalidResponse(r,i);break}case ke.PayloadTooLarge:{this.handlePayloadTooLargeResponse(r,i);break}case ke.RateLimit:{this.handleRateLimitResponse(r,i);break}default:{this.config.loggerProvider.warn(\`{code: 0, error: "Status '\`.concat(a,"' provided for ").concat(i.length,' events"}')),this.handleOtherResponse(i);break}}},o.prototype.handleSuccessResponse=function(r,i){this.fulfillRequest(i,r.statusCode,wg)},o.prototype.handleInvalidResponse=function(r,i){var a=this;if(r.body.missingField||r.body.error.startsWith(_g)){this.fulfillRequest(i,r.statusCode,r.body.error);return}var c=bo(bo(bo(bo([],Ct(Object.values(r.body.eventsWithInvalidFields)),!1),Ct(Object.values(r.body.eventsWithMissingFields)),!1),Ct(Object.values(r.body.eventsWithInvalidIdLengths)),!1),Ct(r.body.silencedEvents),!1).flat(),u=new Set(c),d=i.filter(function(b,T){if(u.has(T)){a.fulfillRequest([b],r.statusCode,r.body.error);return}return!0});d.length>0&&this.config.loggerProvider.warn(gi(r)),this.addToQueue.apply(this,bo([],Ct(d),!1))},o.prototype.handlePayloadTooLargeResponse=function(r,i){if(i.length===1){this.fulfillRequest(i,r.statusCode,r.body.error);return}this.config.loggerProvider.warn(gi(r)),this.config.flushQueueSize/=2,this.addToQueue.apply(this,bo([],Ct(i),!1))},o.prototype.handleRateLimitResponse=function(r,i){var a=this,c=Object.keys(r.body.exceededDailyQuotaUsers),u=Object.keys(r.body.exceededDailyQuotaDevices),d=r.body.throttledEvents,b=new Set(c),T=new Set(u),m=new Set(d),g=i.filter(function(w,h){if(w.event.user_id&&b.has(w.event.user_id)||w.event.device_id&&T.has(w.event.device_id)){a.fulfillRequest([w],r.statusCode,r.body.error);return}return m.has(h)&&(w.timeout=a.throttleTimeout),!0});g.length>0&&this.config.loggerProvider.warn(gi(r)),this.addToQueue.apply(this,bo([],Ct(g),!1))},o.prototype.handleOtherResponse=function(r){var i=this;this.addToQueue.apply(this,bo([],Ct(r.map(function(a){return a.timeout=a.attempts*i.retryTimeout,a})),!1))},o.prototype.fulfillRequest=function(r,i,a){this.saveEvents(),r.forEach(function(c){return c.callback(qo(c.event,i,a))})},o.prototype.saveEvents=function(){if(this.config.storageProvider){var r=Array.from(this.queue.map(function(i){return i.event}));this.config.storageProvider.set(this.storageKey,r)}},o}();var Eb=function(o){o===void 0&&(o=0);var r=new Error().stack||"";return r.split(\`
29
- \`).slice(2+o).map(function(i){return i.trim()})},Re=function(o){return function(){var r=Se({},o.config),i=r.loggerProvider,a=r.logLevel;return{logger:i,logLevel:a}}},xb=function(o,r){var i,a;r=r.replace(/\\[(\\w+)\\]/g,".$1"),r=r.replace(/^\\./,"");try{for(var c=io(r.split(".")),u=c.next();!u.done;u=c.next()){var d=u.value;if(d in o)o=o[d];else return}}catch(b){i={error:b}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return o},Ae=function(o,r){return function(){var i,a,c={};try{for(var u=io(r),d=u.next();!d.done;d=u.next()){var b=d.value;c[b]=xb(o,b)}}catch(T){i={error:T}}finally{try{d&&!d.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return c}},Ce=function(o,r,i,a,c){return c===void 0&&(c=null),function(){for(var u=[],d=0;d<arguments.length;d++)u[d]=arguments[d];var b=i(),T=b.logger,m=b.logLevel;if(m&&m<ft.Debug||!m||!T)return o.apply(c,u);var g={type:"invoke public method",name:r,args:u,stacktrace:Eb(1),time:{start:new Date().toISOString()},states:{}};a&&g.states&&(g.states.before=a());var w=o.apply(c,u);return w&&w.promise?w.promise.then(function(){a&&g.states&&(g.states.after=a()),g.time&&(g.time.end=new Date().toISOString()),T.debug(JSON.stringify(g,null,2))}):(a&&g.states&&(g.states.after=a()),g.time&&(g.time.end=new Date().toISOString()),T.debug(JSON.stringify(g,null,2))),w}};var Uo=function(o){return o?(o^Math.random()*16>>o/4).toString(16):(String(1e7)+String(-1e3)+String(-4e3)+String(-8e3)+String(-1e11)).replace(/[018]/g,Uo)};var fi=function(){function o(){this.memoryStorage=new Map}return o.prototype.isEnabled=function(){return Ue(this,void 0,void 0,function(){return Ne(this,function(r){return[2,!0]})})},o.prototype.get=function(r){return Ue(this,void 0,void 0,function(){return Ne(this,function(i){return[2,this.memoryStorage.get(r)]})})},o.prototype.getRaw=function(r){return Ue(this,void 0,void 0,function(){var i;return Ne(this,function(a){switch(a.label){case 0:return[4,this.get(r)];case 1:return i=a.sent(),[2,i?JSON.stringify(i):void 0]}})})},o.prototype.set=function(r,i){return Ue(this,void 0,void 0,function(){return Ne(this,function(a){return this.memoryStorage.set(r,i),[2]})})},o.prototype.remove=function(r){return Ue(this,void 0,void 0,function(){return Ne(this,function(i){return this.memoryStorage.delete(r),[2]})})},o.prototype.reset=function(){return Ue(this,void 0,void 0,function(){return Ne(this,function(r){return this.memoryStorage.clear(),[2]})})},o}();var tr=function(){function o(){}return o.prototype.send=function(r,i){return Promise.resolve(null)},o.prototype.buildResponse=function(r){var i,a,c,u,d,b,T,m,g,w,h,y,E,M,L,O,P,U,Q,oe,Z,fe;if(typeof r!="object")return null;var de=r.code||0,xe=this.buildStatus(de);switch(xe){case ke.Success:return{status:xe,statusCode:de,body:{eventsIngested:(i=r.events_ingested)!==null&&i!==void 0?i:0,payloadSizeBytes:(a=r.payload_size_bytes)!==null&&a!==void 0?a:0,serverUploadTime:(c=r.server_upload_time)!==null&&c!==void 0?c:0}};case ke.Invalid:return{status:xe,statusCode:de,body:{error:(u=r.error)!==null&&u!==void 0?u:"",missingField:(d=r.missing_field)!==null&&d!==void 0?d:"",eventsWithInvalidFields:(b=r.events_with_invalid_fields)!==null&&b!==void 0?b:{},eventsWithMissingFields:(T=r.events_with_missing_fields)!==null&&T!==void 0?T:{},eventsWithInvalidIdLengths:(m=r.events_with_invalid_id_lengths)!==null&&m!==void 0?m:{},epsThreshold:(g=r.eps_threshold)!==null&&g!==void 0?g:0,exceededDailyQuotaDevices:(w=r.exceeded_daily_quota_devices)!==null&&w!==void 0?w:{},silencedDevices:(h=r.silenced_devices)!==null&&h!==void 0?h:[],silencedEvents:(y=r.silenced_events)!==null&&y!==void 0?y:[],throttledDevices:(E=r.throttled_devices)!==null&&E!==void 0?E:{},throttledEvents:(M=r.throttled_events)!==null&&M!==void 0?M:[]}};case ke.PayloadTooLarge:return{status:xe,statusCode:de,body:{error:(L=r.error)!==null&&L!==void 0?L:""}};case ke.RateLimit:return{status:xe,statusCode:de,body:{error:(O=r.error)!==null&&O!==void 0?O:"",epsThreshold:(P=r.eps_threshold)!==null&&P!==void 0?P:0,throttledDevices:(U=r.throttled_devices)!==null&&U!==void 0?U:{},throttledUsers:(Q=r.throttled_users)!==null&&Q!==void 0?Q:{},exceededDailyQuotaDevices:(oe=r.exceeded_daily_quota_devices)!==null&&oe!==void 0?oe:{},exceededDailyQuotaUsers:(Z=r.exceeded_daily_quota_users)!==null&&Z!==void 0?Z:{},throttledEvents:(fe=r.throttled_events)!==null&&fe!==void 0?fe:[]}};case ke.Timeout:default:return{status:xe,statusCode:de}}},o.prototype.buildStatus=function(r){return r>=200&&r<300?ke.Success:r===429?ke.RateLimit:r===413?ke.PayloadTooLarge:r===408?ke.Timeout:r>=400&&r<500?ke.Invalid:r>=500?ke.Failed:ke.Unknown},o}();var rs=function(o,r){return rs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(i[c]=a[c])},rs(o,r)};function No(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");rs(o,r);function i(){this.constructor=o}o.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}var he=function(){return he=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},he.apply(this,arguments)};function ue(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function le(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function Sg(o){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&o[r],a=0;if(i)return i.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&a>=o.length&&(o=void 0),{value:o&&o[a++],done:!o}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function di(o,r){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),c,u=[],d;try{for(;(r===void 0||r-- >0)&&!(c=a.next()).done;)u.push(c.value)}catch(b){d={error:b}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(d)throw d.error}}return u}var Tb=function(){function o(){}return o.prototype.getApplicationContext=function(){return{versionName:this.versionName,language:Sb(),platform:"Web",os:void 0,deviceModel:void 0}},o}(),Sb=function(){return typeof navigator<"u"&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},Ib=function(){function o(){this.queue=[]}return o.prototype.logEvent=function(r){this.receiver?this.receiver(r):this.queue.length<512&&this.queue.push(r)},o.prototype.setEventReceiver=function(r){this.receiver=r,this.queue.length>0&&(this.queue.forEach(function(i){r(i)}),this.queue=[])},o}(),Bo=function(){return Bo=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},Bo.apply(this,arguments)},pi=function(o,r){var i=["string","number","boolean","undefined"],a=typeof o,c=typeof r;if(a!==c)return!1;for(var u=0,d=i;u<d.length;u++){var b=d[u];if(b===a)return o===r}if(o==null&&r==null)return!0;if(o==null||r==null||o.length!==r.length)return!1;var T=Array.isArray(o),m=Array.isArray(r);if(T!==m)return!1;if(T&&m){for(var g=0;g<o.length;g++)if(!pi(o[g],r[g]))return!1}else{var w=Object.keys(o).sort(),h=Object.keys(r).sort();if(!pi(w,h))return!1;var y=!0;return Object.keys(o).forEach(function(E){pi(o[E],r[E])||(y=!1)}),y}return!0},Ob="$set",kb="$unset",Pb="$clearAll";Object.entries||(Object.entries=function(o){for(var r=Object.keys(o),i=r.length,a=new Array(i);i--;)a[i]=[r[i],o[r[i]]];return a});var Rb=function(){function o(){this.identity={userProperties:{}},this.listeners=new Set}return o.prototype.editIdentity=function(){var r=this,i=Bo({},this.identity.userProperties),a=Bo(Bo({},this.identity),{userProperties:i});return{setUserId:function(c){return a.userId=c,this},setDeviceId:function(c){return a.deviceId=c,this},setUserProperties:function(c){return a.userProperties=c,this},setOptOut:function(c){return a.optOut=c,this},updateUserProperties:function(c){for(var u=a.userProperties||{},d=0,b=Object.entries(c);d<b.length;d++){var T=b[d],m=T[0],g=T[1];switch(m){case Ob:for(var w=0,h=Object.entries(g);w<h.length;w++){var y=h[w],E=y[0],M=y[1];u[E]=M}break;case kb:for(var L=0,O=Object.keys(g);L<O.length;L++){var E=O[L];delete u[E]}break;case Pb:u={};break}}return a.userProperties=u,this},commit:function(){return r.setIdentity(a),this}}},o.prototype.getIdentity=function(){return Bo({},this.identity)},o.prototype.setIdentity=function(r){var i=Bo({},this.identity);this.identity=Bo({},r),pi(i,this.identity)||this.listeners.forEach(function(a){a(r)})},o.prototype.addIdentityListener=function(r){this.listeners.add(r)},o.prototype.removeIdentityListener=function(r){this.listeners.delete(r)},o}(),Kr=typeof globalThis<"u"?globalThis:typeof global<"u"?global:self,Ig=function(){function o(){this.identityStore=new Rb,this.eventBridge=new Ib,this.applicationContextProvider=new Tb}return o.getInstance=function(r){return Kr.analyticsConnectorInstances||(Kr.analyticsConnectorInstances={}),Kr.analyticsConnectorInstances[r]||(Kr.analyticsConnectorInstances[r]=new o),Kr.analyticsConnectorInstances[r]},o}();var Eo=function(o){return o===void 0&&(o="$default_instance"),Ig.getInstance(o)},ns=function(o,r){Eo(r).identityStore.editIdentity().setUserId(o).commit()},is=function(o,r){Eo(r).identityStore.editIdentity().setDeviceId(o).commit()},as=function(o,r){Eo(r).identityStore.editIdentity().setOptOut(o).commit()};var ss=function(o,r){return ss=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(i[c]=a[c])},ss(o,r)};function Og(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");ss(o,r);function i(){this.constructor=o}o.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}var xo=function(){return xo=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},xo.apply(this,arguments)};function _t(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function Et(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}var ot=function(){if(typeof globalThis<"u")return globalThis;if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof global<"u")return global};var Sr=function(){var o,r=ot();if(!(!((o=r?.location)===null||o===void 0)&&o.search))return{};var i=r.location.search.substring(1).split("&").filter(Boolean),a=i.reduce(function(c,u){var d=u.split("=",2),b=kg(d[0]),T=kg(d[1]);return T&&(c[b]=T),c},{});return a},kg=function(o){o===void 0&&(o="");try{return decodeURIComponent(o)}catch{return""}};var Pg="utm_campaign",Rg="utm_content",Ag="utm_id",Cg="utm_medium",Lg="utm_source",Dg="utm_term",cs="dclid",us="fbclid",ls="gbraid",gs="gclid",fs="ko_click_id",ds="li_fat_id",ps="msclkid",ms="rtd_cid",ws="ttclid",hs="twclid",vs="wbraid";var or={utm_campaign:void 0,utm_content:void 0,utm_id:void 0,utm_medium:void 0,utm_source:void 0,utm_term:void 0,referrer:void 0,referring_domain:void 0,dclid:void 0,gbraid:void 0,gclid:void 0,fbclid:void 0,ko_click_id:void 0,li_fat_id:void 0,msclkid:void 0,rtd_cid:void 0,ttclid:void 0,twclid:void 0,wbraid:void 0};var Yr=function(){function o(){}return o.prototype.parse=function(){return _t(this,void 0,void 0,function(){return Et(this,function(r){return[2,xo(xo(xo(xo({},or),this.getUtmParam()),this.getReferrer()),this.getClickIds())]})})},o.prototype.getUtmParam=function(){var r=Sr(),i=r[Pg],a=r[Rg],c=r[Ag],u=r[Cg],d=r[Lg],b=r[Dg];return{utm_campaign:i,utm_content:a,utm_id:c,utm_medium:u,utm_source:d,utm_term:b}},o.prototype.getReferrer=function(){var r,i,a={referrer:void 0,referring_domain:void 0};try{a.referrer=document.referrer||void 0,a.referring_domain=(i=(r=a.referrer)===null||r===void 0?void 0:r.split("/")[2])!==null&&i!==void 0?i:void 0}catch{}return a},o.prototype.getClickIds=function(){var r,i=Sr();return r={},r[cs]=i[cs],r[us]=i[us],r[ls]=i[ls],r[gs]=i[gs],r[fs]=i[fs],r[ds]=i[ds],r[ps]=i[ps],r[ms]=i[ms],r[ws]=i[ws],r[hs]=i[hs],r[vs]=i[vs],r},o}();var $r=function(o,r,i){return r===void 0&&(r=""),i===void 0&&(i=10),[er,r,o.substring(0,i)].filter(Boolean).join("_")},ys=function(o){return"".concat(er.toLowerCase(),"_").concat(o.substring(0,6))};var bs=function(o){return typeof o=="boolean"?o:!!o?.fileDownloads},_s=function(o){return typeof o=="boolean"?o:!!o?.formInteractions},Mg=function(o){return typeof o=="boolean"?o:!!(o?.pageViews===!0||o?.pageViews&&typeof o.pageViews=="object")},Es=function(o){return typeof o=="boolean"?o:!!o?.sessions},xs=function(o){var r,i=!((r=o.attribution)===null||r===void 0)&&r.trackPageViews?"attribution":function(){return!1},a=void 0,c="Page View",u=Mg(o.defaultTracking);return u&&(i=void 0,c=void 0,o.defaultTracking&&typeof o.defaultTracking=="object"&&o.defaultTracking.pageViews&&typeof o.defaultTracking.pageViews=="object"&&("trackOn"in o.defaultTracking.pageViews&&(i=o.defaultTracking.pageViews.trackOn),"trackHistoryChanges"in o.defaultTracking.pageViews&&(a=o.defaultTracking.pageViews.trackHistoryChanges),"eventType"in o.defaultTracking.pageViews&&o.defaultTracking.pageViews.eventType&&(c=o.defaultTracking.pageViews.eventType))),{trackOn:i,trackHistoryChanges:a,eventType:c}};var Ts=function(){var o,r,i,a;if(typeof navigator>"u")return"";var c=navigator.userLanguage;return(a=(i=(r=(o=navigator.languages)===null||o===void 0?void 0:o[0])!==null&&r!==void 0?r:navigator.language)!==null&&i!==void 0?i:c)!==null&&a!==void 0?a:""};var Ss=function(){function o(){this.name="identity",this.type=ve.BEFORE,this.identityStore=Eo().identityStore}return o.prototype.execute=function(r){return _t(this,void 0,void 0,function(){var i;return Et(this,function(a){return i=r.user_properties,i&&this.identityStore.editIdentity().updateUserProperties(i).commit(),[2,r]})})},o.prototype.setup=function(r){return _t(this,void 0,void 0,function(){return Et(this,function(i){return r.instanceName&&(this.identityStore=Eo(r.instanceName).identityStore),[2]})})},o}();var Xr=function(){function o(r){this.options=xo({},r)}return o.prototype.isEnabled=function(){return _t(this,void 0,void 0,function(){var r,i,a,c;return Et(this,function(u){switch(u.label){case 0:if(!ot())return[2,!1];o.testValue=String(Date.now()),r=new o(this.options),i="AMP_TEST",u.label=1;case 1:return u.trys.push([1,4,5,7]),[4,r.set(i,o.testValue)];case 2:return u.sent(),[4,r.get(i)];case 3:return a=u.sent(),[2,a===o.testValue];case 4:return c=u.sent(),[2,!1];case 5:return[4,r.remove(i)];case 6:return u.sent(),[7];case 7:return[2]}})})},o.prototype.get=function(r){return _t(this,void 0,void 0,function(){var i;return Et(this,function(a){switch(a.label){case 0:return[4,this.getRaw(r)];case 1:if(i=a.sent(),!i)return[2,void 0];try{try{i=decodeURIComponent(atob(i))}catch{}return[2,JSON.parse(i)]}catch{return[2,void 0]}return[2]}})})},o.prototype.getRaw=function(r){var i;return _t(this,void 0,void 0,function(){var a,c,u;return Et(this,function(d){return a=ot(),c=(i=a?.document.cookie.split("; "))!==null&&i!==void 0?i:[],u=c.find(function(b){return b.indexOf(r+"=")===0}),u?[2,u.substring(r.length+1)]:[2,void 0]})})},o.prototype.set=function(r,i){var a;return _t(this,void 0,void 0,function(){var c,u,d,b,T,m;return Et(this,function(g){try{c=(a=this.options.expirationDays)!==null&&a!==void 0?a:0,u=i!==null?c:-1,d=void 0,u&&(b=new Date,b.setTime(b.getTime()+u*24*60*60*1e3),d=b),T="".concat(r,"=").concat(btoa(encodeURIComponent(JSON.stringify(i)))),d&&(T+="; expires=".concat(d.toUTCString())),T+="; path=/",this.options.domain&&(T+="; domain=".concat(this.options.domain)),this.options.secure&&(T+="; Secure"),this.options.sameSite&&(T+="; SameSite=".concat(this.options.sameSite)),m=ot(),m&&(m.document.cookie=T)}catch{}return[2]})})},o.prototype.remove=function(r){return _t(this,void 0,void 0,function(){return Et(this,function(i){switch(i.label){case 0:return[4,this.set(r,null)];case 1:return i.sent(),[2]}})})},o.prototype.reset=function(){return _t(this,void 0,void 0,function(){return Et(this,function(r){return[2]})})},o}();var Is=function(o){Og(r,o);function r(){return o!==null&&o.apply(this,arguments)||this}return r.prototype.send=function(i,a){return _t(this,void 0,void 0,function(){var c,u,d;return Et(this,function(b){switch(b.label){case 0:if(typeof fetch>"u")throw new Error("FetchTransport is not supported");return c={headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(a),method:"POST"},[4,fetch(i,c)];case 1:return u=b.sent(),[4,u.json()];case 2:return d=b.sent(),[2,this.buildResponse(d)]}})})},r}(tr);var rr=function(){return rr=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},rr.apply(this,arguments)};function nr(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function ir(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function Qr(o,r){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),c,u=[],d;try{for(;(r===void 0||r-- >0)&&!(c=a.next()).done;)u.push(c.value)}catch(b){d={error:b}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(d)throw d.error}}return u}function Os(o,r,i){if(i||arguments.length===2)for(var a=0,c=r.length,u;a<c;a++)(u||!(a in r))&&(u||(u=Array.prototype.slice.call(r,0,a)),u[a]=r[a]);return o.concat(u||Array.prototype.slice.call(r))}var qg=function(o){var r={};for(var i in o){var a=o[i];a&&(r[i]=a)}return r};var ks=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i,a={},c=ot(),u=void 0,d,b=Qr(o,2),T=b[0],m=b[1];T&&"init"in T?(i=T,m&&(a=m)):T&&(a=T);var g=function(){return nr(void 0,void 0,void 0,function(){var L,O,P;return ir(this,function(U){switch(U.label){case 0:return O={event_type:(P=a.eventType)!==null&&P!==void 0?P:"Page View"},L=[{}],[4,Ab()];case 1:return[2,(O.event_properties=rr.apply(void 0,[rr.apply(void 0,L.concat([U.sent()])),{page_domain:typeof location<"u"&&location.hostname||"",page_location:typeof location<"u"&&location.href||"",page_path:typeof location<"u"&&location.pathname||"",page_title:typeof document<"u"&&document.title||"",page_url:typeof location<"u"&&location.href.split("?")[0]||""}]),O)]}})})},w=function(){return typeof a.trackOn>"u"||typeof a.trackOn=="function"&&a.trackOn()},h=typeof location<"u"?location.href:null,y=function(){return nr(void 0,void 0,void 0,function(){var L,O,P,U,Q;return ir(this,function(oe){switch(oe.label){case 0:return L=location.href,O=Lb(a.trackHistoryChanges,L,h||"")&&w(),h=L,O?(u?.log("Tracking page view event"),i!=null?[3,1]:(P=void 0,[3,3])):[3,4];case 1:return Q=(U=i).track,[4,g()];case 2:P=Q.apply(U,[oe.sent()]),oe.label=3;case 3:oe.label=4;case 4:return[2]}})})},E=function(){y()},M={name:"page-view-tracking",type:ve.ENRICHMENT,setup:function(L,O){return nr(void 0,void 0,void 0,function(){var P,U,Q,oe,Z;return ir(this,function(fe){switch(fe.label){case 0:return i=i??O,i?(u=L.loggerProvider,u.log("Installing @amplitude/plugin-page-view-tracking-browser"),a.trackOn=!((oe=L.attribution)===null||oe===void 0)&&oe.trackPageViews?"attribution":a.trackOn,!O&&(!((Z=L.attribution)===null||Z===void 0)&&Z.trackPageViews)&&(u.warn("@amplitude/plugin-page-view-tracking-browser overrides page view tracking behavior defined in @amplitude/analytics-browser. Resolve by disabling page view tracking in @amplitude/analytics-browser."),L.attribution.trackPageViews=!1),a.trackHistoryChanges&&c&&(c.addEventListener("popstate",E),d=c.history.pushState,c.history.pushState=new Proxy(c.history.pushState,{apply:function(de,xe,He){var Ie=Qr(He,3),ee=Ie[0],Jt=Ie[1],nt=Ie[2];de.apply(xe,[ee,Jt,nt]),y()}})),w()?(u.log("Tracking page view event"),Q=(U=i).track,[4,g()]):[3,2]):(P=T?"Options":"undefined",L.loggerProvider.error("Argument of type '".concat(P,"' is not assignable to parameter of type 'BrowserClient'.")),[2]);case 1:Q.apply(U,[fe.sent()]),fe.label=2;case 2:return[2]}})})},execute:function(L){return nr(void 0,void 0,void 0,function(){var O;return ir(this,function(P){switch(P.label){case 0:return a.trackOn==="attribution"&&Cb(L)?(u?.log("Enriching campaign event to page view event with campaign parameters"),[4,g()]):[3,2];case 1:O=P.sent(),L.event_type=O.event_type,L.event_properties=rr(rr({},L.event_properties),O.event_properties),P.label=2;case 2:return[2,L]}})})},teardown:function(){return nr(void 0,void 0,void 0,function(){return ir(this,function(L){return c&&(c.removeEventListener("popstate",E),d&&(c.history.pushState=d)),[2]})})}};return M.__trackHistoryPageView=y,M},Ab=function(){return nr(void 0,void 0,void 0,function(){var o;return ir(this,function(r){switch(r.label){case 0:return o=qg,[4,new Yr().parse()];case 1:return[2,o.apply(void 0,[r.sent()])]}})})},Cb=function(o){if(o.event_type==="$identify"&&o.user_properties){var r=o.user_properties,i=r[Be.SET]||{},a=r[Be.UNSET]||{},c=Os(Os([],Qr(Object.keys(i)),!1),Qr(Object.keys(a)),!1);return Object.keys(or).every(function(u){return c.includes(u)})}return!1},Lb=function(o,r,i){switch(o){case"pathOnly":return r.split("?")[0]!==i.split("?")[0];default:return r!==i}};var Fo=function(){return Fo=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},Fo.apply(this,arguments)};function Ps(o,r){var i={};for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&r.indexOf(a)<0&&(i[a]=o[a]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(o);c<a.length;c++)r.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(o,a[c])&&(i[a[c]]=o[a[c]]);return i}function Rs(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function As(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function Zr(o,r){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),c,u=[],d;try{for(;(r===void 0||r-- >0)&&!(c=a.next()).done;)u.push(c.value)}catch(b){d={error:b}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(d)throw d.error}}return u}var Ng=function(o,r,i){return r===void 0&&(r=""),i===void 0&&(i=10),[er,r,o.substring(0,i)].filter(Boolean).join("_")},Ug=function(o){var r=o.split(".");return r.length<=2?o:r.slice(r.length-2,r.length).join(".")},Bg=function(o,r,i){var a,c=o.referrer,u=o.referring_domain,d=Ps(o,["referrer","referring_domain"]),b=r||{},T=b.referrer,m=b.referring_domain,g=Ps(b,["referrer","referring_domain"]);if(o.referring_domain&&(!((a=i.excludeReferrers)===null||a===void 0)&&a.includes(o.referring_domain)))return!1;var w=JSON.stringify(d)!==JSON.stringify(g),h=Ug(u||"")!==Ug(m||"");return!r||w||h},Fg=function(o,r){var i=Fo(Fo({},or),o),a=Object.entries(i).reduce(function(c,u){var d,b=Zr(u,2),T=b[0],m=b[1];return c.setOnce("initial_".concat(T),(d=m??r.initialEmptyValue)!==null&&d!==void 0?d:"EMPTY"),m?c.set(T,m):c.unset(T)},new Ht);return Gr(a)};var Cs=function(){for(var o=this,r,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var c,u={},d=Zr(i,2),b=d[0],T=d[1];b&&"init"in b?(c=b,T&&(u=T)):b&&(u=b);var m=(r=u.excludeReferrers)!==null&&r!==void 0?r:[];typeof location<"u"&&m.unshift(location.hostname),u=Fo(Fo({disabled:!1,initialEmptyValue:"EMPTY",resetSessionOnNewCampaign:!1},u),{excludeReferrers:m});var g={name:"web-attribution",type:ve.BEFORE,setup:function(w,h){var y;return Rs(this,void 0,void 0,function(){var E,M,L,O,P,U,Q,oe;return As(this,function(Z){switch(Z.label){case 0:return c=c??h,c?u.disabled?(w.loggerProvider.log("@amplitude/plugin-web-attribution-browser is disabled. Attribution is not tracked."),[2]):(w.loggerProvider.log("Installing @amplitude/plugin-web-attribution-browser."),!h&&!(!((y=w.attribution)===null||y===void 0)&&y.disabled)&&(w.loggerProvider.warn("@amplitude/plugin-web-attribution-browser overrides web attribution behavior defined in @amplitude/analytics-browser. Resolve by disabling web attribution tracking in @amplitude/analytics-browser."),w.attribution={disabled:!0}),M=w.cookieStorage,L=Ng(w.apiKey,"MKTG"),[4,Promise.all([new Yr().parse(),M.get(L)])]):(E=b?"Options":"undefined",w.loggerProvider.error("Argument of type '".concat(E,"' is not assignable to parameter of type 'BrowserClient'.")),[2]);case 1:return O=Zr.apply(void 0,[Z.sent(),2]),P=O[0],U=O[1],Q=this.__pluginEnabledOverride,(Q??Bg(P,U,u))&&(u.resetSessionOnNewCampaign&&(c.setSessionId(Date.now()),w.loggerProvider.log("Created a new session for new campaign.")),w.loggerProvider.log("Tracking attribution."),oe=Fg(P,u),c.track(oe),M.set(L,P)),[2]}})})},execute:function(w){return Rs(o,void 0,void 0,function(){return As(this,function(h){return[2,w]})})}};return g.__pluginEnabledOverride=void 0,g};var mi=1e3,Ls=function(){function o(r){this.loggerProvider=r?.loggerProvider}return o.prototype.isEnabled=function(){return ue(this,void 0,void 0,function(){var r,i,a,c,u;return le(this,function(d){switch(d.label){case 0:if(!ot())return[2,!1];r=String(Date.now()),i=new o,a="AMP_TEST",d.label=1;case 1:return d.trys.push([1,4,5,7]),[4,i.set(a,r)];case 2:return d.sent(),[4,i.get(a)];case 3:return c=d.sent(),[2,c===r];case 4:return u=d.sent(),[2,!1];case 5:return[4,i.remove(a)];case 6:return d.sent(),[7];case 7:return[2]}})})},o.prototype.get=function(r){return ue(this,void 0,void 0,function(){var i,a;return le(this,function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,this.getRaw(r)];case 1:return i=c.sent(),i?[2,JSON.parse(i)]:[2,void 0];case 2:return a=c.sent(),[2,void 0];case 3:return[2]}})})},o.prototype.getRaw=function(r){var i;return ue(this,void 0,void 0,function(){return le(this,function(a){return[2,((i=ot())===null||i===void 0?void 0:i.localStorage.getItem(r))||void 0]})})},o.prototype.set=function(r,i){var a,c;return ue(this,void 0,void 0,function(){var u,d,b;return le(this,function(T){u=Array.isArray(i)&&i.length>mi;try{d=JSON.stringify(u?i.slice(0,mi):i),(a=ot())===null||a===void 0||a.localStorage.setItem(r,d)}catch{}return u&&(b=i.length-mi,(c=this.loggerProvider)===null||c===void 0||c.error("Failed to save ".concat(b," events because the queue length exceeded ").concat(mi,"."))),[2]})})},o.prototype.remove=function(r){var i;return ue(this,void 0,void 0,function(){return le(this,function(a){try{(i=ot())===null||i===void 0||i.localStorage.removeItem(r)}catch{}return[2]})})},o.prototype.reset=function(){var r;return ue(this,void 0,void 0,function(){return le(this,function(i){try{(r=ot())===null||r===void 0||r.localStorage.clear()}catch{}return[2]})})},o}();var zg=function(o){No(r,o);function r(){var i=o!==null&&o.apply(this,arguments)||this;return i.state={done:4},i}return r.prototype.send=function(i,a){return ue(this,void 0,void 0,function(){var c=this;return le(this,function(u){return[2,new Promise(function(d,b){typeof XMLHttpRequest>"u"&&b(new Error("XHRTransport is not supported."));var T=new XMLHttpRequest;T.open("POST",i,!0),T.onreadystatechange=function(){if(T.readyState===c.state.done)try{var m=T.responseText,g=JSON.parse(m),w=c.buildResponse(g);d(w)}catch(h){b(h)}},T.setRequestHeader("Content-Type","application/json"),T.setRequestHeader("Accept","*/*"),T.send(JSON.stringify(a))})]})})},r}(tr);var jg=function(o){No(r,o);function r(){return o!==null&&o.apply(this,arguments)||this}return r.prototype.send=function(i,a){return ue(this,void 0,void 0,function(){var c=this;return le(this,function(u){return[2,new Promise(function(d,b){var T=ot();if(!T?.navigator.sendBeacon)throw new Error("SendBeaconTransport is not supported");try{var m=JSON.stringify(a),g=T.navigator.sendBeacon(i,JSON.stringify(a));return d(g?c.buildResponse({code:200,events_ingested:a.events.length,payload_size_bytes:m.length,server_upload_time:Date.now()}):c.buildResponse({code:500}))}catch(w){b(w)}})]})})},r}(tr);var Ir=function(){var o=new fi,r={deviceManufacturer:!0,deviceModel:!0,ipAddress:!0,language:!0,osName:!0,osVersion:!0,platform:!0};return{cookieExpiration:365,cookieSameSite:"Lax",cookieSecure:!1,cookieStorage:o,cookieUpgrade:!0,disableCookies:!1,domain:"",sessionTimeout:30*60*1e3,trackingOptions:r,transportProvider:new Is}},Hg=function(o){No(r,o);function r(i,a){var c=this,u,d,b,T,m,g,w,h,y,E=Ir();return c=o.call(this,he(he({flushIntervalMillis:1e3,flushMaxRetries:5,flushQueueSize:30,transportProvider:E.transportProvider},a),{apiKey:i}))||this,c._optOut=!1,c.cookieStorage=(u=a?.cookieStorage)!==null&&u!==void 0?u:E.cookieStorage,c.deviceId=a?.deviceId,c.lastEventId=a?.lastEventId,c.lastEventTime=a?.lastEventTime,c.optOut=!!a?.optOut,c.sessionId=a?.sessionId,c.userId=a?.userId,c.appVersion=a?.appVersion,c.attribution=a?.attribution,c.cookieExpiration=(d=a?.cookieExpiration)!==null&&d!==void 0?d:E.cookieExpiration,c.cookieSameSite=(b=a?.cookieSameSite)!==null&&b!==void 0?b:E.cookieSameSite,c.cookieSecure=(T=a?.cookieSecure)!==null&&T!==void 0?T:E.cookieSecure,c.cookieUpgrade=(m=a?.cookieUpgrade)!==null&&m!==void 0?m:E.cookieUpgrade,c.defaultTracking=a?.defaultTracking,c.disableCookies=(g=a?.disableCookies)!==null&&g!==void 0?g:E.disableCookies,c.defaultTracking=a?.defaultTracking,c.domain=(w=a?.domain)!==null&&w!==void 0?w:E.domain,c.partnerId=a?.partnerId,c.sessionTimeout=(h=a?.sessionTimeout)!==null&&h!==void 0?h:E.sessionTimeout,c.trackingOptions=(y=a?.trackingOptions)!==null&&y!==void 0?y:E.trackingOptions,c}return Object.defineProperty(r.prototype,"deviceId",{get:function(){return this._deviceId},set:function(i){this._deviceId!==i&&(this._deviceId=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userId",{get:function(){return this._userId},set:function(i){this._userId!==i&&(this._userId=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"sessionId",{get:function(){return this._sessionId},set:function(i){this._sessionId!==i&&(this._sessionId=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"optOut",{get:function(){return this._optOut},set:function(i){this._optOut!==i&&(this._optOut=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastEventTime",{get:function(){return this._lastEventTime},set:function(i){this._lastEventTime!==i&&(this._lastEventTime=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastEventId",{get:function(){return this._lastEventId},set:function(i){this._lastEventId!==i&&(this._lastEventId=i,this.updateStorage())},enumerable:!1,configurable:!0}),r.prototype.updateStorage=function(){var i,a={deviceId:this._deviceId,userId:this._userId,sessionId:this._sessionId,optOut:this._optOut,lastEventTime:this._lastEventTime,lastEventId:this._lastEventId};(i=this.cookieStorage)===null||i===void 0||i.set($r(this.apiKey),a)},r}(es);var Vg=function(o,r){return ue(void 0,void 0,void 0,function(){var i,a,c,u,d,b,T,m,g,w,h,y,E,M,L;return le(this,function(O){switch(O.label){case 0:return i=Ir(),a=(M=r?.deviceId)!==null&&M!==void 0?M:Uo(),c=r?.lastEventId,u=r?.lastEventTime,d=r?.optOut,b=r?.sessionId,T=r?.userId,m=r?.cookieStorage,g=r?.domain,w=Hg.bind,h=[void 0,o],y=[he({},r)],E={cookieStorage:m,deviceId:a,domain:g,lastEventId:c,lastEventTime:u,optOut:d,sessionId:b},[4,Mb(r)];case 1:return[2,new(w.apply(Hg,h.concat([he.apply(void 0,y.concat([(E.storageProvider=O.sent(),E.trackingOptions=he(he({},i.trackingOptions),r?.trackingOptions),E.transportProvider=(L=r?.transportProvider)!==null&&L!==void 0?L:Ds(r?.transport),E.userId=T,E)]))])))]}})})},wi=function(o,r){return r===void 0&&(r=Ir()),ue(void 0,void 0,void 0,function(){var i,a,c;return le(this,function(u){switch(u.label){case 0:return i=he(he({},r),o),a=o?.cookieStorage,c=!a,c?[3,2]:[4,a.isEnabled()];case 1:c=!u.sent(),u.label=2;case 2:return c?[2,Db(i)]:[2,a]}})})},Db=function(o){return ue(void 0,void 0,void 0,function(){var r,i;return le(this,function(a){switch(a.label){case 0:return r=new Xr({domain:o.domain,expirationDays:o.cookieExpiration,sameSite:o.cookieSameSite,secure:o.cookieSecure}),i=o.disableCookies,i?[3,2]:[4,r.isEnabled()];case 1:i=!a.sent(),a.label=2;case 2:return i?(r=new Ls,[4,r.isEnabled()]):[3,4];case 3:a.sent()||(r=new fi),a.label=4;case 4:return[2,r]}})})},Mb=function(o){return ue(void 0,void 0,void 0,function(){var r,i,a,c,u,d,b,T,m;return le(this,function(g){switch(g.label){case 0:if(r=o&&Object.prototype.hasOwnProperty.call(o,"storageProvider"),i=o&&o.loggerProvider,!(!r||o.storageProvider))return[3,9];g.label=1;case 1:g.trys.push([1,7,8,9]),a=Sg([o?.storageProvider,new Ls({loggerProvider:i})]),c=a.next(),g.label=2;case 2:return c.done?[3,6]:(u=c.value,d=u,d?[4,u.isEnabled()]:[3,4]);case 3:d=g.sent(),g.label=4;case 4:if(d)return[2,u];g.label=5;case 5:return c=a.next(),[3,2];case 6:return[3,9];case 7:return b=g.sent(),T={error:b},[3,9];case 8:try{c&&!c.done&&(m=a.return)&&m.call(a)}finally{if(T)throw T.error}return[7];case 9:return[2,void 0]}})})},Ds=function(o){return o===Tr.XHR?new zg:o===Tr.SendBeacon?new jg:Ir().transportProvider},Wg=function(o){return ue(void 0,void 0,void 0,function(){var r,i,a,c,u,u,d,b,T,m;return le(this,function(g){switch(g.label){case 0:return[4,new Xr().isEnabled()];case 1:if(!g.sent()||!o&&typeof location>"u")return[2,""];for(r=o??location.hostname,i=r.split("."),a=[],c="AMP_TLDTEST",u=i.length-2;u>=0;--u)a.push(i.slice(u).join("."));u=0,g.label=2;case 2:return u<a.length?(d=a[u],b={domain:"."+d},T=new Xr(b),[4,T.set(c,1)]):[3,7];case 3:return g.sent(),[4,T.get(c)];case 4:return m=g.sent(),m?[4,T.remove(c)]:[3,6];case 5:return g.sent(),[2,"."+d];case 6:return u++,[3,2];case 7:return[2,""]}})})};var Qe="[Amplitude]",hi="".concat(Qe," Page Viewed"),Ms="".concat(Qe," Form Started"),Gg="".concat(Qe," Form Submitted"),Kg="".concat(Qe," File Downloaded"),qs="session_start",Us="session_end",Yg="".concat(Qe," File Extension"),$g="".concat(Qe," File Name"),Xg="".concat(Qe," Link ID"),Qg="".concat(Qe," Link Text"),Zg="".concat(Qe," Link URL"),vi="".concat(Qe," Form ID"),yi="".concat(Qe," Form Name"),bi="".concat(Qe," Form Destination");var Jg=function(o,r){return ue(void 0,void 0,void 0,function(){var i,a,c,u,d,b,T,m,g,w,h;return le(this,function(y){switch(y.label){case 0:return[4,wi(r)];case 1:return i=y.sent(),a=ys(o),[4,i.getRaw(a)];case 2:return c=y.sent(),c?((h=r.cookieUpgrade)!==null&&h!==void 0?h:Ir().cookieUpgrade)?[4,i.remove(a)]:[3,4]:[2,{optOut:!1}];case 3:y.sent(),y.label=4;case 4:return u=di(c.split("."),6),d=u[0],b=u[1],T=u[2],m=u[3],g=u[4],w=u[5],[2,{deviceId:d,userId:qb(b),sessionId:Ns(m),lastEventId:Ns(w),lastEventTime:Ns(g),optOut:!!T}]}})})},Ns=function(o){var r=parseInt(o,32);if(!isNaN(r))return r},qb=function(o){if(!(!atob||!escape||!o))try{return decodeURIComponent(escape(atob(o)))}catch{return}};var of=Xn(ef());var tf="1.13.0";var Ub="Web",Nb="$remote",rf=function(){function o(){this.name="context",this.type=ve.BEFORE,this.library="amplitude-ts/".concat(tf),typeof navigator<"u"&&(this.userAgent=navigator.userAgent),this.uaResult=new of.default(this.userAgent).getResult()}return o.prototype.setup=function(r){return this.config=r,Promise.resolve(void 0)},o.prototype.execute=function(r){var i,a;return ue(this,void 0,void 0,function(){var c,u,d,b,T,m,g,w;return le(this,function(h){return c=new Date().getTime(),u=this.uaResult.browser.name,d=this.uaResult.browser.version,b=this.uaResult.device.model||this.uaResult.os.name,T=this.uaResult.device.vendor,m=(i=this.config.lastEventId)!==null&&i!==void 0?i:-1,g=(a=r.event_id)!==null&&a!==void 0?a:m+1,this.config.lastEventId=g,r.time||(this.config.lastEventTime=c),w=he(he(he(he(he(he(he(he(he(he(he(he({user_id:this.config.userId,device_id:this.config.deviceId,session_id:this.config.sessionId,time:c},this.config.appVersion&&{app_version:this.config.appVersion}),this.config.trackingOptions.platform&&{platform:Ub}),this.config.trackingOptions.osName&&{os_name:u}),this.config.trackingOptions.osVersion&&{os_version:d}),this.config.trackingOptions.deviceManufacturer&&{device_manufacturer:T}),this.config.trackingOptions.deviceModel&&{device_model:b}),this.config.trackingOptions.language&&{language:Ts()}),this.config.trackingOptions.ipAddress&&{ip:Nb}),{insert_id:Uo(),partner_id:this.config.partnerId,plan:this.config.plan}),this.config.ingestionMetadata&&{ingestion_metadata:{source_name:this.config.ingestionMetadata.sourceName,source_version:this.config.ingestionMetadata.sourceVersion}}),r),{event_id:g,library:this.library,user_agent:this.userAgent}),[2,w]})})},o}();var Bb={page_domain:"".concat(Qe," Page Domain"),page_location:"".concat(Qe," Page Location"),page_path:"".concat(Qe," Page Path"),page_title:"".concat(Qe," Page Title"),page_url:"".concat(Qe," Page URL")},nf=function(){var o="@amplitude/plugin-default-page-view-event-enrichment-browser",r=ve.ENRICHMENT,i=function(){return ue(void 0,void 0,void 0,function(){return le(this,function(c){return[2,void 0]})})},a=function(c){return ue(void 0,void 0,void 0,function(){return le(this,function(u){return c.event_type===hi&&c.event_properties&&(c.event_properties=Object.entries(c.event_properties).reduce(function(d,b){var T=di(b,2),m=T[0],g=T[1],w=Bb[m];return w?d[w]=g:d[m]=g,d},{})),[2,c]})})};return{name:o,type:r,setup:i,execute:a}};var af=function(){var o,r=[],i=function(m,g,w){m.addEventListener(g,w),r.push({element:m,type:g,handler:w})},a=function(){r.forEach(function(m){var g=m.element,w=m.type,h=m.handler;g?.removeEventListener(w,h)}),r=[]},c="@amplitude/plugin-file-download-tracking-browser",u=ve.ENRICHMENT,d=function(m,g){return ue(void 0,void 0,void 0,function(){var w,h,y;return le(this,function(E){return g?typeof document>"u"?[2]:(w=function(M){var L;try{L=new URL(M.href,window.location.href)}catch{return}var O=h.exec(L.href),P=O?.[1];P&&i(M,"click",function(){var U;P&&g.track(Kg,(U={},U[Yg]=P,U[$g]=L.pathname,U[Xg]=M.id,U[Qg]=M.text,U[Zg]=M.href,U))})},h=/\\.(pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma)$/,y=Array.from(document.getElementsByTagName("a")),y.forEach(w),typeof MutationObserver<"u"&&(o=new MutationObserver(function(M){M.forEach(function(L){L.addedNodes.forEach(function(O){O.nodeName==="A"&&w(O),"querySelectorAll"in O&&typeof O.querySelectorAll=="function"&&Array.from(O.querySelectorAll("a")).map(w)})})}),o.observe(document.body,{subtree:!0,childList:!0})),[2]):(m.loggerProvider.warn("File download tracking requires a later version of @amplitude/analytics-browser. File download events are not tracked."),[2])})})},b=function(m){return ue(void 0,void 0,void 0,function(){return le(this,function(g){return[2,m]})})},T=function(){return ue(void 0,void 0,void 0,function(){return le(this,function(m){return o?.disconnect(),a(),[2]})})};return{name:c,type:u,setup:d,execute:b,teardown:T}};var sf=function(){var o,r=[],i=function(m,g,w){m.addEventListener(g,w),r.push({element:m,type:g,handler:w})},a=function(){r.forEach(function(m){var g=m.element,w=m.type,h=m.handler;g?.removeEventListener(w,h)}),r=[]},c="@amplitude/plugin-form-interaction-tracking-browser",u=ve.ENRICHMENT,d=function(m,g){return ue(void 0,void 0,void 0,function(){var w,h;return le(this,function(y){return g?typeof document>"u"?[2]:(w=function(E){var M=!1;i(E,"change",function(){var L;M||g.track(Ms,(L={},L[vi]=E.id,L[yi]=E.name,L[bi]=E.action,L)),M=!0}),i(E,"submit",function(){var L,O;M||g.track(Ms,(L={},L[vi]=E.id,L[yi]=E.name,L[bi]=E.action,L)),g.track(Gg,(O={},O[vi]=E.id,O[yi]=E.name,O[bi]=E.action,O)),M=!1})},h=Array.from(document.getElementsByTagName("form")),h.forEach(w),typeof MutationObserver<"u"&&(o=new MutationObserver(function(E){E.forEach(function(M){M.addedNodes.forEach(function(L){L.nodeName==="FORM"&&w(L),"querySelectorAll"in L&&typeof L.querySelectorAll=="function"&&Array.from(L.querySelectorAll("form")).map(w)})})}),o.observe(document.body,{subtree:!0,childList:!0})),[2]):(m.loggerProvider.warn("Form interaction tracking requires a later version of @amplitude/analytics-browser. Form interaction events are not tracked."),[2])})})},b=function(m){return ue(void 0,void 0,void 0,function(){return le(this,function(g){return[2,m]})})},T=function(){return ue(void 0,void 0,void 0,function(){return le(this,function(m){return o?.disconnect(),a(),[2]})})};return{name:c,type:u,setup:d,execute:b,teardown:T}};var Ei=function(o,r){for(var i=0;i<r.length;i++){var a=r[i],c=a.name,u=a.args,d=a.resolve,b=o&&o[c];if(typeof b=="function"){var T=b.apply(o,u);typeof d=="function"&&d(T?.promise)}}return o},xi=function(o){var r=o;return r&&r._q!==void 0};var cf=function(o){No(r,o);function r(){return o!==null&&o.apply(this,arguments)||this}return r.prototype.init=function(i,a,c){return i===void 0&&(i=""),bt(this._init(he(he({},c),{userId:a,apiKey:i})))},r.prototype._init=function(i){var a,c,u,d,b,T,m,g,w,h,y,E,M,L,O,P,U,Q,oe,Z;return ue(this,void 0,void 0,function(){var fe,de,xe,He,Ie,ee,Jt,nt,ze,Ze,Lt,st,Ve,dt,xt,Wt,je,pt,Gt=this;return le(this,function(ge){switch(ge.label){case 0:return this.initializing?[2]:(this.initializing=!0,fe=i,i.disableCookies?(de="",[3,5]):[3,1]);case 1:return(a=i.domain)!==null&&a!==void 0?(xe=a,[3,4]):[3,2];case 2:return[4,Wg()];case 3:xe=ge.sent(),ge.label=4;case 4:de=xe,ge.label=5;case 5:return fe.domain=de,[4,Jg(i.apiKey,i)];case 6:return He=ge.sent(),[4,wi(i)];case 7:return Ie=ge.sent(),[4,Ie.get($r(i.apiKey))];case 8:return ee=ge.sent(),Jt=Sr(),nt=(d=(u=(c=i.deviceId)!==null&&c!==void 0?c:Jt.deviceId)!==null&&u!==void 0?u:ee?.deviceId)!==null&&d!==void 0?d:He.deviceId,ze=(b=ee?.sessionId)!==null&&b!==void 0?b:He.sessionId,Ze=(m=(T=i.optOut)!==null&&T!==void 0?T:ee?.optOut)!==null&&m!==void 0?m:He.optOut,Lt=(g=ee?.lastEventId)!==null&&g!==void 0?g:He.lastEventId,st=(w=ee?.lastEventTime)!==null&&w!==void 0?w:He.lastEventTime,Ve=(y=(h=i.userId)!==null&&h!==void 0?h:ee?.userId)!==null&&y!==void 0?y:He.userId,this.previousSessionDeviceId=(E=ee?.deviceId)!==null&&E!==void 0?E:He.deviceId,this.previousSessionUserId=(M=ee?.userId)!==null&&M!==void 0?M:He.userId,[4,Vg(i.apiKey,he(he({},i),{deviceId:nt,sessionId:ze,optOut:Ze,lastEventId:Lt,lastEventTime:st,userId:Ve,cookieStorage:Ie}))];case 9:return dt=ge.sent(),[4,o.prototype._init.call(this,dt)];case 10:return ge.sent(),xt=!1,(!this.config.lastEventTime||!this.config.sessionId||this.config.lastEventTime&&Date.now()-this.config.lastEventTime>this.config.sessionTimeout)&&(this.setSessionId((O=(L=i.sessionId)!==null&&L!==void 0?L:this.config.sessionId)!==null&&O!==void 0?O:Date.now()),xt=!0),Wt=Eo(i.instanceName),Wt.identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),[4,this.add(new os).promise];case 11:return ge.sent(),[4,this.add(new rf).promise];case 12:return ge.sent(),[4,this.add(new Ss).promise];case 13:return ge.sent(),bs(this.config.defaultTracking)?[4,this.add(af()).promise]:[3,15];case 14:ge.sent(),ge.label=15;case 15:return _s(this.config.defaultTracking)?[4,this.add(sf()).promise]:[3,17];case 16:ge.sent(),ge.label=17;case 17:return!((P=this.config.attribution)===null||P===void 0)&&P.disabled?[3,19]:(je=Cs({excludeReferrers:(U=this.config.attribution)===null||U===void 0?void 0:U.excludeReferrers,initialEmptyValue:(Q=this.config.attribution)===null||Q===void 0?void 0:Q.initialEmptyValue,resetSessionOnNewCampaign:(oe=this.config.attribution)===null||oe===void 0?void 0:oe.resetSessionOnNewCampaign}),je.__pluginEnabledOverride=xt||!((Z=this.config.attribution)===null||Z===void 0)&&Z.trackNewCampaigns?void 0:!1,[4,this.add(je).promise]);case 18:ge.sent(),ge.label=19;case 19:return pt=xs(this.config),pt.eventType=pt.eventType||hi,[4,this.add(ks(pt)).promise];case 20:return ge.sent(),[4,this.add(nf()).promise];case 21:return ge.sent(),this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 22:return ge.sent(),Wt.eventBridge.setEventReceiver(function(Tt){Gt.track(Tt.eventType,Tt.eventProperties)}),[2]}})})},r.prototype.getUserId=function(){var i;return(i=this.config)===null||i===void 0?void 0:i.userId},r.prototype.setUserId=function(i){if(!this.config){this.q.push(this.setUserId.bind(this,i));return}(i!==this.config.userId||i===void 0)&&(this.config.userId=i,ns(i,this.config.instanceName))},r.prototype.getDeviceId=function(){var i;return(i=this.config)===null||i===void 0?void 0:i.deviceId},r.prototype.setDeviceId=function(i){if(!this.config){this.q.push(this.setDeviceId.bind(this,i));return}this.config.deviceId=i,is(i,this.config.instanceName)},r.prototype.setOptOut=function(i){as(i,this.config.instanceName),o.prototype.setOptOut.call(this,i)},r.prototype.reset=function(){this.setDeviceId(Uo()),this.setUserId(void 0)},r.prototype.getSessionId=function(){var i;return(i=this.config)===null||i===void 0?void 0:i.sessionId},r.prototype.setSessionId=function(i){var a;if(!this.config){this.q.push(this.setSessionId.bind(this,i));return}if(i!==this.config.sessionId){var c=this.getSessionId(),u=this.config.lastEventTime,d=(a=this.config.lastEventId)!==null&&a!==void 0?a:-1;this.config.sessionId=i,this.config.lastEventTime=void 0,Es(this.config.defaultTracking)&&(c&&u&&this.track(Us,void 0,{device_id:this.previousSessionDeviceId,event_id:++d,session_id:c,time:u+1,user_id:this.previousSessionUserId}),this.config.lastEventTime=this.config.sessionId,this.track(qs,void 0,{event_id:++d,session_id:this.config.sessionId,time:this.config.lastEventTime})),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId}},r.prototype.extendSession=function(){if(!this.config){this.q.push(this.extendSession.bind(this));return}this.config.lastEventTime=Date.now()},r.prototype.setTransport=function(i){if(!this.config){this.q.push(this.setTransport.bind(this,i));return}this.config.transportProvider=Ds(i)},r.prototype.identify=function(i,a){if(xi(i)){var c=i._q;i._q=[],i=Ei(new Ht,c)}return a?.user_id&&this.setUserId(a.user_id),a?.device_id&&this.setDeviceId(a.device_id),o.prototype.identify.call(this,i,a)},r.prototype.groupIdentify=function(i,a,c,u){if(xi(c)){var d=c._q;c._q=[],c=Ei(new Ht,d)}return o.prototype.groupIdentify.call(this,i,a,c,u)},r.prototype.revenue=function(i,a){if(xi(i)){var c=i._q;i._q=[],i=Ei(new ci,c)}return o.prototype.revenue.call(this,i,a)},r.prototype.process=function(i){return ue(this,void 0,void 0,function(){var a,c,u;return le(this,function(d){return a=Date.now(),c=this.config.lastEventTime||Date.now(),u=a-c,i.event_type!==qs&&i.event_type!==Us&&(!i.session_id||i.session_id===this.getSessionId())&&u>this.config.sessionTimeout&&this.setSessionId(a),[2,o.prototype.process.call(this,i)]})})},r}(Ja);var Ti=function(){var o=new cf;return{init:Ce(o.init.bind(o),"init",Re(o),Ae(o,["config"])),add:Ce(o.add.bind(o),"add",Re(o),Ae(o,["config.apiKey","timeline.plugins"])),remove:Ce(o.remove.bind(o),"remove",Re(o),Ae(o,["config.apiKey","timeline.plugins"])),track:Ce(o.track.bind(o),"track",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),logEvent:Ce(o.logEvent.bind(o),"logEvent",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),identify:Ce(o.identify.bind(o),"identify",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),groupIdentify:Ce(o.groupIdentify.bind(o),"groupIdentify",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),setGroup:Ce(o.setGroup.bind(o),"setGroup",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),revenue:Ce(o.revenue.bind(o),"revenue",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),flush:Ce(o.flush.bind(o),"flush",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),getUserId:Ce(o.getUserId.bind(o),"getUserId",Re(o),Ae(o,["config","config.userId"])),setUserId:Ce(o.setUserId.bind(o),"setUserId",Re(o),Ae(o,["config","config.userId"])),getDeviceId:Ce(o.getDeviceId.bind(o),"getDeviceId",Re(o),Ae(o,["config","config.deviceId"])),setDeviceId:Ce(o.setDeviceId.bind(o),"setDeviceId",Re(o),Ae(o,["config","config.deviceId"])),reset:Ce(o.reset.bind(o),"reset",Re(o),Ae(o,["config","config.userId","config.deviceId"])),getSessionId:Ce(o.getSessionId.bind(o),"getSessionId",Re(o),Ae(o,["config"])),setSessionId:Ce(o.setSessionId.bind(o),"setSessionId",Re(o),Ae(o,["config"])),extendSession:Ce(o.extendSession.bind(o),"extendSession",Re(o),Ae(o,["config"])),setOptOut:Ce(o.setOptOut.bind(o),"setOptOut",Re(o),Ae(o,["config"])),setTransport:Ce(o.setTransport.bind(o),"setTransport",Re(o),Ae(o,["config"]))}},Fe=Ti();var yT=Fe.add,bT=Fe.extendSession,_T=Fe.flush,ET=Fe.getDeviceId,xT=Fe.getSessionId,TT=Fe.getUserId,ST=Fe.groupIdentify,IT=Fe.identify,OT=Fe.init,kT=Fe.logEvent,PT=Fe.remove,RT=Fe.reset,AT=Fe.revenue,CT=Fe.setDeviceId,LT=Fe.setGroup,DT=Fe.setOptOut,MT=Fe.setSessionId,qT=Fe.setTransport,UT=Fe.setUserId,NT=Fe.track;var rc={production:"2532be1b0436a18cb938b21fc7fa9faf",development:"505fe4ab68b1153d294164683402fccb"},zb=Object.assign({plan:{version:"13",branch:"main",source:"web",versionId:"d34b078f-b5b3-4362-b66a-9527b9cacff6"}},{ingestionMetadata:{sourceName:"browser-typescript-ampli",sourceVersion:"2.0.0"}});var Bs=class{constructor(){this.event_type="api key copied"}},Fs=class{constructor(r){this.event_properties=r,this.event_type="complete onboarding",this.event_properties=r}},zs=class{constructor(r){this.event_properties=r,this.event_type="environment opened",this.event_properties=r}},js=class{constructor(r){this.event_properties=r,this.event_type="error",this.event_properties=r}},Hs=class{constructor(r){this.event_properties=r,this.event_type="impression",this.event_properties=r}},Vs=class{constructor(r){this.event_properties=r,this.event_type="insert block",this.event_properties=r}},Ws=class{constructor(r){this.event_properties=r,this.event_type="insert custom component",this.event_properties=r}},Gs=class{constructor(r){this.event_properties=r,this.event_type="integration failed",this.event_properties=r}},Ks=class{constructor(r){this.event_properties=r,this.event_type="interaction",this.event_properties=r}},Ys=class{constructor(r){this.event_properties=r,this.event_type="model saved",this.event_properties=r}},$s=class{constructor(r){this.event_properties=r,this.event_type="page viewed",this.event_properties=r}},Xs=class{constructor(r){this.event_properties=r,this.event_type="preview error",this.event_properties=r}},Qs=class{constructor(r){this.event_properties=r,this.event_type="site integrated",this.event_properties=r}},Zs=class{constructor(r){this.event_properties=r,this.event_type="start web import",this.event_properties=r}},Js=class{constructor(r){this.event_properties=r,this.event_type="subscribe clicked",this.event_properties=r}},ec=class{constructor(r){this.event_properties=r,this.event_type="subscription options viewed",this.event_properties=r}},tc=class{constructor(r){this.event_properties=r,this.event_type="user invited",this.event_properties=r}},ar=()=>({promise:Promise.resolve()}),oc=class{constructor(){this.disabled=!1}get client(){return this.isInitializedAndEnabled(),this.amplitude}get isLoaded(){return this.amplitude!=null}isInitializedAndEnabled(){return this.amplitude?!this.disabled:(console.error("ERROR: Ampli is not yet initialized. Have you called ampli.load() on app start?"),!1)}load(r){var i;if(this.disabled=(i=r.disabled)!==null&&i!==void 0?i:!1,this.amplitude)return console.warn("WARNING: Ampli is already intialized. Ampli.load() should be called once at application startup."),ar();let a=null;if(r.client&&"apiKey"in r.client?a=r.client.apiKey:"environment"in r&&(a=rc[r.environment]),r.client&&"instance"in r.client)this.amplitude=r.client.instance;else if(a){this.amplitude=Ti();let c=r.client&&"configuration"in r.client?r.client.configuration:{};return this.amplitude.init(a,void 0,Object.assign(Object.assign({},zb),c))}else console.error("ERROR: ampli.load() requires 'environment', 'client.apiKey', or 'client.instance'");return ar()}identify(r,i,a){if(!this.isInitializedAndEnabled())return ar();r&&(a=Object.assign(Object.assign({},a),{user_id:r}));let c=new Ht,u=i;if(u!=null)for(let[d,b]of Object.entries(u))c.set(d,b);return this.amplitude.identify(c,a)}setGroup(r,i,a){return this.isInitializedAndEnabled()?this.amplitude.setGroup(r,i,a):ar()}groupIdentify(r,i,a,c){if(!this.isInitializedAndEnabled())return ar();let u=new Ht,d=a;if(d!=null)for(let[b,T]of Object.entries(d))u.set(b,T);return this.amplitude.groupIdentify(r,i,u,c)}flush(){return this.isInitializedAndEnabled()?this.amplitude.flush():ar()}track(r,i){return this.isInitializedAndEnabled()?this.amplitude.track(r,void 0,i):ar()}apiKeyCopied(r){return this.track(new Bs,r)}completeOnboarding(r,i){return this.track(new Fs(r),i)}environmentOpened(r,i){return this.track(new zs(r),i)}error(r,i){return this.track(new js(r),i)}impression(r,i){return this.track(new Hs(r),i)}insertBlock(r,i){return this.track(new Vs(r),i)}insertCustomComponent(r,i){return this.track(new Ws(r),i)}integrationFailed(r,i){return this.track(new Gs(r),i)}interaction(r,i){return this.track(new Ks(r),i)}modelSaved(r,i){return this.track(new Ys(r),i)}pageViewed(r,i){return this.track(new $s(r),i)}previewError(r,i){return this.track(new Xs(r),i)}siteIntegrated(r,i){return this.track(new Qs(r),i)}startWebImport(r,i){return this.track(new Zs(r),i)}subscribeClicked(r,i){return this.track(new Js(r),i)}subscriptionOptionsViewed(r,i){return this.track(new ec(r),i)}userInvited(r,i){return this.track(new tc(r),i)}},uf=new oc;var Oi=Xn(nc()),yf=Xn(lf());var pf=Xn(nc());function gf(o){o=o+"=";let i=decodeURIComponent(document.cookie).split(";");for(let a=0;a<i.length;a++){let c=i[a];for(;c.charAt(0)===" ";)c=c.substring(1);if(c.indexOf(o)===0)return c.substring(o.length,c.length)}return""}var ic={};mb(ic,{default:()=>Kb,email:()=>Wb,internal:()=>jb,search:()=>Vb,social:()=>Gb,unknown:()=>Hb});var jb={},Hb={Outbrain:{domains:["paid.outbrain.com"]},Google:{domains:["support.google.com","developers.google.com","maps.google.com","accounts.google.com","drive.google.com","sites.google.com","groups.google.com","groups.google.co.uk","news.google.co.uk"]},Taboola:{domains:["trc.taboola.com","api.taboola.com"]},"Yahoo!":{domains:["finance.yahoo.com","news.yahoo.com","eurosport.yahoo.com","sports.yahoo.com","astrology.yahoo.com","travel.yahoo.com","answers.yahoo.com","screen.yahoo.com","weather.yahoo.com","messenger.yahoo.com","games.yahoo.com","shopping.yahoo.net","movies.yahoo.com","cars.yahoo.com","lifestyle.yahoo.com","omg.yahoo.com","match.yahoo.net"]}},Vb={TalkTalk:{domains:["www.talktalk.co.uk"],parameters:["query"]},"1.cz":{domains:["1.cz"],parameters:["q"]},Softonic:{domains:["search.softonic.com"],parameters:["q"]},GAIS:{domains:["gais.cs.ccu.edu.tw"],parameters:["q"]},Freecause:{domains:["search.freecause.com"],parameters:["p"]},"360.cn":{domains:["so.360.cn","www.so.com"],parameters:["q"]},RPMFind:{domains:["rpmfind.net","fr2.rpmfind.net"],parameters:["query"]},Comcast:{domains:["serach.comcast.net"],parameters:["q"]},Voila:{domains:["search.ke.voila.fr","www.lemoteur.fr"],parameters:["rdata","kw"]},Nifty:{domains:["search.nifty.com"],parameters:["q"]},Atlas:{domains:["searchatlas.centrum.cz"],parameters:["q"]},"Lo.st":{domains:["lo.st"],parameters:["x_query"]},DasTelefonbuch:{domains:["www1.dastelefonbuch.de"],parameters:["kw"]},Fireball:{domains:["www.fireball.de"],parameters:["q"]},"1und1":{domains:["search.1und1.de"],parameters:["su"]},Virgilio:{domains:["ricerca.virgilio.it","ricercaimmagini.virgilio.it","ricercavideo.virgilio.it","ricercanews.virgilio.it","mobile.virgilio.it"],parameters:["qs"]},"Web.nl":{domains:["www.web.nl"],parameters:["zoekwoord"]},Plazoo:{domains:["www.plazoo.com"],parameters:["q"]},"Goyellow.de":{domains:["www.goyellow.de"],parameters:["MDN"]},AOL:{domains:["search.aol.com","search.aol.it","aolsearch.aol.com","aolsearch.com","www.aolrecherche.aol.fr","www.aolrecherches.aol.fr","www.aolimages.aol.fr","aim.search.aol.com","www.recherche.aol.fr","find.web.aol.com","recherche.aol.ca","aolsearch.aol.co.uk","search.aol.co.uk","aolrecherche.aol.fr","sucheaol.aol.de","suche.aol.de","suche.aolsvc.de","aolbusqueda.aol.com.mx","alicesuche.aol.de","alicesuchet.aol.de","suchet2.aol.de","search.hp.my.aol.com.au","search.hp.my.aol.de","search.hp.my.aol.it","search-intl.netscape.com"],parameters:["q","query"]},Acoon:{domains:["www.acoon.de"],parameters:["begriff"]},Free:{domains:["search.free.fr","search1-2.free.fr","search1-1.free.fr"],parameters:["q"]},"Apollo Latvia":{domains:["apollo.lv/portal/search/"],parameters:["q"]},HighBeam:{domains:["www.highbeam.com"],parameters:["q"]},"I-play":{domains:["start.iplay.com"],parameters:["q"]},FriendFeed:{domains:["friendfeed.com"],parameters:["q"]},Yasni:{domains:["www.yasni.de","www.yasni.com","www.yasni.co.uk","www.yasni.ch","www.yasni.at"],parameters:["query"]},Gigablast:{domains:["www.gigablast.com","dir.gigablast.com"],parameters:["q"]},arama:{domains:["arama.com"],parameters:["q"]},Fixsuche:{domains:["www.fixsuche.de"],parameters:["q"]},Apontador:{domains:["apontador.com.br","www.apontador.com.br"],parameters:["q"]},"Search.com":{domains:["www.search.com"],parameters:["q"]},Monstercrawler:{domains:["www.monstercrawler.com"],parameters:["qry"]},"Google Images":{domains:["google.ac/imgres","google.ad/imgres","google.ae/imgres","google.am/imgres","google.as/imgres","google.at/imgres","google.az/imgres","google.ba/imgres","google.be/imgres","google.bf/imgres","google.bg/imgres","google.bi/imgres","google.bj/imgres","google.bs/imgres","google.by/imgres","google.ca/imgres","google.cat/imgres","google.cc/imgres","google.cd/imgres","google.cf/imgres","google.cg/imgres","google.ch/imgres","google.ci/imgres","google.cl/imgres","google.cm/imgres","google.cn/imgres","google.co.bw/imgres","google.co.ck/imgres","google.co.cr/imgres","google.co.id/imgres","google.co.il/imgres","google.co.in/imgres","google.co.jp/imgres","google.co.ke/imgres","google.co.kr/imgres","google.co.ls/imgres","google.co.ma/imgres","google.co.mz/imgres","google.co.nz/imgres","google.co.th/imgres","google.co.tz/imgres","google.co.ug/imgres","google.co.uk/imgres","google.co.uz/imgres","google.co.ve/imgres","google.co.vi/imgres","google.co.za/imgres","google.co.zm/imgres","google.co.zw/imgres","google.com/imgres","google.com.af/imgres","google.com.ag/imgres","google.com.ai/imgres","google.com.ar/imgres","google.com.au/imgres","google.com.bd/imgres","google.com.bh/imgres","google.com.bn/imgres","google.com.bo/imgres","google.com.br/imgres","google.com.by/imgres","google.com.bz/imgres","google.com.co/imgres","google.com.cu/imgres","google.com.cy/imgres","google.com.do/imgres","google.com.ec/imgres","google.com.eg/imgres","google.com.et/imgres","google.com.fj/imgres","google.com.gh/imgres","google.com.gi/imgres","google.com.gt/imgres","google.com.hk/imgres","google.com.jm/imgres","google.com.kh/imgres","google.com.kw/imgres","google.com.lb/imgres","google.com.lc/imgres","google.com.ly/imgres","google.com.mt/imgres","google.com.mx/imgres","google.com.my/imgres","google.com.na/imgres","google.com.nf/imgres","google.com.ng/imgres","google.com.ni/imgres","google.com.np/imgres","google.com.om/imgres","google.com.pa/imgres","google.com.pe/imgres","google.com.ph/imgres","google.com.pk/imgres","google.com.pr/imgres","google.com.py/imgres","google.com.qa/imgres","google.com.sa/imgres","google.com.sb/imgres","google.com.sg/imgres","google.com.sl/imgres","google.com.sv/imgres","google.com.tj/imgres","google.com.tn/imgres","google.com.tr/imgres","google.com.tw/imgres","google.com.ua/imgres","google.com.uy/imgres","google.com.vc/imgres","google.com.vn/imgres","google.cv/imgres","google.cz/imgres","google.de/imgres","google.dj/imgres","google.dk/imgres","google.dm/imgres","google.dz/imgres","google.ee/imgres","google.es/imgres","google.fi/imgres","google.fm/imgres","google.fr/imgres","google.ga/imgres","google.gd/imgres","google.ge/imgres","google.gf/imgres","google.gg/imgres","google.gl/imgres","google.gm/imgres","google.gp/imgres","google.gr/imgres","google.gy/imgres","google.hn/imgres","google.hr/imgres","google.ht/imgres","google.hu/imgres","google.ie/imgres","google.im/imgres","google.io/imgres","google.iq/imgres","google.is/imgres","google.it/imgres","google.it.ao/imgres","google.je/imgres","google.jo/imgres","google.kg/imgres","google.ki/imgres","google.kz/imgres","google.la/imgres","google.li/imgres","google.lk/imgres","google.lt/imgres","google.lu/imgres","google.lv/imgres","google.md/imgres","google.me/imgres","google.mg/imgres","google.mk/imgres","google.ml/imgres","google.mn/imgres","google.ms/imgres","google.mu/imgres","google.mv/imgres","google.mw/imgres","google.ne/imgres","google.nl/imgres","google.no/imgres","google.nr/imgres","google.nu/imgres","google.pl/imgres","google.pn/imgres","google.ps/imgres","google.pt/imgres","google.ro/imgres","google.rs/imgres","google.ru/imgres","google.rw/imgres","google.sc/imgres","google.se/imgres","google.sh/imgres","google.si/imgres","google.sk/imgres","google.sm/imgres","google.sn/imgres","google.so/imgres","google.st/imgres","google.td/imgres","google.tg/imgres","google.tk/imgres","google.tl/imgres","google.tm/imgres","google.to/imgres","google.tt/imgres","google.us/imgres","google.vg/imgres","google.vu/imgres","images.google.ws","images.google.ac","images.google.ad","images.google.ae","images.google.am","images.google.as","images.google.at","images.google.az","images.google.ba","images.google.be","images.google.bf","images.google.bg","images.google.bi","images.google.bj","images.google.bs","images.google.by","images.google.ca","images.google.cat","images.google.cc","images.google.cd","images.google.cf","images.google.cg","images.google.ch","images.google.ci","images.google.cl","images.google.cm","images.google.cn","images.google.co.bw","images.google.co.ck","images.google.co.cr","images.google.co.id","images.google.co.il","images.google.co.in","images.google.co.jp","images.google.co.ke","images.google.co.kr","images.google.co.ls","images.google.co.ma","images.google.co.mz","images.google.co.nz","images.google.co.th","images.google.co.tz","images.google.co.ug","images.google.co.uk","images.google.co.uz","images.google.co.ve","images.google.co.vi","images.google.co.za","images.google.co.zm","images.google.co.zw","images.google.com","images.google.com.af","images.google.com.ag","images.google.com.ai","images.google.com.ar","images.google.com.au","images.google.com.bd","images.google.com.bh","images.google.com.bn","images.google.com.bo","images.google.com.br","images.google.com.by","images.google.com.bz","images.google.com.co","images.google.com.cu","images.google.com.cy","images.google.com.do","images.google.com.ec","images.google.com.eg","images.google.com.et","images.google.com.fj","images.google.com.gh","images.google.com.gi","images.google.com.gt","images.google.com.hk","images.google.com.jm","images.google.com.kh","images.google.com.kh","images.google.com.kw","images.google.com.lb","images.google.com.lc","images.google.com.ly","images.google.com.mt","images.google.com.mx","images.google.com.my","images.google.com.na","images.google.com.nf","images.google.com.ng","images.google.com.ni","images.google.com.np","images.google.com.om","images.google.com.pa","images.google.com.pe","images.google.com.ph","images.google.com.pk","images.google.com.pr","images.google.com.py","images.google.com.qa","images.google.com.sa","images.google.com.sb","images.google.com.sg","images.google.com.sl","images.google.com.sv","images.google.com.tj","images.google.com.tn","images.google.com.tr","images.google.com.tw","images.google.com.ua","images.google.com.uy","images.google.com.vc","images.google.com.vn","images.google.cv","images.google.cz","images.google.de","images.google.dj","images.google.dk","images.google.dm","images.google.dz","images.google.ee","images.google.es","images.google.fi","images.google.fm","images.google.fr","images.google.ga","images.google.gd","images.google.ge","images.google.gf","images.google.gg","images.google.gl","images.google.gm","images.google.gp","images.google.gr","images.google.gy","images.google.hn","images.google.hr","images.google.ht","images.google.hu","images.google.ie","images.google.im","images.google.io","images.google.iq","images.google.is","images.google.it","images.google.it.ao","images.google.je","images.google.jo","images.google.kg","images.google.ki","images.google.kz","images.google.la","images.google.li","images.google.lk","images.google.lt","images.google.lu","images.google.lv","images.google.md","images.google.me","images.google.mg","images.google.mk","images.google.ml","images.google.mn","images.google.ms","images.google.mu","images.google.mv","images.google.mw","images.google.ne","images.google.nl","images.google.no","images.google.nr","images.google.nu","images.google.pl","images.google.pn","images.google.ps","images.google.pt","images.google.ro","images.google.rs","images.google.ru","images.google.rw","images.google.sc","images.google.se","images.google.sh","images.google.si","images.google.sk","images.google.sm","images.google.sn","images.google.so","images.google.st","images.google.td","images.google.tg","images.google.tk","images.google.tl","images.google.tm","images.google.to","images.google.tt","images.google.us","images.google.vg","images.google.vu","images.google.ws"],parameters:["q"]},ABCs\\u00F8k:{domains:["abcsolk.no","verden.abcsok.no"],parameters:["q"]},"Google Product Search":{domains:["google.ac/products","google.ad/products","google.ae/products","google.am/products","google.as/products","google.at/products","google.az/products","google.ba/products","google.be/products","google.bf/products","google.bg/products","google.bi/products","google.bj/products","google.bs/products","google.by/products","google.ca/products","google.cat/products","google.cc/products","google.cd/products","google.cf/products","google.cg/products","google.ch/products","google.ci/products","google.cl/products","google.cm/products","google.cn/products","google.co.bw/products","google.co.ck/products","google.co.cr/products","google.co.id/products","google.co.il/products","google.co.in/products","google.co.jp/products","google.co.ke/products","google.co.kr/products","google.co.ls/products","google.co.ma/products","google.co.mz/products","google.co.nz/products","google.co.th/products","google.co.tz/products","google.co.ug/products","google.co.uk/products","google.co.uz/products","google.co.ve/products","google.co.vi/products","google.co.za/products","google.co.zm/products","google.co.zw/products","google.com/products","google.com.af/products","google.com.ag/products","google.com.ai/products","google.com.ar/products","google.com.au/products","google.com.bd/products","google.com.bh/products","google.com.bn/products","google.com.bo/products","google.com.br/products","google.com.by/products","google.com.bz/products","google.com.co/products","google.com.cu/products","google.com.cy/products","google.com.do/products","google.com.ec/products","google.com.eg/products","google.com.et/products","google.com.fj/products","google.com.gh/products","google.com.gi/products","google.com.gt/products","google.com.hk/products","google.com.jm/products","google.com.kh/products","google.com.kh/products","google.com.kw/products","google.com.lb/products","google.com.lc/products","google.com.ly/products","google.com.mt/products","google.com.mx/products","google.com.my/products","google.com.na/products","google.com.nf/products","google.com.ng/products","google.com.ni/products","google.com.np/products","google.com.om/products","google.com.pa/products","google.com.pe/products","google.com.ph/products","google.com.pk/products","google.com.pr/products","google.com.py/products","google.com.qa/products","google.com.sa/products","google.com.sb/products","google.com.sg/products","google.com.sl/products","google.com.sv/products","google.com.tj/products","google.com.tn/products","google.com.tr/products","google.com.tw/products","google.com.ua/products","google.com.uy/products","google.com.vc/products","google.com.vn/products","google.cv/products","google.cz/products","google.de/products","google.dj/products","google.dk/products","google.dm/products","google.dz/products","google.ee/products","google.es/products","google.fi/products","google.fm/products","google.fr/products","google.ga/products","google.gd/products","google.ge/products","google.gf/products","google.gg/products","google.gl/products","google.gm/products","google.gp/products","google.gr/products","google.gy/products","google.hn/products","google.hr/products","google.ht/products","google.hu/products","google.ie/products","google.im/products","google.io/products","google.iq/products","google.is/products","google.it/products","google.it.ao/products","google.je/products","google.jo/products","google.kg/products","google.ki/products","google.kz/products","google.la/products","google.li/products","google.lk/products","google.lt/products","google.lu/products","google.lv/products","google.md/products","google.me/products","google.mg/products","google.mk/products","google.ml/products","google.mn/products","google.ms/products","google.mu/products","google.mv/products","google.mw/products","google.ne/products","google.nl/products","google.no/products","google.nr/products","google.nu/products","google.pl/products","google.pn/products","google.ps/products","google.pt/products","google.ro/products","google.rs/products","google.ru/products","google.rw/products","google.sc/products","google.se/products","google.sh/products","google.si/products","google.sk/products","google.sm/products","google.sn/products","google.so/products","google.st/products","google.td/products","google.tg/products","google.tk/products","google.tl/products","google.tm/products","google.to/products","google.tt/products","google.us/products","google.vg/products","google.vu/products","google.ws/products","www.google.ac/products","www.google.ad/products","www.google.ae/products","www.google.am/products","www.google.as/products","www.google.at/products","www.google.az/products","www.google.ba/products","www.google.be/products","www.google.bf/products","www.google.bg/products","www.google.bi/products","www.google.bj/products","www.google.bs/products","www.google.by/products","www.google.ca/products","www.google.cat/products","www.google.cc/products","www.google.cd/products","www.google.cf/products","www.google.cg/products","www.google.ch/products","www.google.ci/products","www.google.cl/products","www.google.cm/products","www.google.cn/products","www.google.co.bw/products","www.google.co.ck/products","www.google.co.cr/products","www.google.co.id/products","www.google.co.il/products","www.google.co.in/products","www.google.co.jp/products","www.google.co.ke/products","www.google.co.kr/products","www.google.co.ls/products","www.google.co.ma/products","www.google.co.mz/products","www.google.co.nz/products","www.google.co.th/products","www.google.co.tz/products","www.google.co.ug/products","www.google.co.uk/products","www.google.co.uz/products","www.google.co.ve/products","www.google.co.vi/products","www.google.co.za/products","www.google.co.zm/products","www.google.co.zw/products","www.google.com/products","www.google.com.af/products","www.google.com.ag/products","www.google.com.ai/products","www.google.com.ar/products","www.google.com.au/products","www.google.com.bd/products","www.google.com.bh/products","www.google.com.bn/products","www.google.com.bo/products","www.google.com.br/products","www.google.com.by/products","www.google.com.bz/products","www.google.com.co/products","www.google.com.cu/products","www.google.com.cy/products","www.google.com.do/products","www.google.com.ec/products","www.google.com.eg/products","www.google.com.et/products","www.google.com.fj/products","www.google.com.gh/products","www.google.com.gi/products","www.google.com.gt/products","www.google.com.hk/products","www.google.com.jm/products","www.google.com.kh/products","www.google.com.kh/products","www.google.com.kw/products","www.google.com.lb/products","www.google.com.lc/products","www.google.com.ly/products","www.google.com.mt/products","www.google.com.mx/products","www.google.com.my/products","www.google.com.na/products","www.google.com.nf/products","www.google.com.ng/products","www.google.com.ni/products","www.google.com.np/products","www.google.com.om/products","www.google.com.pa/products","www.google.com.pe/products","www.google.com.ph/products","www.google.com.pk/products","www.google.com.pr/products","www.google.com.py/products","www.google.com.qa/products","www.google.com.sa/products","www.google.com.sb/products","www.google.com.sg/products","www.google.com.sl/products","www.google.com.sv/products","www.google.com.tj/products","www.google.com.tn/products","www.google.com.tr/products","www.google.com.tw/products","www.google.com.ua/products","www.google.com.uy/products","www.google.com.vc/products","www.google.com.vn/products","www.google.cv/products","www.google.cz/products","www.google.de/products","www.google.dj/products","www.google.dk/products","www.google.dm/products","www.google.dz/products","www.google.ee/products","www.google.es/products","www.google.fi/products","www.google.fm/products","www.google.fr/products","www.google.ga/products","www.google.gd/products","www.google.ge/products","www.google.gf/products","www.google.gg/products","www.google.gl/products","www.google.gm/products","www.google.gp/products","www.google.gr/products","www.google.gy/products","www.google.hn/products","www.google.hr/products","www.google.ht/products","www.google.hu/products","www.google.ie/products","www.google.im/products","www.google.io/products","www.google.iq/products","www.google.is/products","www.google.it/products","www.google.it.ao/products","www.google.je/products","www.google.jo/products","www.google.kg/products","www.google.ki/products","www.google.kz/products","www.google.la/products","www.google.li/products","www.google.lk/products","www.google.lt/products","www.google.lu/products","www.google.lv/products","www.google.md/products","www.google.me/products","www.google.mg/products","www.google.mk/products","www.google.ml/products","www.google.mn/products","www.google.ms/products","www.google.mu/products","www.google.mv/products","www.google.mw/products","www.google.ne/products","www.google.nl/products","www.google.no/products","www.google.nr/products","www.google.nu/products","www.google.pl/products","www.google.pn/products","www.google.ps/products","www.google.pt/products","www.google.ro/products","www.google.rs/products","www.google.ru/products","www.google.rw/products","www.google.sc/products","www.google.se/products","www.google.sh/products","www.google.si/products","www.google.sk/products","www.google.sm/products","www.google.sn/products","www.google.so/products","www.google.st/products","www.google.td/products","www.google.tg/products","www.google.tk/products","www.google.tl/products","www.google.tm/products","www.google.to/products","www.google.tt/products","www.google.us/products","www.google.vg/products","www.google.vu/products","www.google.ws/products"],parameters:["q"]},DasOertliche:{domains:["www.dasoertliche.de"],parameters:["kw"]},InfoSpace:{domains:["infospace.com","dogpile.com","www.dogpile.com","metacrawler.com","webfetch.com","webcrawler.com","search.kiwee.com","isearch.babylon.com","start.facemoods.com","search.magnetic.com","search.searchcompletion.com","clusty.com"],parameters:["q","s"]},Weborama:{domains:["www.weborama.com"],parameters:["QUERY"]},Bluewin:{domains:["search.bluewin.ch"],parameters:["searchTerm"]},Neti:{domains:["www.neti.ee"],parameters:["query"]},Winamp:{domains:["search.winamp.com"],parameters:["q"]},Nigma:{domains:["nigma.ru"],parameters:["s"]},"Yahoo! Images":{domains:["image.yahoo.cn","images.search.yahoo.com"],parameters:["p","q"]},Exalead:{domains:["www.exalead.fr","www.exalead.com"],parameters:["q"]},Teoma:{domains:["www.teoma.com"],parameters:["q"]},Needtofind:{domains:["ko.search.need2find.com"],parameters:["searchfor"]},Looksmart:{domains:["www.looksmart.com"],parameters:["key"]},"Wirtualna Polska":{domains:["szukaj.wp.pl"],parameters:["szukaj"]},Toolbarhome:{domains:["www.toolbarhome.com","vshare.toolbarhome.com"],parameters:["q"]},Searchalot:{domains:["searchalot.com"],parameters:["q"]},Yandex:{domains:["yandex.ru","yandex.ua","yandex.com","yandex.by","www.yandex.ru","www.yandex.ua","www.yandex.com","www.yandex.by"],parameters:["text"]},"canoe.ca":{domains:["web.canoe.ca"],parameters:["q"]},Compuserve:{domains:["websearch.cs.com"],parameters:["query"]},Blogdigger:{domains:["www.blogdigger.com"],parameters:["q"]},Startpagina:{domains:["startgoogle.startpagina.nl"],parameters:["q"]},eo:{domains:["eo.st"],parameters:["x_query"]},Zhongsou:{domains:["p.zhongsou.com"],parameters:["w"]},"La Toile Du Quebec Via Google":{domains:["www.toile.com","web.toile.com"],parameters:["q"]},Paperball:{domains:["www.paperball.de"],parameters:["q"]},"Jungle Spider":{domains:["www.jungle-spider.de"],parameters:["q"]},PeoplePC:{domains:["search.peoplepc.com"],parameters:["q"]},"MetaCrawler.de":{domains:["s1.metacrawler.de","s2.metacrawler.de","s3.metacrawler.de"],parameters:["qry"]},Orange:{domains:["busca.orange.es","search.orange.co.uk"],parameters:["q"]},"Gule Sider":{domains:["www.gulesider.no"],parameters:["q"]},Francite:{domains:["recherche.francite.com"],parameters:["name"]},"Ask Toolbar":{domains:["search.tb.ask.com"],parameters:["searchfor"]},"Trusted-Search":{domains:["www.trusted--search.com"],parameters:["w"]},goo:{domains:["search.goo.ne.jp","ocnsearch.goo.ne.jp"],parameters:["MT"]},"Fast Browser Search":{domains:["www.fastbrowsersearch.com"],parameters:["q"]},Blogpulse:{domains:["www.blogpulse.com"],parameters:["query"]},Volny:{domains:["web.volny.cz"],parameters:["search"]},Icerockeet:{domains:["blogs.icerocket.com"],parameters:["q"]},Terra:{domains:["buscador.terra.es","buscador.terra.cl","buscador.terra.com.br"],parameters:["query"]},Amazon:{domains:["amazon.com","www.amazon.com"],parameters:["keywords"]},Onet:{domains:["szukaj.onet.pl"],parameters:["qt"]},Digg:{domains:["digg.com"],parameters:["s"]},Abacho:{domains:["www.abacho.de","www.abacho.com","www.abacho.co.uk","www.se.abacho.com","www.tr.abacho.com","www.abacho.at","www.abacho.fr","www.abacho.es","www.abacho.ch","www.abacho.it"],parameters:["q"]},maailm:{domains:["www.maailm.com"],parameters:["tekst"]},Flix:{domains:["www.flix.de"],parameters:["keyword"]},Suchnase:{domains:["www.suchnase.de"],parameters:["q"]},Freenet:{domains:["suche.freenet.de"],parameters:["query","Keywords"]},"Poisk.ru":{domains:["www.plazoo.com"],parameters:["q"]},Sharelook:{domains:["www.sharelook.fr"],parameters:["keyword"]},Najdi:{domains:["www.najdi.si"],parameters:["q"]},Picsearch:{domains:["www.picsearch.com"],parameters:["q"]},"Mail.ru":{domains:["go.mail.ru"],parameters:["q"]},Alexa:{domains:["alexa.com","search.toolbars.alexa.com"],parameters:["q"]},Metager:{domains:["meta.rrzn.uni-hannover.de","www.metager.de"],parameters:["eingabe"]},Technorati:{domains:["technorati.com"],parameters:["q"]},Globososo:{domains:["searches.globososo.com","search.globososo.com"],parameters:["q"]},WWW:{domains:["search.www.ee"],parameters:["query"]},"Trouvez.com":{domains:["www.trouvez.com"],parameters:["query"]},IXquick:{domains:["ixquick.com","www.eu.ixquick.com","ixquick.de","www.ixquick.de","us.ixquick.com","s1.us.ixquick.com","s2.us.ixquick.com","s3.us.ixquick.com","s4.us.ixquick.com","s5.us.ixquick.com","eu.ixquick.com","s8-eu.ixquick.com","s1-eu.ixquick.de"],parameters:["query"]},"Naver Images":{domains:["image.search.naver.com","imagesearch.naver.com"],parameters:["query"]},Zapmeta:{domains:["www.zapmeta.com","www.zapmeta.nl","www.zapmeta.de","uk.zapmeta.com"],parameters:["q","query"]},Yippy:{domains:["search.yippy.com"],parameters:["q","query"]},Gomeo:{domains:["www.gomeo.com"],parameters:["Keywords"]},Walhello:{domains:["www.walhello.info","www.walhello.com","www.walhello.de","www.walhello.nl"],parameters:["key"]},Meta:{domains:["meta.ua"],parameters:["q"]},Skynet:{domains:["www.skynet.be"],parameters:["q"]},Searchy:{domains:["www.searchy.co.uk"],parameters:["q"]},Findwide:{domains:["search.findwide.com"],parameters:["k"]},WebSearch:{domains:["www.websearch.com"],parameters:["qkw","q"]},Rambler:{domains:["nova.rambler.ru"],parameters:["query","words"]},Latne:{domains:["www.latne.lv"],parameters:["q"]},MySearch:{domains:["www.mysearch.com","ms114.mysearch.com","ms146.mysearch.com","kf.mysearch.myway.com","ki.mysearch.myway.com","search.myway.com","search.mywebsearch.com"],parameters:["searchfor","searchFor"]},Cuil:{domains:["www.cuil.com"],parameters:["q"]},Tixuma:{domains:["www.tixuma.de"],parameters:["sc"]},Sapo:{domains:["pesquisa.sapo.pt"],parameters:["q"]},Gnadenmeer:{domains:["www.gnadenmeer.de"],parameters:["keyword"]},Arcor:{domains:["www.arcor.de"],parameters:["Keywords"]},Naver:{domains:["search.naver.com"],parameters:["query"]},Zoeken:{domains:["www.zoeken.nl"],parameters:["q"]},Startsiden:{domains:["www.startsiden.no"],parameters:["q"]},Yam:{domains:["search.yam.com"],parameters:["k"]},Eniro:{domains:["www.eniro.se"],parameters:["q","search_word"]},APOLL07:{domains:["apollo7.de"],parameters:["query"]},Biglobe:{domains:["cgi.search.biglobe.ne.jp"],parameters:["q"]},Mozbot:{domains:["www.mozbot.fr","www.mozbot.co.uk","www.mozbot.com"],parameters:["q"]},ICQ:{domains:["www.icq.com","search.icq.com"],parameters:["q"]},Baidu:{domains:["www.baidu.com","www1.baidu.com","zhidao.baidu.com","tieba.baidu.com","news.baidu.com","web.gougou.com"],parameters:["wd","word","kw","k"]},Conduit:{domains:["search.conduit.com"],parameters:["q"]},Vindex:{domains:["www.vindex.nl","search.vindex.nl"],parameters:["search_for"]},Babylon:{domains:["search.babylon.com","searchassist.babylon.com"],parameters:["q"]},TrovaRapido:{domains:["www.trovarapido.com"],parameters:["q"]},"Suchmaschine.com":{domains:["www.suchmaschine.com"],parameters:["suchstr"]},Lycos:{domains:["search.lycos.com","www.lycos.com","lycos.com"],parameters:["query"]},Vinden:{domains:["www.vinden.nl"],parameters:["q"]},Altavista:{domains:["www.altavista.com","search.altavista.com","listings.altavista.com","altavista.de","altavista.fr","be-nl.altavista.com","be-fr.altavista.com"],parameters:["q"]},dmoz:{domains:["dmoz.org","editors.dmoz.org"],parameters:["q"]},Ecosia:{domains:["ecosia.org"],parameters:["q"]},Maxwebsearch:{domains:["maxwebsearch.com"],parameters:["query"]},Euroseek:{domains:["www.euroseek.com"],parameters:["string"]},Bing:{domains:["bing.com","www.bing.com","msnbc.msn.com","dizionario.it.msn.com","cc.bingj.com","m.bing.com"],parameters:["q","Q"]},"X-recherche":{domains:["www.x-recherche.com"],parameters:["MOTS"]},"Yandex Images":{domains:["images.yandex.ru","images.yandex.ua","images.yandex.com"],parameters:["text"]},GMX:{domains:["suche.gmx.net"],parameters:["su"]},"Daemon search":{domains:["daemon-search.com","my.daemon-search.com"],parameters:["q"]},"Jungle Key":{domains:["junglekey.com","junglekey.fr"],parameters:["query"]},Firstfind:{domains:["www.firstsfind.com"],parameters:["qry"]},Crawler:{domains:["www.crawler.com"],parameters:["q"]},Holmes:{domains:["holmes.ge"],parameters:["q"]},Charter:{domains:["www.charter.net"],parameters:["q"]},Ilse:{domains:["www.ilse.nl"],parameters:["search_for"]},earthlink:{domains:["search.earthlink.net"],parameters:["q"]},Qualigo:{domains:["www.qualigo.at","www.qualigo.ch","www.qualigo.de","www.qualigo.nl"],parameters:["q"]},"El Mundo":{domains:["ariadna.elmundo.es"],parameters:["q"]},Metager2:{domains:["metager2.de"],parameters:["q"]},Forestle:{domains:["forestle.org","www.forestle.org","forestle.mobi"],parameters:["q"]},"Search.ch":{domains:["www.search.ch"],parameters:["q"]},Meinestadt:{domains:["www.meinestadt.de"],parameters:["words"]},Freshweather:{domains:["www.fresh-weather.com"],parameters:["q"]},AllTheWeb:{domains:["www.alltheweb.com"],parameters:["q"]},Snapdo:{domains:["search.snapdo.com"],parameters:["q"]},Zoek:{domains:["www3.zoek.nl"],parameters:["q"]},Daum:{domains:["search.daum.net"],parameters:["q"]},Marktplaats:{domains:["www.marktplaats.nl"],parameters:["query"]},"suche.info":{domains:["suche.info"],parameters:["q"]},"Google News":{domains:["news.google.ac","news.google.ad","news.google.ae","news.google.am","news.google.as","news.google.at","news.google.az","news.google.ba","news.google.be","news.google.bf","news.google.bg","news.google.bi","news.google.bj","news.google.bs","news.google.by","news.google.ca","news.google.cat","news.google.cc","news.google.cd","news.google.cf","news.google.cg","news.google.ch","news.google.ci","news.google.cl","news.google.cm","news.google.cn","news.google.co.bw","news.google.co.ck","news.google.co.cr","news.google.co.id","news.google.co.il","news.google.co.in","news.google.co.jp","news.google.co.ke","news.google.co.kr","news.google.co.ls","news.google.co.ma","news.google.co.mz","news.google.co.nz","news.google.co.th","news.google.co.tz","news.google.co.ug","news.google.co.uk","news.google.co.uz","news.google.co.ve","news.google.co.vi","news.google.co.za","news.google.co.zm","news.google.co.zw","news.google.com","news.google.com.af","news.google.com.ag","news.google.com.ai","news.google.com.ar","news.google.com.au","news.google.com.bd","news.google.com.bh","news.google.com.bn","news.google.com.bo","news.google.com.br","news.google.com.by","news.google.com.bz","news.google.com.co","news.google.com.cu","news.google.com.cy","news.google.com.do","news.google.com.ec","news.google.com.eg","news.google.com.et","news.google.com.fj","news.google.com.gh","news.google.com.gi","news.google.com.gt","news.google.com.hk","news.google.com.jm","news.google.com.kh","news.google.com.kh","news.google.com.kw","news.google.com.lb","news.google.com.lc","news.google.com.ly","news.google.com.mt","news.google.com.mx","news.google.com.my","news.google.com.na","news.google.com.nf","news.google.com.ng","news.google.com.ni","news.google.com.np","news.google.com.om","news.google.com.pa","news.google.com.pe","news.google.com.ph","news.google.com.pk","news.google.com.pr","news.google.com.py","news.google.com.qa","news.google.com.sa","news.google.com.sb","news.google.com.sg","news.google.com.sl","news.google.com.sv","news.google.com.tj","news.google.com.tn","news.google.com.tr","news.google.com.tw","news.google.com.ua","news.google.com.uy","news.google.com.vc","news.google.com.vn","news.google.cv","news.google.cz","news.google.de","news.google.dj","news.google.dk","news.google.dm","news.google.dz","news.google.ee","news.google.es","news.google.fi","news.google.fm","news.google.fr","news.google.ga","news.google.gd","news.google.ge","news.google.gf","news.google.gg","news.google.gl","news.google.gm","news.google.gp","news.google.gr","news.google.gy","news.google.hn","news.google.hr","news.google.ht","news.google.hu","news.google.ie","news.google.im","news.google.io","news.google.iq","news.google.is","news.google.it","news.google.it.ao","news.google.je","news.google.jo","news.google.kg","news.google.ki","news.google.kz","news.google.la","news.google.li","news.google.lk","news.google.lt","news.google.lu","news.google.lv","news.google.md","news.google.me","news.google.mg","news.google.mk","news.google.ml","news.google.mn","news.google.ms","news.google.mu","news.google.mv","news.google.mw","news.google.ne","news.google.nl","news.google.no","news.google.nr","news.google.nu","news.google.pl","news.google.pn","news.google.ps","news.google.pt","news.google.ro","news.google.rs","news.google.ru","news.google.rw","news.google.sc","news.google.se","news.google.sh","news.google.si","news.google.sk","news.google.sm","news.google.sn","news.google.so","news.google.st","news.google.td","news.google.tg","news.google.tk","news.google.tl","news.google.tm","news.google.to","news.google.tt","news.google.us","news.google.vg","news.google.vu","news.google.ws"],parameters:["q"]},Zoohoo:{domains:["zoohoo.cz"],parameters:["q"]},Seznam:{domains:["search.seznam.cz"],parameters:["q"]},"Online.no":{domains:["online.no"],parameters:["q"]},Eurip:{domains:["www.eurip.com"],parameters:["q"]},"all.by":{domains:["all.by"],parameters:["query"]},"Road Runner Search":{domains:["search.rr.com"],parameters:["q"]},"Opplysningen 1881":{domains:["www.1881.no"],parameters:["Query"]},YouGoo:{domains:["www.yougoo.fr"],parameters:["q"]},"Bing Images":{domains:["bing.com/images/search","www.bing.com/images/search"],parameters:["q","Q"]},Geona:{domains:["geona.net"],parameters:["q"]},Nate:{domains:["search.nate.com"],parameters:["q"]},DuckDuckGo:{domains:["duckduckgo.com"],parameters:["q"]},Hotbot:{domains:["www.hotbot.com"],parameters:["query"]},Kvasir:{domains:["www.kvasir.no"],parameters:["q"]},Austronaut:{domains:["www2.austronaut.at","www1.astronaut.at"],parameters:["q"]},Excite:{domains:["search.excite.it","search.excite.fr","search.excite.de","search.excite.co.uk","serach.excite.es","search.excite.nl","msxml.excite.com","www.excite.co.jp"],parameters:["q","search"]},qip:{domains:["search.qip.ru"],parameters:["query"]},"Certified-Toolbar":{domains:["search.certified-toolbar.com"],parameters:["q"]},"Yahoo!":{domains:["search.yahoo.com","yahoo.com","ar.search.yahoo.com","ar.yahoo.com","au.search.yahoo.com","au.yahoo.com","br.search.yahoo.com","br.yahoo.com","cade.searchde.yahoo.com","cade.yahoo.com","chinese.searchinese.yahoo.com","chinese.yahoo.com","cn.search.yahoo.com","cn.yahoo.com","de.search.yahoo.com","de.yahoo.com","dk.search.yahoo.com","dk.yahoo.com","es.search.yahoo.com","es.yahoo.com","espanol.searchpanol.yahoo.com","espanol.searchpanol.yahoo.com","espanol.yahoo.com","espanol.yahoo.com","fr.search.yahoo.com","fr.yahoo.com","ie.search.yahoo.com","ie.yahoo.com","it.search.yahoo.com","it.yahoo.com","kr.search.yahoo.com","kr.yahoo.com","mx.search.yahoo.com","mx.yahoo.com","no.search.yahoo.com","no.yahoo.com","nz.search.yahoo.com","nz.yahoo.com","one.cn.yahoo.com","one.searchn.yahoo.com","qc.search.yahoo.com","qc.search.yahoo.com","qc.search.yahoo.com","qc.yahoo.com","qc.yahoo.com","se.search.yahoo.com","se.search.yahoo.com","se.yahoo.com","search.searcharch.yahoo.com","search.yahoo.com","uk.search.yahoo.com","uk.yahoo.com","www.yahoo.co.jp","search.yahoo.co.jp","www.cercato.it","search.offerbox.com","ys.mirostart.com"],parameters:["p","q"]},"URL.ORGanizier":{domains:["www.url.org"],parameters:["q"]},Witch:{domains:["www.witch.de"],parameters:["search"]},"Mister Wong":{domains:["www.mister-wong.com","www.mister-wong.de"],parameters:["Keywords"]},Aport:{domains:["sm.aport.ru"],parameters:["r"]},"Web.de":{domains:["suche.web.de"],parameters:["su"]},Ask:{domains:["ask.com","www.ask.com","web.ask.com","int.ask.com","mws.ask.com","uk.ask.com","images.ask.com","ask.reference.com","www.askkids.com","iwon.ask.com","www.ask.co.uk","www.qbyrd.com","search-results.com","uk.search-results.com","www.search-results.com","int.search-results.com"],parameters:["q"]},Centrum:{domains:["serach.centrum.cz","morfeo.centrum.cz"],parameters:["q"]},Everyclick:{domains:["www.everyclick.com"],parameters:["keyword"]},"Google Video":{domains:["video.google.com"],parameters:["q"]},Delfi:{domains:["otsing.delfi.ee"],parameters:["q"]},blekko:{domains:["blekko.com"],parameters:["q"]},Jyxo:{domains:["jyxo.1188.cz"],parameters:["q"]},Kataweb:{domains:["www.kataweb.it"],parameters:["q"]},"uol.com.br":{domains:["busca.uol.com.br"],parameters:["q"]},Arianna:{domains:["arianna.libero.it","www.arianna.com"],parameters:["query"]},Mamma:{domains:["www.mamma.com","mamma75.mamma.com"],parameters:["query"]},Yatedo:{domains:["www.yatedo.com","www.yatedo.fr"],parameters:["q"]},Twingly:{domains:["www.twingly.com"],parameters:["q"]},"Delfi latvia":{domains:["smart.delfi.lv"],parameters:["q"]},PriceRunner:{domains:["www.pricerunner.co.uk"],parameters:["q"]},Rakuten:{domains:["websearch.rakuten.co.jp"],parameters:["qt"]},Google:{domains:["www.google.com","www.google.ac","www.google.ad","www.google.com.af","www.google.com.ag","www.google.com.ai","www.google.am","www.google.it.ao","www.google.com.ar","www.google.as","www.google.at","www.google.com.au","www.google.az","www.google.ba","www.google.com.bd","www.google.be","www.google.bf","www.google.bg","www.google.com.bh","www.google.bi","www.google.bj","www.google.com.bn","www.google.com.bo","www.google.com.br","www.google.bs","www.google.co.bw","www.google.com.by","www.google.by","www.google.com.bz","www.google.ca","www.google.com.kh","www.google.cc","www.google.cd","www.google.cf","www.google.cat","www.google.cg","www.google.ch","www.google.ci","www.google.co.ck","www.google.cl","www.google.cm","www.google.cn","www.google.com.co","www.google.co.cr","www.google.com.cu","www.google.cv","www.google.com.cy","www.google.cz","www.google.de","www.google.dj","www.google.dk","www.google.dm","www.google.com.do","www.google.dz","www.google.com.ec","www.google.ee","www.google.com.eg","www.google.es","www.google.com.et","www.google.fi","www.google.com.fj","www.google.fm","www.google.fr","www.google.ga","www.google.gd","www.google.ge","www.google.gf","www.google.gg","www.google.com.gh","www.google.com.gi","www.google.gl","www.google.gm","www.google.gp","www.google.gr","www.google.com.gt","www.google.gy","www.google.com.hk","www.google.hn","www.google.hr","www.google.ht","www.google.hu","www.google.co.id","www.google.iq","www.google.ie","www.google.co.il","www.google.im","www.google.co.in","www.google.io","www.google.is","www.google.it","www.google.je","www.google.com.jm","www.google.jo","www.google.co.jp","www.google.co.ke","www.google.com.kh","www.google.ki","www.google.kg","www.google.co.kr","www.google.com.kw","www.google.kz","www.google.la","www.google.com.lb","www.google.com.lc","www.google.li","www.google.lk","www.google.co.ls","www.google.lt","www.google.lu","www.google.lv","www.google.com.ly","www.google.co.ma","www.google.md","www.google.me","www.google.mg","www.google.mk","www.google.ml","www.google.mn","www.google.ms","www.google.com.mt","www.google.mu","www.google.mv","www.google.mw","www.google.com.mx","www.google.com.my","www.google.co.mz","www.google.com.na","www.google.ne","www.google.com.nf","www.google.com.ng","www.google.com.ni","www.google.nl","www.google.no","www.google.com.np","www.google.nr","www.google.nu","www.google.co.nz","www.google.com.om","www.google.com.pa","www.google.com.pe","www.google.com.ph","www.google.com.pk","www.google.pl","www.google.pn","www.google.com.pr","www.google.ps","www.google.pt","www.google.com.py","www.google.com.qa","www.google.ro","www.google.rs","www.google.ru","www.google.rw","www.google.com.sa","www.google.com.sb","www.google.sc","www.google.se","www.google.com.sg","www.google.sh","www.google.si","www.google.sk","www.google.com.sl","www.google.sn","www.google.sm","www.google.so","www.google.st","www.google.com.sv","www.google.td","www.google.tg","www.google.co.th","www.google.com.tj","www.google.tk","www.google.tl","www.google.tm","www.google.to","www.google.com.tn","www.google.com.tr","www.google.tt","www.google.com.tw","www.google.co.tz","www.google.com.ua","www.google.co.ug","www.google.ae","www.google.co.uk","www.google.us","www.google.com.uy","www.google.co.uz","www.google.com.vc","www.google.co.ve","www.google.vg","www.google.co.vi","www.google.com.vn","www.google.vu","www.google.ws","www.google.co.za","www.google.co.zm","www.google.co.zw","google.com","google.ac","google.ad","google.com.af","google.com.ag","google.com.ai","google.am","google.it.ao","google.com.ar","google.as","google.at","google.com.au","google.az","google.ba","google.com.bd","google.be","google.bf","google.bg","google.com.bh","google.bi","google.bj","google.com.bn","google.com.bo","google.com.br","google.bs","google.co.bw","google.com.by","google.by","google.com.bz","google.ca","google.com.kh","google.cc","google.cd","google.cf","google.cat","google.cg","google.ch","google.ci","google.co.ck","google.cl","google.cm","google.cn","google.com.co","google.co.cr","google.com.cu","google.cv","google.com.cy","google.cz","google.de","google.dj","google.dk","google.dm","google.com.do","google.dz","google.com.ec","google.ee","google.com.eg","google.es","google.com.et","google.fi","google.com.fj","google.fm","google.fr","google.ga","google.gd","google.ge","google.gf","google.gg","google.com.gh","google.com.gi","google.gl","google.gm","google.gp","google.gr","google.com.gt","google.gy","google.com.hk","google.hn","google.hr","google.ht","google.hu","google.co.id","google.iq","google.ie","google.co.il","google.im","google.co.in","google.io","google.is","google.it","google.je","google.com.jm","google.jo","google.co.jp","google.co.ke","google.com.kh","google.ki","google.kg","google.co.kr","google.com.kw","google.kz","google.la","google.com.lb","google.com.lc","google.li","google.lk","google.co.ls","google.lt","google.lu","google.lv","google.com.ly","google.co.ma","google.md","google.me","google.mg","google.mk","google.ml","google.mn","google.ms","google.com.mt","google.mu","google.mv","google.mw","google.com.mx","google.com.my","google.co.mz","google.com.na","google.ne","google.com.nf","google.com.ng","google.com.ni","google.nl","google.no","google.com.np","google.nr","google.nu","google.co.nz","google.com.om","google.com.pa","google.com.pe","google.com.ph","google.com.pk","google.pl","google.pn","google.com.pr","google.ps","google.pt","google.com.py","google.com.qa","google.ro","google.rs","google.ru","google.rw","google.com.sa","google.com.sb","google.sc","google.se","google.com.sg","google.sh","google.si","google.sk","google.com.sl","google.sn","google.sm","google.so","google.st","google.com.sv","google.td","google.tg","google.co.th","google.com.tj","google.tk","google.tl","google.tm","google.to","google.com.tn","google.com.tr","google.tt","google.com.tw","google.co.tz","google.com.ua","google.co.ug","google.ae","google.co.uk","google.us","google.com.uy","google.co.uz","google.com.vc","google.co.ve","google.vg","google.co.vi","google.com.vn","google.vu","google.ws","google.co.za","google.co.zm","google.co.zw","search.avg.com","isearch.avg.com","www.cnn.com","darkoogle.com","search.darkoogle.com","search.foxtab.com","www.gooofullsearch.com","search.hiyo.com","search.incredimail.com","search1.incredimail.com","search2.incredimail.com","search3.incredimail.com","search4.incredimail.com","search.incredibar.com","search.sweetim.com","www.fastweb.it","search.juno.com","find.tdc.dk","searchresults.verizon.com","search.walla.co.il","search.alot.com","www.googleearth.de","www.googleearth.fr","webcache.googleusercontent.com","encrypted.google.com","googlesyndicatedsearch.com"],parameters:["q","query","Keywords"]},"Hooseek.com":{domains:["www.hooseek.com"],parameters:["recherche"]},Dalesearch:{domains:["www.dalesearch.com"],parameters:["q"]},"Alice Adsl":{domains:["rechercher.aliceadsl.fr"],parameters:["q"]},"T-Online":{domains:["suche.t-online.de","brisbane.t-online.de","navigationshilfe.t-online.de"],parameters:["q"]},"soso.com":{domains:["www.soso.com"],parameters:["w"]},Sogou:{domains:["www.sougou.com"],parameters:["query"]},"Hit-Parade":{domains:["req.-hit-parade.com","class.hit-parade.com","www.hit-parade.com"],parameters:["p7"]},SearchCanvas:{domains:["www.searchcanvas.com"],parameters:["q"]},Interia:{domains:["www.google.interia.pl"],parameters:["q"]},Genieo:{domains:["search.genieo.com"],parameters:["q"]},Tiscali:{domains:["search.tiscali.it","search-dyn.tiscali.it","hledani.tiscali.cz"],parameters:["q","key"]},Clix:{domains:["pesquisa.clix.pt"],parameters:["question"]}},Wb={Bigpond:{domains:["webmail.bigpond.com","webmail2.bigpond.com"]},"Naver Mail":{domains:["mail.naver.com"]},"Optus Zoo":{domains:["webmail.optuszoo.com.au"]},"Seznam Mail":{domains:["email.seznam.cz"]},"126 Mail":{domains:["mail.126.com"]},"Outlook.com":{domains:["mail.live.com"]},"AOL Mail":{domains:["mail.aol.com"]},"Daum Mail":{domains:["mail2.daum.net"]},"Yahoo! Mail":{domains:["mail.yahoo.net","mail.yahoo.com","mail.yahoo.co.uk","mail.yahoo.co.jp"]},"163 Mail":{domains:["mail.163.com"]},"Orange Webmail":{domains:["orange.fr/webmail"]},"QQ Mail":{domains:["mail.qq.com"]},"Mynet Mail":{domains:["mail.mynet.com"]},Gmail:{domains:["mail.google.com"]}},Gb={hi5:{domains:["hi5.com"]},Friendster:{domains:["friendster.com"]},Weibo:{domains:["weibo.com","t.cn"]},Xanga:{domains:["xanga.com"]},Myspace:{domains:["myspace.com"]},Buzznet:{domains:["wayn.com"]},MyLife:{domains:["mylife.ru"]},Flickr:{domains:["flickr.com"]},"Sonico.com":{domains:["sonico.com"]},Odnoklassniki:{domains:["odnoklassniki.ru"]},GitHub:{domains:["github.com"]},Classmates:{domains:["classmates.com"]},"Friends Reunited":{domains:["friendsreunited.com"]},Renren:{domains:["renren.com"]},Quora:{domains:["quora.com"]},"Gaia Online":{domains:["gaiaonline.com"]},Netlog:{domains:["netlog.com"]},Orkut:{domains:["orkut.com"]},MyHeritage:{domains:["myheritage.com"]},Multiply:{domains:["multiply.com"]},myYearbook:{domains:["myyearbook.com"]},WeeWorld:{domains:["weeworld.com"]},Vimeo:{domains:["vimeo.com"]},"Eksi Sozluk":{domains:["Sozluk.com","sourtimes.org"]},Geni:{domains:["geni.com"]},"Uludag Sozluk":{domains:["uludagsozluk.com","ulusozluk.com"]},SourceForge:{domains:["sourceforge.net"]},Plaxo:{domains:["plaxo.com"]},"Taringa!":{domains:["taringa.net"]},Tagged:{domains:["login.tagged.com"]},XING:{domains:["xing.com"]},Instagram:{domains:["instagram.com"]},Vkontakte:{domains:["vk.com","vkontakte.ru"]},Twitter:{domains:["twitter.com","t.co"]},"vKruguDruzei.ru":{domains:["vkrugudruzei.ru"]},Donanimhaber:{domains:["donanimhaber.com"]},WAYN:{domains:["wayn.com"]},Tuenti:{domains:["tuenti.com"]},"Mail.ru":{domains:["my.mail.ru"]},Badoo:{domains:["badoo.com"]},Instela:{domains:["instela.com"]},Habbo:{domains:["habbo.com"]},Pinterest:{domains:["pinterest.com"]},LinkedIn:{domains:["linkedin.com","lnkd.in"]},Foursquare:{domains:["foursquare.com"]},Flixster:{domains:["flixster.com"]},"Windows Live Spaces":{domains:["login.live.com"]},BlackPlanet:{domains:["blackplanet.com"]},Cyworld:{domains:["global.cyworld.com"]},Pocket:{domains:["itusozluk.com"],"ITU Sozluk":null},Skyrock:{domains:["skyrock.com"]},Facebook:{domains:["facebook.com","fb.me","m.facebook.com","l.facebook.com","lm.facebook.com"]},Disqus:{domains:["redirect.disqus.com","disq.us","disqus.com"]},StudiVZ:{domains:["studivz.net"]},Fotolog:{domains:["fotolog.com"]},"Google+":{domains:["url.google.com","plus.google.com"]},"Nasza-klasa.pl":{domains:["nk.pl"]},Qzone:{domains:["qzone.qq.com"]},Douban:{domains:["douban.com"]},Bebo:{domains:["bebo.com"]},Youtube:{domains:["youtube.com","youtu.be"]},Reddit:{domains:["reddit.com"]},"Identi.ca":{domains:["identi.ca"]},StackOverflow:{domains:["stackoverflow.com"]},Mixi:{domains:["mixi.jp"]},StumbleUpon:{domains:["stumbleupon.com"]},"Inci Sozluk":{domains:["inci.sozlukspot.com","incisozluk.com","incisozluk.cc"]},Viadeo:{domains:["viadeo.com"]},"Last.fm":{domains:["lastfm.ru"]},LiveJournal:{domains:["livejournal.ru"]},Tumblr:{domains:["tumblr.com"]},"Hacker News":{domains:["news.ycombinator.com"]},"Hocam.com":{domains:["hocam.com"]},Delicious:{domains:["delicious.com"]},Hyves:{domains:["hyves.nl"]},"Paper.li":{domains:["paper.li"]},"MoiKrug.ru":{domains:["moikrug.ru"]}},Kb={internal:jb,unknown:Hb,search:Vb,email:Wb,social:Gb};var Yb=ic||{};function ff(o){return Object.entries(o).filter(([r])=>o.hasOwnProperty(r))}var df=function(){let o={};return ff(Yb).forEach(([r,i])=>{i&&ff(i).forEach(([a,c])=>{c?.domains&&c.domains.forEach(u=>{var d;o[u]={name:a,medium:r,params:(d=c.parameters)===null||d===void 0?void 0:d.map(b=>b.toLowerCase())}})})}),o}();function sc(o,r=""){var i;let a={known:!1,referrer:void 0,medium:"unknown",searchParameter:void 0,searchTerm:void 0,uri:new URL(o)};if(!["http:","https:"].includes(a.uri.protocol))return a;try{if(new URL(r).hostname===a.uri.hostname)return a.medium="internal",a}catch{}let c=ac(a.uri.hostname,a.uri.pathname)||ac(a.uri.hostname,void 0);return c?(a.referrer=c.name,a.medium=c.medium,c.medium==="search"&&!((i=c.params)===null||i===void 0)&&i.length&&a.uri.searchParams.forEach((u,d)=>{var b;!((b=c.params)===null||b===void 0)&&b.includes(d.toLowerCase())&&(a.searchParameter=d,a.searchTerm=u)}),a):(a.medium="unknown",a)}function ac(o,r){let i=df[o+(r||"")];if(!i&&r){let a=r.split("/");a.length>1&&(i=df[o+"/"+a[1]])}if(!i){let a=o.indexOf(".");return a===-1?void 0:ac(o.slice(a+1),r)}return i}function mf(){let o=(0,pf.fromPairs)(["referrer","initial_referrer","visitor","utm_source","utm_medium","utm_campaign"].map(r=>[r,gf("b_"+r)]).map(([r,i])=>[r,i||void 0]));return Object.assign(Object.assign({},o),{attribution:o.referrer?sc(o.referrer):void 0,initial_attribution:o.initial_referrer?sc(o.initial_referrer):void 0})}function cc(o){return JSON.parse(JSON.stringify(o,(r,i)=>i===1/0?"Infinity":i),(r,i)=>i==="Infinity"?1/0:i)}var Ii,$b=new Uint8Array(16);function uc(){if(!Ii&&(Ii=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ii))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ii($b)}var rt=[];for(let o=0;o<256;++o)rt.push((o+256).toString(16).slice(1));function wf(o,r=0){return rt[o[r+0]]+rt[o[r+1]]+rt[o[r+2]]+rt[o[r+3]]+"-"+rt[o[r+4]]+rt[o[r+5]]+"-"+rt[o[r+6]]+rt[o[r+7]]+"-"+rt[o[r+8]]+rt[o[r+9]]+"-"+rt[o[r+10]]+rt[o[r+11]]+rt[o[r+12]]+rt[o[r+13]]+rt[o[r+14]]+rt[o[r+15]]}var Xb=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lc={randomUUID:Xb};function Qb(o,r,i){if(lc.randomUUID&&!r&&!o)return lc.randomUUID();o=o||{};let a=o.random||(o.rng||uc)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,r){i=i||0;for(let c=0;c<16;++c)r[i+c]=a[c];return r}return wf(a)}var gc=Qb;function hf(){return gc().replace(/-/g,"")}function vf(){let o=hf();try{return typeof sessionStorage<"u"&&(o=sessionStorage.getItem("builder.sessionId")||o,sessionStorage.setItem("builder.sessionId",o)),o}catch{return o}}var Zb={},Pr=new yf.UAParser(navigator.userAgent);var on=class{constructor(r){return this.name="default-data",this.type=ve.ENRICHMENT,this.options={},this.options=r,this}async setup(r){}async execute(r){return r.event_properties=this.setDataDefaults(r.event_properties),r}setDataDefaults(r){var i,a;let c=mf(),u=r;return cc((0,Oi.omit)(u,"roles","nonInteraction","line","isDev","from","filename","error","column")),u=(0,Oi.defaults)(u,{app:"app",host:location.hostname,url:location.href,sessionId:vf(),userId:this.options.userId,userEmail:this.options.userEmail,organizationId:this.options.organizationId,rootOrganizationId:this.options.rootOrganizationId,organizationType:this.options.organizationType,userLoggedIn:this.options.userLoggedIn,accountType:this.options.accountType,parentFrameUrl:window.top!==window&&document.referrer,timestamp:Date.now(),date:new Date().toUTCString(),user:Zb,sessionUrl:this.options.fullStorySessionUrl,utmMedium:c.utm_medium,utmCampaign:c.utm_campaign,utmSource:c.utm_source,referrer:c.referrer,initialReferrer:c.initial_referrer,attributionBucket:(i=c.attribution)===null||i===void 0?void 0:i.medium,initialAttributionBucket:(a=c.initial_attribution)===null||a===void 0?void 0:a.medium,visitorId:c.visitor,contentId:this.options.contentId,model:this.options.model,modelName:this.options.modelName,userAgent:navigator.userAgent,browser:Pr.getBrowser().name,browserVersion:Pr.getBrowser().version,os:Pr.getOS().name,osVersion:Pr.getOS().version,deviceType:Pr.getDevice().type,deviceVendor:Pr.getDevice().vendor}),u}};function fc(o,r,i={}){for(let a in o){let c=o[a],u=r?r+"."+a:a;c&&typeof c=="object"?fc(c,u,i):i[u]=c}return i}var rn=class{constructor(r={}){return this.name="internal-tracking",this.type=ve.DESTINATION,this.apiRoot="https://qa.builder.io",r?.apiRoot&&(this.apiRoot=r.apiRoot),this}async setup(r){}async execute(r){let i=r.event_type,a=r.event_properties,c=await fetch(\`\${this.apiRoot}/api/v1/event\`,{method:"POST",body:JSON.stringify({events:[{name:i,data:fc(a||{})}]}),headers:{"content-type":"application/json; charset=utf-8"}});return{event:r,code:c.status,message:"Tracking event sent"}}};var Zt=uf;var Vt=o=>{window.dispatchEvent(new CustomEvent("builderdevtools",{detail:{eventName:o}}))},bf=()=>{let o=new URL(window.location.href),r=o.hash,i=\`#\${$l}=\`,a="anonymous";r.startsWith(i)&&(a=r.slice(i.length),a&&(Jb(a),o.hash="",window.history.replaceState({},"",o.href))),Zt.isLoaded||(Zt.load({client:{apiKey:rc.production,configuration:{serverUrl:Zl}}}),Zt.client.add(new rn({apiRoot:"https://cdn.builder.io"})),Zt.client.add(new on({user_id:a,position:"dev-tools-menu"}))),Vt("init")};var Jb=o=>{if(typeof o=="string"&&o.length>0){let r=an();nn({...r,builderUserId:o})}},an=()=>{let o=localStorage.getItem(_f);if(o)try{let r=JSON.parse(o);return(!r.ctas||typeof r.ctas!="object")&&(r=nn({...r,ctas:{}})),r.menuOpenedTs&&(r=nn({...r,ctas:{...r.ctas,menuOpened:r.menuOpenedTs}}),delete r.menuOpenedTs),r}catch(r){console.error(r)}return nn({firstVisitTs:Date.now(),ctas:{},builderUserId:""})},nn=o=>{try{localStorage.setItem(_f,JSON.stringify(o))}catch(r){console.error(r)}return o},dc=o=>!!an().ctas[o],pc=o=>{let r=an();return nn({...r,ctas:{...r.ctas,[o]:Date.now()}})},_f="builderDevtools";function Ef(o){e_(o),t_(o),o_(o),r_(o)}function e_(o){let r=o.getElementById("input-register");r.addEventListener("change",async i=>{i.stopPropagation();let a=o.getElementById("input-name"),c=o.querySelector(".nav-cmp-input");c.classList.add("input-loading"),c.classList.remove("input-enabled");let u=a.dataset.id,d=a.dataset.prop,b=await ei({cmpId:u,name:d,registerInput:r.checked});Vt("registryUpdate"),vo(b),sn(o,u,d),zo(o,u),c.classList.remove("input-loading")})}function t_(o){o.getElementById("input-open-source").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation();let a=i.target,c=tt.components.find(u=>u.id===a?.dataset.id);c&&Er({filePath:c.filePath})})}function o_(o){let r=o.getElementById("input-name"),i=r.closest(".ui-text-input"),a="",c;r.addEventListener("focus",u=>{clearTimeout(c),i.classList.remove("saved"),u.stopPropagation(),a=r.value}),r.addEventListener("blur",async u=>{if(u.stopPropagation(),clearTimeout(c),i.classList.remove("saved"),r.value!==a){if(r.value.trim().length<3){r.value=a;return}i.classList.add("saved"),c=setTimeout(()=>{i.classList.remove("saved")},3e3);let d=r.dataset.id,b=r.dataset.prop,T=await ei({cmpId:d,name:b,friendlyName:r.value});Vt("registryUpdate"),vo(T),sr(o),zo(o,d),sn(o,d,b)}}),r.addEventListener("keyup",u=>{u.stopPropagation(),clearTimeout(c),i.classList.remove("saved"),u.key==="Escape"?(r.value=a,r.blur()):u.key==="Enter"&&r.blur()})}function r_(o){let r=o.getElementById("input-type");r.addEventListener("change",async i=>{i.stopPropagation();let a=r.dataset.id,c=r.dataset.prop,u=await ei({cmpId:a,name:c,type:r.value});Vt("registryUpdate"),vo(u),sr(o),zo(o,a),sn(o,a,c)})}function sn(o,r,i){let a=tt.components.find(h=>h.id===r);if(!a)return null;let c=a.inputs.find(h=>h.name===i);if(!c)return null;let u=o.querySelector(".nav-cmp-input");c.isRegistered?u.classList.add("input-enabled"):u.classList.remove("input-enabled");let d=o.getElementById("input-register");d.checked=!!c.isRegistered;let b=o.getElementById("cmp-input-title");b.innerText=a.name+": "+(c.friendlyName||c.name);let T=o.getElementById("input-open-source");T.innerText=\`Open \${a.displayFilePath}\`,T.dataset.id=a.id;let m=o.getElementById("cmp-prop-name");m.innerText=c.name;let g=o.getElementById("cmp-prop-type");g.innerText=ai(c.type);let w=o.getElementById("input-name");return w.dataset.id=a.id,w.dataset.prop=c.name,w.value=c.friendlyName||c.name,n_(o,a,c),c}function n_(o,r,i){let a=o.getElementById("input-type");a.dataset.id=r.id,a.dataset.prop=i.name,a.innerHTML="";let c=i.type,u=ti.includes(c),d=oi.includes(c),b=ri.includes(c),T=ni.includes(c),m=ii.includes(c);ag.forEach(g=>{let w=document.createElement("option");w.value=g.value,w.innerText=g.text,w.disabled=ti.includes(g.value)&&!u||oi.includes(g.value)&&!d||ri.includes(g.value)&&!b||ni.includes(g.value)&&!T||ii.includes(g.value)&&!m,a.appendChild(w)}),a.value=c}function xf(o){i_(o),a_(o),s_(o),u_(o),c_(o)}function i_(o){o.getElementById("cmp-register").addEventListener("change",i=>{i.stopPropagation(),ki(o,"update")})}async function ki(o,r){let i=o.querySelector(".nav-cmp-detail"),a=o.getElementById("cmp-error"),c=o.getElementById("cmp-register"),u=c.closest(".ui-switch");i.classList.remove("cmp-enabled"),c.checked&&i.classList.add("cmp-loading");try{let d=c.dataset.id,b;r==="load"?b=await tg({cmpId:d}):c.checked?(b=await og({cmpId:d}),Vt("registryUpdate"),Zt.interaction({type:"click",name:"register component",detail:d})):(b=await ng({cmpId:d}),Vt("registryUpdate"),Zt.interaction({type:"click",name:"unregister component",detail:d})),vo(b),sr(o);let T=zo(o,d);r==="update"&&T&&(c.checked?(i.classList.add("cmp-enabled"),Ga(o,\`<strong>\${T.name}</strong> is now registered in <strong>\${tt.registryDisplayPath}</strong> and available for use in the Builder Visual Editor\`)):Ga(o,\`<strong>\${T.name}</strong> has been unregistered from <strong>\${tt.registryDisplayPath}</strong> and removed from the Builder Visual Editor\`))}catch(d){console.error(d),a.innerHTML=\`<p class="error">Error loading components</p><p class="error">\${d.message||d}</p>\`,u.style.display="none"}i.classList.remove("cmp-loading")}function a_(o){let r=o.getElementById("cmp-name"),i=r.closest(".ui-text-input"),a="",c;r.addEventListener("focus",u=>{clearTimeout(c),i.classList.remove("saved"),u.stopPropagation(),a=r.value}),r.addEventListener("blur",async u=>{if(u.stopPropagation(),clearTimeout(c),i.classList.remove("saved"),r.value!==a){if(r.value.trim().length<3){r.value=a;return}i.classList.add("saved"),c=setTimeout(()=>{i.classList.remove("saved")},3e3);let d=r.dataset.id,b=await rg({cmpId:d,name:r.value});Vt("registryUpdate"),vo(b),sr(o),zo(o,d)}}),r.addEventListener("keyup",u=>{u.stopPropagation(),clearTimeout(c),i.classList.remove("saved"),u.key==="Escape"?(r.value=a,r.blur()):u.key==="Enter"&&r.blur()})}function zo(o,r){let i=tt.components.find(g=>g.id===r);if(!i)return null;let a=o.getElementById("cmp-register"),c=o.getElementById("cmp-error"),u=a.closest(".ui-switch");u.style.display="",c.innerHTML="",a.dataset.id=i.id,a.checked=!!i.isRegistered;let d=o.querySelector(".nav-cmp-detail");i.isRegistered?d.classList.add("cmp-enabled"):d.classList.remove("cmp-enabled");let b=o.getElementById("cmp-name");b.dataset.id=i.id,b.value=i.name;let T=o.getElementById("cmp-open-source");T.innerText=\`Open \${i.displayFilePath}\`,T.dataset.id=i.id;let m=o.getElementById("cmp-detail-title");return m.innerText=\`\${i.name} Component\`,l_(o,i),i}function s_(o){o.getElementById("cmp-open-source").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation();let a=i.target,c=tt.components.find(u=>u.id===a?.dataset.id);c&&(Er({filePath:c.filePath}),Zt.interaction({type:"click",name:"open component source file",detail:c.filePath}))})}function c_(o){o.getElementById("btn-inputs-reload").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation(),ki(o,"load")})}function u_(o){o.getElementById("cmp-detail-inputs").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation();let c=i.target?.closest("button"),u=c?.dataset.id,d=c?.dataset.propName;sn(o,u,d)&&no(o,"nav-cmp-input")})}function l_(o,r){let i=o.getElementById("cmp-detail-inputs"),a=r.inputs.filter(c=>!c.hideFromUI);a.length>0?(i.innerHTML="",a.forEach(c=>{i.appendChild(g_(r,c))})):i.innerHTML=\`<p class="cmp-inputs-empty">\${r.name} component does not have any props</p>\`}function g_(o,r){let i=document.createElement("button");i.dataset.id=o.id,i.dataset.propName=r.name,i.className="cmp-input-item nav-list-item",r.isRegistered||i.classList.add("cmp-input-item-unregistered");let a=document.createElement("span"),c=ai(r.type);a.className=\`nav-list-item-icon input-icon input-icon-\${c}\`,i.appendChild(a);let u=document.createElement("span");u.innerText=r.friendlyName||r.name,i.appendChild(u);let d=document.createElement("span");return d.className="nav-list-item-note",d.innerText=r.type,i.appendChild(d),i}function Sf(o){o.getElementById("open-builder-registry").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Er({filePath:tt.registryPath,line:1,column:1})}),o.getElementById("cmp-list").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation();let u=a.target?.dataset.id,d=tt.components.find(b=>b.id===u);if(d){let b=o.querySelector(".nav-cmp-detail .section-content");b.scrollTop=0,zo(o,d.id),no(o,"nav-cmp-detail"),d.isRegistered&&ki(o,"load")}})}function If(o){let r=eg();f_(o,r)}async function f_(o,r){let i=o.getElementById("cmp-list");i.classList.add("nav-loading");let a=o.getElementById("open-builder-registry");try{let c=await r;vo(c),sr(o),tt.registryDisplayPath?a.innerText="Open "+c.registryDisplayPath:a.innerText=""}catch(c){i.innerHTML=\`<p class="error">Error loading components</p><p class="error">\${c.message||c}</p>\`,console.error(c)}i.classList.remove("nav-loading")}function sr(o){let r=o.getElementById("cmp-list");r.innerHTML="";let i=tt.components.filter(c=>c.isRegistered),a=tt.components.filter(c=>!c.isRegistered);Tf(r,"Registered Components",i),Tf(r,"Unregistered Components",a)}function Tf(o,r,i){if(i.length>0){let a=document.createElement("h4");a.innerText=r,o.appendChild(a),i.forEach(c=>{o.appendChild(d_(c))})}}function d_(o){let r=document.createElement("button");r.dataset.id=o.id,r.className="cmp-item nav-list-item",o.isRegistered&&r.classList.add("registered");let i=document.createElement("span");i.className="nav-list-item-icon",o.image&&(i.style.backgroundImage=\`url(\${o.image})\`),r.appendChild(i);let a=document.createElement("span");a.className="nav-list-item-name",a.innerText=o.name,r.appendChild(a);let c=document.createElement("span");return c.className="nav-list-item-note",c.innerText=o.displayFilePath||"",r.appendChild(c),r}var Of=o=>{o.querySelector(".menu-toggle").addEventListener("click",r=>{r.preventDefault(),r.stopPropagation(),jo(o,!0)}),o.getElementById("close").addEventListener("click",r=>{r.preventDefault(),r.stopPropagation(),jo(o,!1)}),o.getElementById("hit").addEventListener("click",r=>{r.preventDefault(),r.stopPropagation(),jo(o,!1)}),Vl(o),o.addEventListener("click",r=>r.stopPropagation()),p_(o)},jo=(o,r)=>{r?(document.body.classList.add("builder-no-scroll"),o.host.classList.add("show-builder-menu"),Vt("menuOpen"),pc("menuOpened"),Zt.interaction({type:"click",name:"open dev-tools menu"})):(document.body.classList.remove("builder-no-scroll"),o.host.classList.remove("show-builder-menu"),Vt("menuClose"),setTimeout(()=>{no(o,"nav-home")},300)),ig(r)},p_=o=>{if(!dc("menuOpened")){m_(o);return}let r=an();if(!((Date.now()-r.firstVisitTs)/1e3/60<10)&&!dc("feedback")){pc("feedback"),w_(o);return}},m_=o=>{let r=document.createElement("a");r.classList.add("menu-toggle-tooltip"),r.href="#open-dev-tools",r.innerHTML=\`
28
+ }\`;var te=zl(function(){return pe(p,B+"return "+C).apply(o,v)});if(te.source=C,La(te))throw te;return te}function hy(e){return me(e).toLowerCase()}function vy(e){return me(e).toUpperCase()}function yy(e,t,n){if(e=me(e),e&&(n||t===o))return Xc(e);if(!e||!(t=kt(t)))return e;var s=Yt(e),l=Yt(t),p=Qc(s,l),v=Zc(s,l)+1;return Lo(s,p,v).join("")}function by(e,t,n){if(e=me(e),e&&(n||t===o))return e.slice(0,eu(e)+1);if(!e||!(t=kt(t)))return e;var s=Yt(e),l=Zc(s,Yt(t))+1;return Lo(s,0,l).join("")}function _y(e,t,n){if(e=me(e),e&&(n||t===o))return e.replace(Li,"");if(!e||!(t=kt(t)))return e;var s=Yt(e),l=Qc(s,Yt(t));return Lo(s,l).join("")}function Ey(e,t){var n=de,s=xe;if(Oe(t)){var l="separator"in t?t.separator:l;n="length"in t?J(t.length):n,s="omission"in t?kt(t.omission):s}e=me(e);var p=e.length;if(gr(e)){var v=Yt(e);p=v.length}if(n>=p)return e;var _=n-fr(s);if(_<1)return s;var S=v?Lo(v,0,_).join(""):e.slice(0,_);if(l===o)return S+s;if(v&&(_+=S.length-_),Da(l)){if(e.slice(_).search(l)){var R,A=S;for(l.global||(l=Xi(l.source,me(vc.exec(l))+"g")),l.lastIndex=0;R=l.exec(A);)var C=R.index;S=S.slice(0,C===o?_:C)}}else if(e.indexOf(kt(l),_)!=_){var D=S.lastIndexOf(l);D>-1&&(S=S.slice(0,D))}return S+s}function xy(e){return e=me(e),e&&Df.test(e)?e.replace(mc,Zd):e}var Ty=vr(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Ua=ju("toUpperCase");function Fl(e,t,n){return e=me(e),t=n?o:t,t===o?Kd(e)?tp(e):Nd(e):e.match(t)||[]}var zl=re(function(e,t){try{return It(e,o,t)}catch(n){return La(n)?n:new $(n)}}),Sy=fo(function(e,t){return qt(t,function(n){n=ro(n),lo(e,n,Aa(e[n],e))}),e});function Iy(e){var t=e==null?0:e.length,n=W();return e=t?Te(e,function(s){if(typeof s[1]!="function")throw new Ut(c);return[n(s[0]),s[1]]}):[],re(function(s){for(var l=-1;++l<t;){var p=e[l];if(It(p[0],this,s))return It(p[1],this,s)}})}function Oy(e){return Zp(Bt(e,m))}function Na(e){return function(){return e}}function ky(e,t){return e==null||e!==e?t:e}var Py=Vu(),Ry=Vu(!0);function yt(e){return e}function Ba(e){return bu(typeof e=="function"?e:Bt(e,m))}function Ay(e){return Eu(Bt(e,m))}function Cy(e,t){return xu(e,Bt(t,m))}var Ly=re(function(e,t){return function(n){return Nr(n,e,t)}}),Dy=re(function(e,t){return function(n){return Nr(e,n,t)}});function Fa(e,t,n){var s=Qe(t),l=Rn(t,s);n==null&&!(Oe(t)&&(l.length||!s.length))&&(n=t,t=e,e=this,l=Rn(t,Qe(t)));var p=!(Oe(n)&&"chain"in n)||!!n.chain,v=mo(e);return qt(l,function(_){var S=t[_];e[_]=S,v&&(e.prototype[_]=function(){var R=this.__chain__;if(p||R){var A=e(this.__wrapped__),C=A.__actions__=wt(this.__actions__);return C.push({func:S,args:arguments,thisArg:e}),A.__chain__=R,A}return S.apply(e,Io([this.value()],arguments))})}),e}function My(){return Xe._===this&&(Xe._=sp),this}function za(){}function qy(e){return e=J(e),re(function(t){return Tu(t,e)})}var Uy=va(Te),Ny=va(Wc),By=va(Hi);function jl(e){return Sa(e)?Vi(ro(e)):mm(e)}function Fy(e){return function(t){return e==null?o:Xo(e,t)}}var zy=Gu(),jy=Gu(!0);function ja(){return[]}function Ha(){return!1}function Hy(){return{}}function Vy(){return""}function Wy(){return!0}function Gy(e,t){if(e=J(e),e<1||e>Je)return[];var n=Ve,s=it(e,Ve);t=W(t),e-=Ve;for(var l=Ki(s,t);++n<e;)t(n);return l}function Ky(e){return X(e)?Te(e,ro):Pt(e)?[e]:wt(cl(me(e)))}function Yy(e){var t=++ip;return me(e)+t}var $y=qn(function(e,t){return e+t},0),Xy=ya("ceil"),Qy=qn(function(e,t){return e/t},1),Zy=ya("floor");function Jy(e){return e&&e.length?Pn(e,yt,na):o}function eb(e,t){return e&&e.length?Pn(e,W(t,2),na):o}function tb(e){return Yc(e,yt)}function ob(e,t){return Yc(e,W(t,2))}function rb(e){return e&&e.length?Pn(e,yt,ca):o}function nb(e,t){return e&&e.length?Pn(e,W(t,2),ca):o}var ib=qn(function(e,t){return e*t},1),ab=ya("round"),sb=qn(function(e,t){return e-t},0);function cb(e){return e&&e.length?Gi(e,yt):0}function ub(e,t){return e&&e.length?Gi(e,W(t,2)):0}return f.after=Ah,f.ary=yl,f.assign=vv,f.assignIn=Ll,f.assignInWith=$n,f.assignWith=yv,f.at=bv,f.before=bl,f.bind=Aa,f.bindAll=Sy,f.bindKey=_l,f.castArray=Hh,f.chain=wl,f.chunk=Zm,f.compact=Jm,f.concat=ew,f.cond=Iy,f.conforms=Oy,f.constant=Na,f.countBy=ch,f.create=_v,f.curry=El,f.curryRight=xl,f.debounce=Tl,f.defaults=Ev,f.defaultsDeep=xv,f.defer=Ch,f.delay=Lh,f.difference=tw,f.differenceBy=ow,f.differenceWith=rw,f.drop=nw,f.dropRight=iw,f.dropRightWhile=aw,f.dropWhile=sw,f.fill=cw,f.filter=lh,f.flatMap=dh,f.flatMapDeep=ph,f.flatMapDepth=mh,f.flatten=fl,f.flattenDeep=uw,f.flattenDepth=lw,f.flip=Dh,f.flow=Py,f.flowRight=Ry,f.fromPairs=gw,f.functions=Rv,f.functionsIn=Av,f.groupBy=wh,f.initial=dw,f.intersection=pw,f.intersectionBy=mw,f.intersectionWith=ww,f.invert=Lv,f.invertBy=Dv,f.invokeMap=vh,f.iteratee=Ba,f.keyBy=yh,f.keys=Qe,f.keysIn=vt,f.map=Hn,f.mapKeys=qv,f.mapValues=Uv,f.matches=Ay,f.matchesProperty=Cy,f.memoize=Wn,f.merge=Nv,f.mergeWith=Dl,f.method=Ly,f.methodOf=Dy,f.mixin=Fa,f.negate=Gn,f.nthArg=qy,f.omit=Bv,f.omitBy=Fv,f.once=Mh,f.orderBy=bh,f.over=Uy,f.overArgs=qh,f.overEvery=Ny,f.overSome=By,f.partial=Ca,f.partialRight=Sl,f.partition=_h,f.pick=zv,f.pickBy=Ml,f.property=jl,f.propertyOf=Fy,f.pull=bw,f.pullAll=pl,f.pullAllBy=_w,f.pullAllWith=Ew,f.pullAt=xw,f.range=zy,f.rangeRight=jy,f.rearg=Uh,f.reject=Th,f.remove=Tw,f.rest=Nh,f.reverse=Pa,f.sampleSize=Ih,f.set=Hv,f.setWith=Vv,f.shuffle=Oh,f.slice=Sw,f.sortBy=Rh,f.sortedUniq=Cw,f.sortedUniqBy=Lw,f.split=dy,f.spread=Bh,f.tail=Dw,f.take=Mw,f.takeRight=qw,f.takeRightWhile=Uw,f.takeWhile=Nw,f.tap=Jw,f.throttle=Fh,f.thru=jn,f.toArray=Rl,f.toPairs=ql,f.toPairsIn=Ul,f.toPath=Ky,f.toPlainObject=Cl,f.transform=Wv,f.unary=zh,f.union=Bw,f.unionBy=Fw,f.unionWith=zw,f.uniq=jw,f.uniqBy=Hw,f.uniqWith=Vw,f.unset=Gv,f.unzip=Ra,f.unzipWith=ml,f.update=Kv,f.updateWith=Yv,f.values=_r,f.valuesIn=$v,f.without=Ww,f.words=Fl,f.wrap=jh,f.xor=Gw,f.xorBy=Kw,f.xorWith=Yw,f.zip=$w,f.zipObject=Xw,f.zipObjectDeep=Qw,f.zipWith=Zw,f.entries=ql,f.entriesIn=Ul,f.extend=Ll,f.extendWith=$n,Fa(f,f),f.add=$y,f.attempt=zl,f.camelCase=Jv,f.capitalize=Nl,f.ceil=Xy,f.clamp=Xv,f.clone=Vh,f.cloneDeep=Gh,f.cloneDeepWith=Kh,f.cloneWith=Wh,f.conformsTo=Yh,f.deburr=Bl,f.defaultTo=ky,f.divide=Qy,f.endsWith=ey,f.eq=Xt,f.escape=ty,f.escapeRegExp=oy,f.every=uh,f.find=gh,f.findIndex=ll,f.findKey=Tv,f.findLast=fh,f.findLastIndex=gl,f.findLastKey=Sv,f.floor=Zy,f.forEach=hl,f.forEachRight=vl,f.forIn=Iv,f.forInRight=Ov,f.forOwn=kv,f.forOwnRight=Pv,f.get=Ma,f.gt=$h,f.gte=Xh,f.has=Cv,f.hasIn=qa,f.head=dl,f.identity=yt,f.includes=hh,f.indexOf=fw,f.inRange=Qv,f.invoke=Mv,f.isArguments=Jo,f.isArray=X,f.isArrayBuffer=Qh,f.isArrayLike=ht,f.isArrayLikeObject=Me,f.isBoolean=Zh,f.isBuffer=Do,f.isDate=Jh,f.isElement=ev,f.isEmpty=tv,f.isEqual=ov,f.isEqualWith=rv,f.isError=La,f.isFinite=nv,f.isFunction=mo,f.isInteger=Il,f.isLength=Kn,f.isMap=Ol,f.isMatch=iv,f.isMatchWith=av,f.isNaN=sv,f.isNative=cv,f.isNil=lv,f.isNull=uv,f.isNumber=kl,f.isObject=Oe,f.isObjectLike=Pe,f.isPlainObject=Vr,f.isRegExp=Da,f.isSafeInteger=gv,f.isSet=Pl,f.isString=Yn,f.isSymbol=Pt,f.isTypedArray=br,f.isUndefined=fv,f.isWeakMap=dv,f.isWeakSet=pv,f.join=hw,f.kebabCase=ry,f.last=zt,f.lastIndexOf=vw,f.lowerCase=ny,f.lowerFirst=iy,f.lt=mv,f.lte=wv,f.max=Jy,f.maxBy=eb,f.mean=tb,f.meanBy=ob,f.min=rb,f.minBy=nb,f.stubArray=ja,f.stubFalse=Ha,f.stubObject=Hy,f.stubString=Vy,f.stubTrue=Wy,f.multiply=ib,f.nth=yw,f.noConflict=My,f.noop=za,f.now=Vn,f.pad=ay,f.padEnd=sy,f.padStart=cy,f.parseInt=uy,f.random=Zv,f.reduce=Eh,f.reduceRight=xh,f.repeat=ly,f.replace=gy,f.result=jv,f.round=ab,f.runInContext=x,f.sample=Sh,f.size=kh,f.snakeCase=fy,f.some=Ph,f.sortedIndex=Iw,f.sortedIndexBy=Ow,f.sortedIndexOf=kw,f.sortedLastIndex=Pw,f.sortedLastIndexBy=Rw,f.sortedLastIndexOf=Aw,f.startCase=py,f.startsWith=my,f.subtract=sb,f.sum=cb,f.sumBy=ub,f.template=wy,f.times=Gy,f.toFinite=wo,f.toInteger=J,f.toLength=Al,f.toLower=hy,f.toNumber=jt,f.toSafeInteger=hv,f.toString=me,f.toUpper=vy,f.trim=yy,f.trimEnd=by,f.trimStart=_y,f.truncate=Ey,f.unescape=xy,f.uniqueId=Yy,f.upperCase=Ty,f.upperFirst=Ua,f.each=hl,f.eachRight=vl,f.first=dl,Fa(f,function(){var e={};return to(f,function(t,n){we.call(f.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),f.VERSION=r,qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),qt(["drop","take"],function(e,t){se.prototype[e]=function(n){n=n===o?1:Ge(J(n),0);var s=this.__filtered__&&!t?new se(this):this.clone();return s.__filtered__?s.__takeCount__=it(n,s.__takeCount__):s.__views__.push({size:it(n,Ve),type:e+(s.__dir__<0?"Right":"")}),s},se.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),qt(["filter","map","takeWhile"],function(e,t){var n=t+1,s=n==ee||n==nt;se.prototype[e]=function(l){var p=this.clone();return p.__iteratees__.push({iteratee:W(l,3),type:n}),p.__filtered__=p.__filtered__||s,p}}),qt(["head","last"],function(e,t){var n="take"+(t?"Right":"");se.prototype[e]=function(){return this[n](1).value()[0]}}),qt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");se.prototype[e]=function(){return this.__filtered__?new se(this):this[n](1)}}),se.prototype.compact=function(){return this.filter(yt)},se.prototype.find=function(e){return this.filter(e).head()},se.prototype.findLast=function(e){return this.reverse().find(e)},se.prototype.invokeMap=re(function(e,t){return typeof e=="function"?new se(this):this.map(function(n){return Nr(n,e,t)})}),se.prototype.reject=function(e){return this.filter(Gn(W(e)))},se.prototype.slice=function(e,t){e=J(e);var n=this;return n.__filtered__&&(e>0||t<0)?new se(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=J(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},se.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},se.prototype.toArray=function(){return this.take(Ve)},to(se.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),l=f[s?"take"+(t=="last"?"Right":""):t],p=s||/^find/.test(t);l&&(f.prototype[t]=function(){var v=this.__wrapped__,_=s?[1]:arguments,S=v instanceof se,R=_[0],A=S||X(v),C=function(ae){var ce=l.apply(f,Io([ae],_));return s&&D?ce[0]:ce};A&&n&&typeof R=="function"&&R.length!=1&&(S=A=!1);var D=this.__chain__,B=!!this.__actions__.length,G=p&&!D,te=S&&!B;if(!p&&A){v=te?v:new se(this);var K=e.apply(v,_);return K.__actions__.push({func:jn,args:[C],thisArg:o}),new Nt(K,D)}return G&&te?e.apply(this,_):(K=this.thru(C),G?s?K.value()[0]:K.value():K)})}),qt(["pop","push","shift","sort","splice","unshift"],function(e){var t=pn[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var l=arguments;if(s&&!this.__chain__){var p=this.value();return t.apply(X(p)?p:[],l)}return this[n](function(v){return t.apply(X(v)?v:[],l)})}}),to(se.prototype,function(e,t){var n=f[t];if(n){var s=n.name+"";we.call(mr,s)||(mr[s]=[]),mr[s].push({name:t,func:n})}}),mr[Mn(o,M).name]=[{name:"wrapper",func:o}],se.prototype.clone=xp,se.prototype.reverse=Tp,se.prototype.value=Sp,f.prototype.at=eh,f.prototype.chain=th,f.prototype.commit=oh,f.prototype.next=rh,f.prototype.plant=ih,f.prototype.reverse=ah,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=sh,f.prototype.first=f.prototype.head,Ar&&(f.prototype[Ar]=nh),f},ko=op();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Xe._=ko,define(function(){return ko})):Wo?((Wo.exports=ko)._=ko,Bi._=ko):Xe._=ko}).call(Or)});var lf=Wa((tn,Si)=>{(function(o,r){"use strict";var i="1.0.36",a="",c="?",u="function",d="undefined",b="object",T="string",m="major",g="model",w="name",h="type",y="vendor",E="version",M="architecture",L="console",O="mobile",P="tablet",U="smarttv",Q="wearable",oe="embedded",Z=350,fe="Amazon",de="Apple",xe="ASUS",He="BlackBerry",Ie="Browser",ee="Chrome",Jt="Edge",nt="Firefox",ze="Google",Je="Huawei",Lt="LG",st="Microsoft",Ve="Motorola",dt="Opera",xt="Samsung",Wt="Sharp",je="Sony",pt="Viera",Gt="Xiaomi",ge="Zebra",Tt="Facebook",ao="Chromium OS",eo="Mac OS",Dt=function(F,q){var H={};for(var z in F)q[z]&&q[z].length%2===0?H[z]=q[z].concat(F[z]):H[z]=F[z];return H},so=function(F){for(var q={},H=0;H<F.length;H++)q[F[H].toUpperCase()]=F[H];return q},Ye=function(F,q){return typeof F===T?et(q).indexOf(et(F))!==-1:!1},et=function(F){return F.toLowerCase()},Ho=function(F){return typeof F===T?F.replace(/[^\\d\\.]/g,a).split(".")[0]:r},ct=function(F,q){if(typeof F===T)return F=F.replace(/^\\s\\s*/,a),typeof q===d?F:F.substring(0,Z)},Kt=function(F,q){for(var H=0,z,$e,_e,ie,V,mt;H<q.length&&!V;){var Vo=q[H],cr=q[H+1];for(z=$e=0;z<Vo.length&&!V&&Vo[z];)if(V=Vo[z++].exec(F),V)for(_e=0;_e<cr.length;_e++)mt=V[++$e],ie=cr[_e],typeof ie===b&&ie.length>0?ie.length===2?typeof ie[1]==u?this[ie[0]]=ie[1].call(this,mt):this[ie[0]]=ie[1]:ie.length===3?typeof ie[1]===u&&!(ie[1].exec&&ie[1].test)?this[ie[0]]=mt?ie[1].call(this,mt,ie[2]):r:this[ie[0]]=mt?mt.replace(ie[1],ie[2]):r:ie.length===4&&(this[ie[0]]=mt?ie[3].call(this,mt.replace(ie[1],ie[2])):r):this[ie]=mt||r;H+=2}},To=function(F,q){for(var H in q)if(typeof q[H]===b&&q[H].length>0){for(var z=0;z<q[H].length;z++)if(Ye(q[H][z],F))return H===c?r:H}else if(Ye(q[H],F))return H===c?r:H;return F},Le={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},De={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"},St={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[E,[w,"Chrome"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[E,[w,"Edge"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[w,E],[/opios[\\/ ]+([\\w\\.]+)/i],[E,[w,dt+" Mini"]],[/\\bopr\\/([\\w\\.]+)/i],[E,[w,dt]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,/(heytap|ovi)browser\\/([\\d\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[w,E],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[E,[w,"UC"+Ie]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i],[E,[w,"WeChat(Win) Desktop"]],[/micromessenger\\/([\\w\\.]+)/i],[E,[w,"WeChat"]],[/konqueror\\/([\\w\\.]+)/i],[E,[w,"Konqueror"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[E,[w,"IE"]],[/ya(?:search)?browser\\/([\\w\\.]+)/i],[E,[w,"Yandex"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[w,/(.+)/,"$1 Secure "+Ie],E],[/\\bfocus\\/([\\w\\.]+)/i],[E,[w,nt+" Focus"]],[/\\bopt\\/([\\w\\.]+)/i],[E,[w,dt+" Touch"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[E,[w,"Coc Coc"]],[/dolfin\\/([\\w\\.]+)/i],[E,[w,"Dolphin"]],[/coast\\/([\\w\\.]+)/i],[E,[w,dt+" Coast"]],[/miuibrowser\\/([\\w\\.]+)/i],[E,[w,"MIUI "+Ie]],[/fxios\\/([-\\w\\.]+)/i],[E,[w,nt]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[w,"360 "+Ie]],[/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],[[w,/(.+)/,"$1 "+Ie],E],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[w,/_/g," "],E],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[w,E],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i,/\\[(linkedin)app\\]/i],[w],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[w,Tt],E],[/(kakao(?:talk|story))[\\/ ]([\\w\\.]+)/i,/(naver)\\(.*?(\\d+\\.[\\w\\.]+).*\\)/i,/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram|snapchat)[\\/ ]([-\\w\\.]+)/i],[w,E],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[E,[w,"GSA"]],[/musical_ly(?:.+app_?version\\/|_)([\\w\\.]+)/i],[E,[w,"TikTok"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[E,[w,ee+" Headless"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[w,ee+" WebView"],E],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[E,[w,"Android "+Ie]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[w,E],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[E,[w,"Mobile Safari"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[E,w],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[w,[E,To,Le]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[w,E],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[w,"Netscape"],E],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[E,[w,nt+" Reality"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\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|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i,/panasonic;(viera)/i],[w,E],[/(cobalt)\\/([\\w\\.]+)/i],[w,[E,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[M,"amd64"]],[/(ia32(?=;))/i],[[M,et]],[/((?:i[346]|x)86)[;\\)]/i],[[M,"ia32"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[M,"arm64"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[M,"armhf"]],[/windows (ce|mobile); ppc;/i],[[M,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[M,/ower/,a,et]],[/(sun4\\w)[;\\)]/i],[[M,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[M,et]]],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],[g,[y,xt],[h,P]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|sc[g-]?[\\d]+a?|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[g,[y,xt],[h,O]],[/(?:\\/|\\()(ip(?:hone|od)[\\w, ]*)(?:\\/|;)/i],[g,[y,de],[h,O]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[g,[y,de],[h,P]],[/(macintosh);/i],[g,[y,de]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[g,[y,Wt],[h,O]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[g,[y,Je],[h,P]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[g,[y,Je],[h,O]],[/\\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,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[g,/_/g," "],[y,Gt],[h,O]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[g,/_/g," "],[y,Gt],[h,P]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[g,[y,"OPPO"],[h,O]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[g,[y,"Vivo"],[h,O]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[g,[y,"Realme"],[h,O]],[/\\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],[g,[y,Ve],[h,O]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[g,[y,Ve],[h,P]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[g,[y,Lt],[h,P]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[g,[y,Lt],[h,O]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[g,[y,"Lenovo"],[h,P]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[g,/_/g," "],[y,"Nokia"],[h,O]],[/(pixel c)\\b/i],[g,[y,ze],[h,P]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[g,[y,ze],[h,O]],[/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],[g,[y,je],[h,O]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[g,"Xperia Tablet"],[y,je],[h,P]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[g,[y,"OnePlus"],[h,O]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[g,[y,fe],[h,P]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[g,/(.+)/g,"Fire Phone $1"],[y,fe],[h,O]],[/(playbook);[-\\w\\),; ]+(rim)/i],[g,y,[h,P]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[g,[y,He],[h,O]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[g,[y,xe],[h,P]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[g,[y,xe],[h,O]],[/(nexus 9)/i],[g,[y,"HTC"],[h,P]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\\.))|sony(?!-bra))[-_ ]?([-\\w]*)/i],[y,[g,/_/g," "],[h,O]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[g,[y,"Acer"],[h,P]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[g,[y,"Meizu"],[h,O]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[y,g,[h,O]],[/(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],[y,g,[h,P]],[/(surface duo)/i],[g,[y,st],[h,P]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[g,[y,"Fairphone"],[h,O]],[/(u304aa)/i],[g,[y,"AT&T"],[h,O]],[/\\bsie-(\\w*)/i],[g,[y,"Siemens"],[h,O]],[/\\b(rct\\w+) b/i],[g,[y,"RCA"],[h,P]],[/\\b(venue[\\d ]{2,7}) b/i],[g,[y,"Dell"],[h,P]],[/\\b(q(?:mv|ta)\\w+) b/i],[g,[y,"Verizon"],[h,P]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[g,[y,"Barnes & Noble"],[h,P]],[/\\b(tm\\d{3}\\w+) b/i],[g,[y,"NuVision"],[h,P]],[/\\b(k88) b/i],[g,[y,"ZTE"],[h,P]],[/\\b(nx\\d{3}j) b/i],[g,[y,"ZTE"],[h,O]],[/\\b(gen\\d{3}) b.+49h/i],[g,[y,"Swiss"],[h,O]],[/\\b(zur\\d{3}) b/i],[g,[y,"Swiss"],[h,P]],[/\\b((zeki)?tb.*\\b) b/i],[g,[y,"Zeki"],[h,P]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[y,"Dragon Touch"],g,[h,P]],[/\\b(ns-?\\w{0,9}) b/i],[g,[y,"Insignia"],[h,P]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[g,[y,"NextBook"],[h,P]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[y,"Voice"],g,[h,O]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[y,"LvTel"],g,[h,O]],[/\\b(ph-1) /i],[g,[y,"Essential"],[h,O]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[g,[y,"Envizen"],[h,P]],[/\\b(trio[-\\w\\. ]+) b/i],[g,[y,"MachSpeed"],[h,P]],[/\\btu_(1491) b/i],[g,[y,"Rotor"],[h,P]],[/(shield[\\w ]+) b/i],[g,[y,"Nvidia"],[h,P]],[/(sprint) (\\w+)/i],[y,g,[h,O]],[/(kin\\.[onetw]{3})/i],[[g,/\\./g," "],[y,st],[h,O]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[g,[y,ge],[h,P]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[g,[y,ge],[h,O]],[/smart-tv.+(samsung)/i],[y,[h,U]],[/hbbtv.+maple;(\\d+)/i],[[g,/^/,"SmartTV"],[y,xt],[h,U]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[y,Lt],[h,U]],[/(apple) ?tv/i],[y,[g,de+" TV"],[h,U]],[/crkey/i],[[g,ee+"cast"],[y,ze],[h,U]],[/droid.+aft(\\w+)( bui|\\))/i],[g,[y,fe],[h,U]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[g,[y,Wt],[h,U]],[/(bravia[\\w ]+)( bui|\\))/i],[g,[y,je],[h,U]],[/(mitv-\\w{5}) bui/i],[g,[y,Gt],[h,U]],[/Hbbtv.*(technisat) (.*);/i],[y,g,[h,U]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w\\+ ]*; *([\\w\\d][^;]*);([^;]*)/i],[[y,ct],[g,ct],[h,U]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[h,U]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[y,g,[h,L]],[/droid.+; (shield) bui/i],[g,[y,"Nvidia"],[h,L]],[/(playstation [345portablevi]+)/i],[g,[y,je],[h,L]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[g,[y,st],[h,L]],[/((pebble))app/i],[y,g,[h,Q]],[/(watch)(?: ?os[,\\/]|\\d,\\d\\/)[\\d\\.]+/i],[g,[y,de],[h,Q]],[/droid.+; (glass) \\d/i],[g,[y,ze],[h,Q]],[/droid.+; (wt63?0{2,3})\\)/i],[g,[y,ge],[h,Q]],[/(quest( 2| pro)?)/i],[g,[y,Tt],[h,Q]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[y,[h,oe]],[/(aeobc)\\b/i],[g,[y,fe],[h,oe]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[g,[h,O]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[g,[h,P]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[h,P]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[h,O]],[/(android[-\\w\\. ]{0,9});.+buil/i],[g,[y,"Generic"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[E,[w,Jt+"HTML"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[E,[w,"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],[w,E],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[E,w]],os:[[/microsoft (windows) (vista|xp)/i],[w,E],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[w,[E,To,De]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[w,"Windows"],[E,To,De]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/(?:ios;fbsv\\/|iphone.+ios[\\/ ])([\\d\\.]+)/i,/cfnetwork\\/.+darwin/i],[[E,/_/g,"."],[w,"iOS"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[w,eo],[E,/_/g,"."]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[E,w],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[w,E],[/\\(bb(10);/i],[E,[w,He]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[E,[w,"Symbian"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[E,[w,nt+" OS"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[E,[w,"webOS"]],[/watch(?: ?os[,\\/]|\\d,\\d\\/)([\\d\\.]+)/i],[E,[w,"watchOS"]],[/crkey\\/([\\d\\.]+)/i],[E,[w,ee+"cast"]],[/(cros) [\\w]+(?:\\)| ([\\w\\.]+)\\b)/i],[[w,ao],E],[/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],[w,E],[/(sunos) ?([\\w\\.\\d]*)/i],[[w,"Solaris"],E],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\\w\\.]*)/i],[w,E]]},j=function(F,q){if(typeof F===b&&(q=F,F=r),!(this instanceof j))return new j(F,q).getResult();var H=typeof o!==d&&o.navigator?o.navigator:r,z=F||(H&&H.userAgent?H.userAgent:a),$e=H&&H.userAgentData?H.userAgentData:r,_e=q?Dt(St,q):St,ie=H&&H.userAgent==z;return this.getBrowser=function(){var V={};return V[w]=r,V[E]=r,Kt.call(V,z,_e.browser),V[m]=Ho(V[E]),ie&&H&&H.brave&&typeof H.brave.isBrave==u&&(V[w]="Brave"),V},this.getCPU=function(){var V={};return V[M]=r,Kt.call(V,z,_e.cpu),V},this.getDevice=function(){var V={};return V[y]=r,V[g]=r,V[h]=r,Kt.call(V,z,_e.device),ie&&!V[h]&&$e&&$e.mobile&&(V[h]=O),ie&&V[g]=="Macintosh"&&H&&typeof H.standalone!==d&&H.maxTouchPoints&&H.maxTouchPoints>2&&(V[g]="iPad",V[h]=P),V},this.getEngine=function(){var V={};return V[w]=r,V[E]=r,Kt.call(V,z,_e.engine),V},this.getOS=function(){var V={};return V[w]=r,V[E]=r,Kt.call(V,z,_e.os),ie&&!V[w]&&$e&&$e.platform!="Unknown"&&(V[w]=$e.platform.replace(/chrome os/i,ao).replace(/macos/i,eo)),V},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 z},this.setUA=function(V){return z=typeof V===T&&V.length>Z?ct(V,Z):V,this},this.setUA(z),this};j.VERSION=i,j.BROWSER=so([w,E,m]),j.CPU=so([M]),j.DEVICE=so([g,y,h,L,O,U,P,Q,oe]),j.ENGINE=j.OS=so([w,E]),typeof tn!==d?(typeof Si!==d&&Si.exports&&(tn=Si.exports=j),tn.UAParser=j):typeof define===u&&define.amd?define(function(){return j}):typeof o!==d&&(o.UAParser=j);var ne=typeof o!==d&&(o.jQuery||o.Zepto);if(ne&&!ne.ua){var Y=new j;ne.ua=Y.getResult(),ne.ua.get=function(){return Y.getUA()},ne.ua.set=function(F){Y.setUA(F);var q=Y.getResult();for(var H in q)ne.ua[H]=q[H]}}})(typeof window=="object"?window:tn)});var no=(o,r)=>{Ka(o);let i=o.querySelector("aside");i.dataset.view=r,i.classList.remove("section-ready"),setTimeout(()=>{i.classList.add("section-ready")},200)},Vl=o=>{Array.from(o.querySelectorAll(".back-button")).forEach(r=>{r.addEventListener("click",i=>{Ka(o),i.preventDefault(),i.stopPropagation();let a=i.target;no(o,a?.dataset.back||"nav-home")})})},Ga=(o,r)=>{Ka(o);let i=o.querySelector("aside"),a=document.createElement("div");a.className="ui-toast",a.innerHTML=r,i.appendChild(a),setTimeout(()=>{a.classList.add("ui-toast-show"),setTimeout(()=>{a.classList.remove("ui-toast-show"),setTimeout(()=>{a.remove()},500)},4e3)},30)},Ka=o=>{let r=o.querySelector("aside");Array.from(r.querySelectorAll(".ui-toast")).forEach(a=>{a.classList.remove("ui-toast-show")})},Qn=()=>{let o=Wl();return localStorage.getItem(o)!=="true"},Ya=o=>{let r=Wl();o?localStorage.removeItem(r):localStorage.setItem(r,"true")},Wl=()=>hb("disableEdit"),hb=o=>\`builder.__LOCAL_APP_ID__.\${o}\`,Gl=()=>{let r=document.body.querySelector("[builder-content-id]")?.getAttribute("builder-content-id");return Wr(r)},Wr=(o,r)=>{let i="/content";o&&(i+="/"+o+"/edit");let a=new URL(i,"https://builder.io");o&&r&&a.searchParams.set("selectedBlock",r);let c=new URL(location.pathname,location.href);return a.searchParams.set("overridePreviewUrl",c.href),a.href},Zn="__DEV_TOOLS_URL__",Ke={components:[],registryPath:"",registryDisplayPath:"",frameworks:[],dependencies:[],publicApiKey:void 0,devToolsVersion:""},vo=o=>{Ke.components=o.components,Ke.registryPath=o.registryPath,Ke.registryDisplayPath=o.registryDisplayPath,Ke.dependencies=o.dependencies,Ke.publicApiKey=o.publicApiKey};function Kl(o){let r=null,i=document.querySelector("builder-dev-tools-menu"),a=()=>{o.hide()},c=b=>{let T=b.target;if(!T){a();return}if(T.closest("builder-dev-tools-edit"))return;let m=T.closest("[builder-content-id]"),g=T.closest("[builder-id]");if(!m||!g){o.hide();return}let w=o.show(m,g);!w||w===r||(i.highlightOpener(),r=w)};document.addEventListener("pointerover",c,{passive:!0}),document.addEventListener("pointerleave",a,{passive:!0}),document.addEventListener("pointercancel",a,{passive:!0}),document.addEventListener("visibilitychange",a,{passive:!0}),window.addEventListener("popstate",a,{passive:!0});let u=history.pushState;history.pushState=function(...b){o.hide(),u.apply(this,b)};let d=history.replaceState;history.replaceState=function(...b){o.hide(),d.apply(this,b)}}var Jn=class extends HTMLElement{constructor(){super();this.openInBuilder=null;this.block=null}connectedCallback(){this.setAttribute("aria-hidden","true");let i=this.attachShadow({mode:"open"});i.innerHTML='<style>*,*:before,*:after{box-sizing:border-box}:host{--background-color: rgba(40, 40, 40, 1);--primary-color: rgba(72, 161, 255, 1);--primary-color-subdued: rgb(72, 161, 255, .6);--primary-color-highlight: rgb(126, 188, 255);--primary-contrast-color: white;--edit-color: #1d74e2;--edit-color-highlight: #1c6bd1;--edit-color-alpha: rgb(72, 161, 255, .15);--error-color: #ff2b55;--text-color: white;--text-color-highlight: white;--border-color: #454545;--button-background-color-hover: rgba(255, 255, 255, .1);--menu-width: 320px;--transition-time: .15s;--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";font-family:var(--font-family);line-height:1.6}button{cursor:pointer;color:var(--text-color);-webkit-tap-highlight-color:transparent}input,select,button{font-family:var(--font-family)}:host{display:none;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2147483646;user-select:none;pointer-events:none;color:var(--text-color)}#content-highlight,#block{position:absolute}#content-highlight{border:3px solid var(--primary-color);background-color:var(--primary-color-alpha)}a{position:absolute;top:-33px;left:0;display:block;padding:5px 10px 8px;pointer-events:auto;z-index:100;text-decoration:none}a:hover{text-decoration:none}a span{display:block;padding:3px 6px;font-size:10px;font-weight:300;border-radius:3px;text-align:center;text-decoration:none;pointer-events:none;background-color:var(--edit-color);color:var(--text-color);white-space:nowrap}a:hover span{background-color:var(--edit-color-highlight)}a:hover~.outline{border-color:var(--edit-color-highlight)}#open-in-editor{display:none}.outline{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid var(--edit-color);background-color:var(--edit-color-alpha)}</style><div id="block"> <a id="open-in-builder" target="builder"><span>Open In Builder</span></a> <a id="open-in-editor" href="#open-in-editor"><span>Open In Editor</span></a> <div class="outline"></div> </div>',this.openInBuilder=i.getElementById("open-in-builder"),this.block=i.getElementById("block"),Kl(this)}show(i,a){if(!Qn())return this.hide(),null;let c=i.getAttribute("builder-content-id"),u=a.getAttribute("builder-id");if(!c||!u)return this.hide(),null;let d=this.block,b=this.openInBuilder,T=a.getBoundingClientRect();d.style.top=T.top+window.scrollY-1+"px",d.style.left=T.left+window.scrollX+"px",d.style.width=T.width+"px",d.style.height=T.height+1+"px";let m=b.getBoundingClientRect();if(m.width>T.width){let g=m.width-T.width;b.style.left=g/2*-1+"px"}else b.style.left="";return b.href=Wr(c,u),this.style.display="block",u}hide(){this.style.display=""}};var Yl="preview-url";var $l="_b-uid";var Xl="/~builder-connect";var Ql="/~builder-dev-tools";var Zl="https://cdn.builder.io/api/v1/proxy-api?url=https://api2.amplitude.com/2/httpapi";var Jl=()=>yo({type:"validateBuilder"}),Er=o=>yo({type:"launchEditor",data:o}),eg=o=>yo({type:"getRegistry",data:o}),tg=o=>yo({type:"loadComponent",data:o}),og=o=>yo({type:"registerComponent",data:o}),rg=o=>yo({type:"setComponentInfo",data:o}),ei=o=>yo({type:"setComponentInput",data:o}),ng=o=>yo({type:"unregisterComponent",data:o}),ig=o=>yo({type:"enableDevTools",data:{enabled:o}}),yo=async o=>{let r=new URL(Ql,Zn),i;try{i=await fetch(r,{method:"POST",body:JSON.stringify(o)})}catch(c){throw console.error(\`Devtools Fetch Error, \${r.href}\`,c),new Error("Builder Devtools Fetch Error")}if((i.headers.get("content-type")||"").includes("application/json")){let c=await i.json();if(i.ok)return c.data;if(Array.isArray(c.errors)&&c.errors.length>0)throw c.errors.forEach(u=>console.error(u)),new Error(\`Builder Devtools Fetch Error: \${c.errors[0]}\`)}throw new Error(\`Builder Devtools Fetch Error: \${i.status}, \${await i.text()}\`)};var ag=[{value:"boolean",text:"boolean"},{value:"color",text:"color (provides a color in hex or rgb)"},{value:"date",text:"date (same format as the Date constructor)"},{value:"email",text:"email"},{value:"file",text:"file (uploads a file and provides a url)"},{value:"list",text:"list (collection of items)"},{value:"longText",text:"longText (multiline text editor)"},{value:"number",text:"number"},{value:"object",text:"object (set of specific names and values)"},{value:"richText",text:"richText (provides value as html)"},{value:"string",text:"string"}],ti=["color","date","email","file","longText","richText","string"],oi=["number"],ri=["boolean"],ni=["list"],ii=["object"];function ai(o){return ti.includes(o)?"string":oi.includes(o)?"number":ri.includes(o)?"boolean":ni.includes(o)?"array":ii.includes(o)?"object":"string"}var A_=new Set(["about","accessKey","accessKeyLabel","asChild","autoCapitalize","autoCorrect","autoFocus","autoSave","blur","contentEditable","contextMenu","dangerouslySetInnerHTML","datatype","defaultChecked","defaultValue","dir","draggable","enterKeyHint","focus","form","formAction","formEncType","formMethod","formNoValidate","formTarget","inlist","innerText","inputMode","is","isContentEditable","itemID","itemProp","itemRef","itemScope","itemType","lang","nonce","offsetHeight","offsetLeft","offsetTop","offsetWidth","outerText","prefix","property","radioGroup","rel","resource","results","rev","role","security","slot","spellCheck","suppressContentEditableWarning","suppressHydrationWarning","tabIndex","translate","typeof","unselectable","vocab"].map(o=>o.toLowerCase()));var Se=function(){return Se=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},Se.apply(this,arguments)};function sg(o,r){var i={};for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&r.indexOf(a)<0&&(i[a]=o[a]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(o);c<a.length;c++)r.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(o,a[c])&&(i[a[c]]=o[a[c]]);return i}function Ue(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function Ne(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function io(o){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&o[r],a=0;if(i)return i.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&a>=o.length&&(o=void 0),{value:o&&o[a++],done:!o}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ct(o,r){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),c,u=[],d;try{for(;(r===void 0||r-- >0)&&!(c=a.next()).done;)u.push(c.value)}catch(b){d={error:b}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(d)throw d.error}}return u}function bo(o,r,i){if(i||arguments.length===2)for(var a=0,c=r.length,u;a<c;a++)(u||!(a in r))&&(u||(u=Array.prototype.slice.call(r,0,a)),u[a]=r[a]);return o.concat(u||Array.prototype.slice.call(r))}var Be;(function(o){o.SET="$set",o.SET_ONCE="$setOnce",o.ADD="$add",o.APPEND="$append",o.PREPEND="$prepend",o.REMOVE="$remove",o.PREINSERT="$preInsert",o.POSTINSERT="$postInsert",o.UNSET="$unset",o.CLEAR_ALL="$clearAll"})(Be||(Be={}));var _o;(function(o){o.REVENUE_PRODUCT_ID="$productId",o.REVENUE_QUANTITY="$quantity",o.REVENUE_PRICE="$price",o.REVENUE_TYPE="$revenueType",o.REVENUE="$revenue"})(_o||(_o={}));var Mo;(function(o){o.IDENTIFY="$identify",o.GROUP_IDENTIFY="$groupidentify",o.REVENUE="revenue_amount"})(Mo||(Mo={}));var ft;(function(o){o[o.None=0]="None",o[o.Error=1]="Error",o[o.Warn=2]="Warn",o[o.Verbose=3]="Verbose",o[o.Debug=4]="Debug"})(ft||(ft={}));var ve;(function(o){o.BEFORE="before",o.ENRICHMENT="enrichment",o.DESTINATION="destination"})(ve||(ve={}));var xr;(function(o){o.US="US",o.EU="EU"})(xr||(xr={}));var ke;(function(o){o.Unknown="unknown",o.Skipped="skipped",o.Success="success",o.RateLimit="rate_limit",o.PayloadTooLarge="payload_too_large",o.Invalid="invalid",o.Failed="failed",o.Timeout="Timeout",o.SystemError="SystemError"})(ke||(ke={}));var Tr;(function(o){o.XHR="xhr",o.SendBeacon="beacon",o.Fetch="fetch"})(Tr||(Tr={}));var $a="-",er="AMP",Xa="".concat(er,"_unsent"),Qa="https://api2.amplitude.com/2/httpapi",cg="https://api.eu.amplitude.com/2/httpapi",ug="https://api2.amplitude.com/batch",lg="https://api.eu.amplitude.com/batch";var yb=1e3,si=function(o){if(Object.keys(o).length>yb)return!1;for(var r in o){var i=o[r];if(!Za(r,i))return!1}return!0},Za=function(o,r){var i,a;if(typeof o!="string")return!1;if(Array.isArray(r)){var c=!0;try{for(var u=io(r),d=u.next();!d.done;d=u.next()){var b=d.value;if(Array.isArray(b))return!1;if(typeof b=="object")c=c&&si(b);else if(!["number","string"].includes(typeof b))return!1;if(!c)return!1}}catch(T){i={error:T}}finally{try{d&&!d.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}}else{if(r==null)return!1;if(typeof r=="object")return si(r);if(!["number","string","boolean"].includes(typeof r))return!1}return!0};var Ht=function(){function o(){this._propertySet=new Set,this._properties={}}return o.prototype.getUserProperties=function(){return Se({},this._properties)},o.prototype.set=function(r,i){return this._safeSet(Be.SET,r,i),this},o.prototype.setOnce=function(r,i){return this._safeSet(Be.SET_ONCE,r,i),this},o.prototype.append=function(r,i){return this._safeSet(Be.APPEND,r,i),this},o.prototype.prepend=function(r,i){return this._safeSet(Be.PREPEND,r,i),this},o.prototype.postInsert=function(r,i){return this._safeSet(Be.POSTINSERT,r,i),this},o.prototype.preInsert=function(r,i){return this._safeSet(Be.PREINSERT,r,i),this},o.prototype.remove=function(r,i){return this._safeSet(Be.REMOVE,r,i),this},o.prototype.add=function(r,i){return this._safeSet(Be.ADD,r,i),this},o.prototype.unset=function(r){return this._safeSet(Be.UNSET,r,$a),this},o.prototype.clearAll=function(){return this._properties={},this._properties[Be.CLEAR_ALL]=$a,this},o.prototype._safeSet=function(r,i,a){if(this._validate(r,i,a)){var c=this._properties[r];return c===void 0&&(c={},this._properties[r]=c),c[i]=a,this._propertySet.add(i),!0}return!1},o.prototype._validate=function(r,i,a){return this._properties[Be.CLEAR_ALL]!==void 0||this._propertySet.has(i)?!1:r===Be.ADD?typeof a=="number":r!==Be.UNSET&&r!==Be.REMOVE?Za(i,a):!0},o}();var gg=function(o,r,i){var a=typeof o=="string"?{event_type:o}:o;return Se(Se(Se({},a),i),r&&{event_properties:r})},Gr=function(o,r){var i=Se(Se({},r),{event_type:Mo.IDENTIFY,user_properties:o.getUserProperties()});return i},fg=function(o,r,i,a){var c,u=Se(Se({},a),{event_type:Mo.GROUP_IDENTIFY,group_properties:i.getUserProperties(),groups:(c={},c[o]=r,c)});return u},dg=function(o,r,i){var a,c=new Ht;c.set(o,r);var u=Se(Se({},i),{event_type:Mo.IDENTIFY,user_properties:c.getUserProperties(),groups:(a={},a[o]=r,a)});return u},pg=function(o,r){return Se(Se({},r),{event_type:Mo.REVENUE,event_properties:o.getEventProperties()})};var qo=function(o,r,i){return r===void 0&&(r=0),i===void 0&&(i=ke.Unknown),{event:o,code:r,message:i}};var mg=function(){function o(r){this.client=r,this.queue=[],this.applying=!1,this.plugins=[]}return o.prototype.register=function(r,i){return Ue(this,void 0,void 0,function(){return Ne(this,function(a){switch(a.label){case 0:return[4,r.setup(i,this.client)];case 1:return a.sent(),this.plugins.push(r),[2]}})})},o.prototype.deregister=function(r){var i;return Ue(this,void 0,void 0,function(){var a,c;return Ne(this,function(u){switch(u.label){case 0:return a=this.plugins.findIndex(function(d){return d.name===r}),c=this.plugins[a],this.plugins.splice(a,1),[4,(i=c.teardown)===null||i===void 0?void 0:i.call(c)];case 1:return u.sent(),[2]}})})},o.prototype.reset=function(r){this.applying=!1;var i=this.plugins;i.map(function(a){var c;return(c=a.teardown)===null||c===void 0?void 0:c.call(a)}),this.plugins=[],this.client=r},o.prototype.push=function(r){var i=this;return new Promise(function(a){i.queue.push([r,a]),i.scheduleApply(0)})},o.prototype.scheduleApply=function(r){var i=this;this.applying||(this.applying=!0,setTimeout(function(){i.apply(i.queue.shift()).then(function(){i.applying=!1,i.queue.length>0&&i.scheduleApply(0)})},r))},o.prototype.apply=function(r){return Ue(this,void 0,void 0,function(){var i,a,c,u,d,b,T,y,E,m,g,w,h,y,E,M,L,O,P,U,Q,oe;return Ne(this,function(Z){switch(Z.label){case 0:if(!r)return[2];i=Ct(r,1),a=i[0],c=Ct(r,2),u=c[1],d=this.plugins.filter(function(fe){return fe.type===ve.BEFORE}),Z.label=1;case 1:Z.trys.push([1,6,7,8]),b=io(d),T=b.next(),Z.label=2;case 2:return T.done?[3,5]:(y=T.value,[4,y.execute(Se({},a))]);case 3:if(E=Z.sent(),E===null)return u({event:a,code:0,message:""}),[2];a=E,Z.label=4;case 4:return T=b.next(),[3,2];case 5:return[3,8];case 6:return m=Z.sent(),P={error:m},[3,8];case 7:try{T&&!T.done&&(U=b.return)&&U.call(b)}finally{if(P)throw P.error}return[7];case 8:g=this.plugins.filter(function(fe){return fe.type===ve.ENRICHMENT}),Z.label=9;case 9:Z.trys.push([9,14,15,16]),w=io(g),h=w.next(),Z.label=10;case 10:return h.done?[3,13]:(y=h.value,[4,y.execute(Se({},a))]);case 11:if(E=Z.sent(),E===null)return u({event:a,code:0,message:""}),[2];a=E,Z.label=12;case 12:return h=w.next(),[3,10];case 13:return[3,16];case 14:return M=Z.sent(),Q={error:M},[3,16];case 15:try{h&&!h.done&&(oe=w.return)&&oe.call(w)}finally{if(Q)throw Q.error}return[7];case 16:return L=this.plugins.filter(function(fe){return fe.type===ve.DESTINATION}),O=L.map(function(fe){var de=Se({},a);return fe.execute(de).catch(function(xe){return qo(de,0,String(xe))})}),Promise.all(O).then(function(fe){var de=Ct(fe,1),xe=de[0];u(xe)}),[2]}})})},o.prototype.flush=function(){return Ue(this,void 0,void 0,function(){var r,i,a,c=this;return Ne(this,function(u){switch(u.label){case 0:return r=this.queue,this.queue=[],[4,Promise.all(r.map(function(d){return c.apply(d)}))];case 1:return u.sent(),i=this.plugins.filter(function(d){return d.type===ve.DESTINATION}),a=i.map(function(d){return d.flush&&d.flush()}),[4,Promise.all(a)];case 2:return u.sent(),[2]}})})},o}();var wg="Event tracked successfully",hg="Unexpected error occurred",vg="Event rejected due to exceeded retry count",yg="Event skipped due to optOut config",bg="Event rejected due to missing API key",_g="Invalid API key",Eg="Client not initialized";var bt=function(o){return{promise:o||Promise.resolve()}};var Ja=function(){function o(r){r===void 0&&(r="$default"),this.initializing=!1,this.q=[],this.dispatchQ=[],this.logEvent=this.track.bind(this),this.timeline=new mg(this),this.name=r}return o.prototype._init=function(r){return Ue(this,void 0,void 0,function(){return Ne(this,function(i){switch(i.label){case 0:return this.config=r,this.timeline.reset(this),[4,this.runQueuedFunctions("q")];case 1:return i.sent(),[2]}})})},o.prototype.runQueuedFunctions=function(r){return Ue(this,void 0,void 0,function(){var i,a,c,u,d,b,T;return Ne(this,function(m){switch(m.label){case 0:i=this[r],this[r]=[],m.label=1;case 1:m.trys.push([1,6,7,8]),a=io(i),c=a.next(),m.label=2;case 2:return c.done?[3,5]:(u=c.value,[4,u()]);case 3:m.sent(),m.label=4;case 4:return c=a.next(),[3,2];case 5:return[3,8];case 6:return d=m.sent(),b={error:d},[3,8];case 7:try{c&&!c.done&&(T=a.return)&&T.call(a)}finally{if(b)throw b.error}return[7];case 8:return[2]}})})},o.prototype.track=function(r,i,a){var c=gg(r,i,a);return bt(this.dispatch(c))},o.prototype.identify=function(r,i){var a=Gr(r,i);return bt(this.dispatch(a))},o.prototype.groupIdentify=function(r,i,a,c){var u=fg(r,i,a,c);return bt(this.dispatch(u))},o.prototype.setGroup=function(r,i,a){var c=dg(r,i,a);return bt(this.dispatch(c))},o.prototype.revenue=function(r,i){var a=pg(r,i);return bt(this.dispatch(a))},o.prototype.add=function(r){return this.config?bt(this.timeline.register(r,this.config)):(this.q.push(this.add.bind(this,r)),bt())},o.prototype.remove=function(r){return this.config?bt(this.timeline.deregister(r)):(this.q.push(this.remove.bind(this,r)),bt())},o.prototype.dispatchWithCallback=function(r,i){if(!this.config)return i(qo(r,0,Eg));this.process(r).then(i)},o.prototype.dispatch=function(r){return Ue(this,void 0,void 0,function(){var i=this;return Ne(this,function(a){return this.config?[2,this.process(r)]:[2,new Promise(function(c){i.dispatchQ.push(i.dispatchWithCallback.bind(i,r,c))})]})})},o.prototype.process=function(r){return Ue(this,void 0,void 0,function(){var c,i,a,c;return Ne(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),this.config.optOut?[2,qo(r,0,yg)]:[4,this.timeline.push(r)];case 1:return c=u.sent(),c.code===200?this.config.loggerProvider.log(c.message):this.config.loggerProvider.error(c.message),[2,c];case 2:return i=u.sent(),a=String(i),this.config.loggerProvider.error(a),c=qo(r,0,a),[2,c];case 3:return[2]}})})},o.prototype.setOptOut=function(r){if(!this.config){this.q.push(this.setOptOut.bind(this,!!r));return}this.config.optOut=!!r},o.prototype.flush=function(){return bt(this.timeline.flush())},o}();var ci=function(){function o(){this.productId="",this.quantity=1,this.price=0}return o.prototype.setProductId=function(r){return this.productId=r,this},o.prototype.setQuantity=function(r){return r>0&&(this.quantity=r),this},o.prototype.setPrice=function(r){return this.price=r,this},o.prototype.setRevenueType=function(r){return this.revenueType=r,this},o.prototype.setRevenue=function(r){return this.revenue=r,this},o.prototype.setEventProperties=function(r){return si(r)&&(this.properties=r),this},o.prototype.getEventProperties=function(){var r=this.properties?Se({},this.properties):{};return r[_o.REVENUE_PRODUCT_ID]=this.productId,r[_o.REVENUE_QUANTITY]=this.quantity,r[_o.REVENUE_PRICE]=this.price,r[_o.REVENUE_TYPE]=this.revenueType,r[_o.REVENUE]=this.revenue,r},o}();var xg=function(o,r){var i=Math.max(r,1);return o.reduce(function(a,c,u){var d=Math.floor(u/i);return a[d]||(a[d]=[]),a[d].push(c),a},[])};var ui="Amplitude Logger ",Tg=function(){function o(){this.logLevel=ft.None}return o.prototype.disable=function(){this.logLevel=ft.None},o.prototype.enable=function(r){r===void 0&&(r=ft.Warn),this.logLevel=r},o.prototype.log=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this.logLevel<ft.Verbose||console.log("".concat(ui,"[Log]: ").concat(r.join(" ")))},o.prototype.warn=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this.logLevel<ft.Warn||console.warn("".concat(ui,"[Warn]: ").concat(r.join(" ")))},o.prototype.error=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this.logLevel<ft.Error||console.error("".concat(ui,"[Error]: ").concat(r.join(" ")))},o.prototype.debug=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];this.logLevel<ft.Debug||console.log("".concat(ui,"[Debug]: ").concat(r.join(" ")))},o}();var li=function(){return{flushMaxRetries:12,flushQueueSize:200,flushIntervalMillis:1e4,instanceName:"$default_instance",logLevel:ft.Warn,loggerProvider:new Tg,optOut:!1,serverUrl:Qa,serverZone:xr.US,useBatch:!1}},es=function(){function o(r){var i,a,c,u;this._optOut=!1;var d=li();this.apiKey=r.apiKey,this.flushIntervalMillis=(i=r.flushIntervalMillis)!==null&&i!==void 0?i:d.flushIntervalMillis,this.flushMaxRetries=r.flushMaxRetries||d.flushMaxRetries,this.flushQueueSize=r.flushQueueSize||d.flushQueueSize,this.instanceName=r.instanceName||d.instanceName,this.loggerProvider=r.loggerProvider||d.loggerProvider,this.logLevel=(a=r.logLevel)!==null&&a!==void 0?a:d.logLevel,this.minIdLength=r.minIdLength,this.plan=r.plan,this.ingestionMetadata=r.ingestionMetadata,this.optOut=(c=r.optOut)!==null&&c!==void 0?c:d.optOut,this.serverUrl=r.serverUrl,this.serverZone=r.serverZone||d.serverZone,this.storageProvider=r.storageProvider,this.transportProvider=r.transportProvider,this.useBatch=(u=r.useBatch)!==null&&u!==void 0?u:d.useBatch,this.loggerProvider.enable(this.logLevel);var b=ts(r.serverUrl,r.serverZone,r.useBatch);this.serverZone=b.serverZone,this.serverUrl=b.serverUrl}return Object.defineProperty(o.prototype,"optOut",{get:function(){return this._optOut},set:function(r){this._optOut=r},enumerable:!1,configurable:!0}),o}();var bb=function(o,r){return o===xr.EU?r?lg:cg:r?ug:Qa},ts=function(o,r,i){if(o===void 0&&(o=""),r===void 0&&(r=li().serverZone),i===void 0&&(i=li().useBatch),o)return{serverUrl:o,serverZone:void 0};var a=["US","EU"].includes(r)?r:li().serverZone;return{serverZone:a,serverUrl:bb(a,i)}};function _b(o){return o instanceof Error?o.message:String(o)}function gi(o){var r="";try{"body"in o&&(r=JSON.stringify(o.body))}catch{}return r}var os=function(){function o(){this.name="amplitude",this.type=ve.DESTINATION,this.retryTimeout=1e3,this.throttleTimeout=3e4,this.storageKey="",this.scheduled=null,this.queue=[]}return o.prototype.setup=function(r){var i;return Ue(this,void 0,void 0,function(){var a,c=this;return Ne(this,function(u){switch(u.label){case 0:return this.config=r,this.storageKey="".concat(Xa,"_").concat(this.config.apiKey.substring(0,10)),[4,(i=this.config.storageProvider)===null||i===void 0?void 0:i.get(this.storageKey)];case 1:return a=u.sent(),this.saveEvents(),a&&a.length>0&&Promise.all(a.map(function(d){return c.execute(d)})).catch(),[2,Promise.resolve(void 0)]}})})},o.prototype.execute=function(r){var i=this;return new Promise(function(a){var c={event:r,attempts:0,callback:function(u){return a(u)},timeout:0};i.addToQueue(c)})},o.prototype.addToQueue=function(){for(var r=this,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var c=i.filter(function(u){return u.attempts<r.config.flushMaxRetries?(u.attempts+=1,!0):(r.fulfillRequest([u],500,vg),!1)});c.forEach(function(u){if(r.queue=r.queue.concat(u),u.timeout===0){r.schedule(r.config.flushIntervalMillis);return}setTimeout(function(){u.timeout=0,r.schedule(0)},u.timeout)}),this.saveEvents()},o.prototype.schedule=function(r){var i=this;this.scheduled||(this.scheduled=setTimeout(function(){i.flush(!0).then(function(){i.queue.length>0&&i.schedule(r)})},r))},o.prototype.flush=function(r){return r===void 0&&(r=!1),Ue(this,void 0,void 0,function(){var i,a,c,u=this;return Ne(this,function(d){switch(d.label){case 0:return i=[],a=[],this.queue.forEach(function(b){return b.timeout===0?i.push(b):a.push(b)}),this.queue=a,this.scheduled&&(clearTimeout(this.scheduled),this.scheduled=null),c=xg(i,this.config.flushQueueSize),[4,Promise.all(c.map(function(b){return u.send(b,r)}))];case 1:return d.sent(),[2]}})})},o.prototype.send=function(r,i){return i===void 0&&(i=!0),Ue(this,void 0,void 0,function(){var a,c,u,d,b;return Ne(this,function(T){switch(T.label){case 0:if(!this.config.apiKey)return[2,this.fulfillRequest(r,400,bg)];a={api_key:this.config.apiKey,events:r.map(function(m){var g=m.event,w=g.extra,h=sg(g,["extra"]);return h}),options:{min_id_length:this.config.minIdLength}},T.label=1;case 1:return T.trys.push([1,3,,4]),c=ts(this.config.serverUrl,this.config.serverZone,this.config.useBatch).serverUrl,[4,this.config.transportProvider.send(c,a)];case 2:return u=T.sent(),u===null?(this.fulfillRequest(r,0,hg),[2]):i?(this.handleResponse(u,r),[3,4]):("body"in u?this.fulfillRequest(r,u.statusCode,"".concat(u.status,": ").concat(gi(u))):this.fulfillRequest(r,u.statusCode,u.status),[2]);case 3:return d=T.sent(),b=_b(d),this.config.loggerProvider.error(b),this.fulfillRequest(r,0,b),[3,4];case 4:return[2]}})})},o.prototype.handleResponse=function(r,i){var a=r.status;switch(a){case ke.Success:{this.handleSuccessResponse(r,i);break}case ke.Invalid:{this.handleInvalidResponse(r,i);break}case ke.PayloadTooLarge:{this.handlePayloadTooLargeResponse(r,i);break}case ke.RateLimit:{this.handleRateLimitResponse(r,i);break}default:{this.config.loggerProvider.warn(\`{code: 0, error: "Status '\`.concat(a,"' provided for ").concat(i.length,' events"}')),this.handleOtherResponse(i);break}}},o.prototype.handleSuccessResponse=function(r,i){this.fulfillRequest(i,r.statusCode,wg)},o.prototype.handleInvalidResponse=function(r,i){var a=this;if(r.body.missingField||r.body.error.startsWith(_g)){this.fulfillRequest(i,r.statusCode,r.body.error);return}var c=bo(bo(bo(bo([],Ct(Object.values(r.body.eventsWithInvalidFields)),!1),Ct(Object.values(r.body.eventsWithMissingFields)),!1),Ct(Object.values(r.body.eventsWithInvalidIdLengths)),!1),Ct(r.body.silencedEvents),!1).flat(),u=new Set(c),d=i.filter(function(b,T){if(u.has(T)){a.fulfillRequest([b],r.statusCode,r.body.error);return}return!0});d.length>0&&this.config.loggerProvider.warn(gi(r)),this.addToQueue.apply(this,bo([],Ct(d),!1))},o.prototype.handlePayloadTooLargeResponse=function(r,i){if(i.length===1){this.fulfillRequest(i,r.statusCode,r.body.error);return}this.config.loggerProvider.warn(gi(r)),this.config.flushQueueSize/=2,this.addToQueue.apply(this,bo([],Ct(i),!1))},o.prototype.handleRateLimitResponse=function(r,i){var a=this,c=Object.keys(r.body.exceededDailyQuotaUsers),u=Object.keys(r.body.exceededDailyQuotaDevices),d=r.body.throttledEvents,b=new Set(c),T=new Set(u),m=new Set(d),g=i.filter(function(w,h){if(w.event.user_id&&b.has(w.event.user_id)||w.event.device_id&&T.has(w.event.device_id)){a.fulfillRequest([w],r.statusCode,r.body.error);return}return m.has(h)&&(w.timeout=a.throttleTimeout),!0});g.length>0&&this.config.loggerProvider.warn(gi(r)),this.addToQueue.apply(this,bo([],Ct(g),!1))},o.prototype.handleOtherResponse=function(r){var i=this;this.addToQueue.apply(this,bo([],Ct(r.map(function(a){return a.timeout=a.attempts*i.retryTimeout,a})),!1))},o.prototype.fulfillRequest=function(r,i,a){this.saveEvents(),r.forEach(function(c){return c.callback(qo(c.event,i,a))})},o.prototype.saveEvents=function(){if(this.config.storageProvider){var r=Array.from(this.queue.map(function(i){return i.event}));this.config.storageProvider.set(this.storageKey,r)}},o}();var Eb=function(o){o===void 0&&(o=0);var r=new Error().stack||"";return r.split(\`
29
+ \`).slice(2+o).map(function(i){return i.trim()})},Re=function(o){return function(){var r=Se({},o.config),i=r.loggerProvider,a=r.logLevel;return{logger:i,logLevel:a}}},xb=function(o,r){var i,a;r=r.replace(/\\[(\\w+)\\]/g,".$1"),r=r.replace(/^\\./,"");try{for(var c=io(r.split(".")),u=c.next();!u.done;u=c.next()){var d=u.value;if(d in o)o=o[d];else return}}catch(b){i={error:b}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return o},Ae=function(o,r){return function(){var i,a,c={};try{for(var u=io(r),d=u.next();!d.done;d=u.next()){var b=d.value;c[b]=xb(o,b)}}catch(T){i={error:T}}finally{try{d&&!d.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return c}},Ce=function(o,r,i,a,c){return c===void 0&&(c=null),function(){for(var u=[],d=0;d<arguments.length;d++)u[d]=arguments[d];var b=i(),T=b.logger,m=b.logLevel;if(m&&m<ft.Debug||!m||!T)return o.apply(c,u);var g={type:"invoke public method",name:r,args:u,stacktrace:Eb(1),time:{start:new Date().toISOString()},states:{}};a&&g.states&&(g.states.before=a());var w=o.apply(c,u);return w&&w.promise?w.promise.then(function(){a&&g.states&&(g.states.after=a()),g.time&&(g.time.end=new Date().toISOString()),T.debug(JSON.stringify(g,null,2))}):(a&&g.states&&(g.states.after=a()),g.time&&(g.time.end=new Date().toISOString()),T.debug(JSON.stringify(g,null,2))),w}};var Uo=function(o){return o?(o^Math.random()*16>>o/4).toString(16):(String(1e7)+String(-1e3)+String(-4e3)+String(-8e3)+String(-1e11)).replace(/[018]/g,Uo)};var fi=function(){function o(){this.memoryStorage=new Map}return o.prototype.isEnabled=function(){return Ue(this,void 0,void 0,function(){return Ne(this,function(r){return[2,!0]})})},o.prototype.get=function(r){return Ue(this,void 0,void 0,function(){return Ne(this,function(i){return[2,this.memoryStorage.get(r)]})})},o.prototype.getRaw=function(r){return Ue(this,void 0,void 0,function(){var i;return Ne(this,function(a){switch(a.label){case 0:return[4,this.get(r)];case 1:return i=a.sent(),[2,i?JSON.stringify(i):void 0]}})})},o.prototype.set=function(r,i){return Ue(this,void 0,void 0,function(){return Ne(this,function(a){return this.memoryStorage.set(r,i),[2]})})},o.prototype.remove=function(r){return Ue(this,void 0,void 0,function(){return Ne(this,function(i){return this.memoryStorage.delete(r),[2]})})},o.prototype.reset=function(){return Ue(this,void 0,void 0,function(){return Ne(this,function(r){return this.memoryStorage.clear(),[2]})})},o}();var tr=function(){function o(){}return o.prototype.send=function(r,i){return Promise.resolve(null)},o.prototype.buildResponse=function(r){var i,a,c,u,d,b,T,m,g,w,h,y,E,M,L,O,P,U,Q,oe,Z,fe;if(typeof r!="object")return null;var de=r.code||0,xe=this.buildStatus(de);switch(xe){case ke.Success:return{status:xe,statusCode:de,body:{eventsIngested:(i=r.events_ingested)!==null&&i!==void 0?i:0,payloadSizeBytes:(a=r.payload_size_bytes)!==null&&a!==void 0?a:0,serverUploadTime:(c=r.server_upload_time)!==null&&c!==void 0?c:0}};case ke.Invalid:return{status:xe,statusCode:de,body:{error:(u=r.error)!==null&&u!==void 0?u:"",missingField:(d=r.missing_field)!==null&&d!==void 0?d:"",eventsWithInvalidFields:(b=r.events_with_invalid_fields)!==null&&b!==void 0?b:{},eventsWithMissingFields:(T=r.events_with_missing_fields)!==null&&T!==void 0?T:{},eventsWithInvalidIdLengths:(m=r.events_with_invalid_id_lengths)!==null&&m!==void 0?m:{},epsThreshold:(g=r.eps_threshold)!==null&&g!==void 0?g:0,exceededDailyQuotaDevices:(w=r.exceeded_daily_quota_devices)!==null&&w!==void 0?w:{},silencedDevices:(h=r.silenced_devices)!==null&&h!==void 0?h:[],silencedEvents:(y=r.silenced_events)!==null&&y!==void 0?y:[],throttledDevices:(E=r.throttled_devices)!==null&&E!==void 0?E:{},throttledEvents:(M=r.throttled_events)!==null&&M!==void 0?M:[]}};case ke.PayloadTooLarge:return{status:xe,statusCode:de,body:{error:(L=r.error)!==null&&L!==void 0?L:""}};case ke.RateLimit:return{status:xe,statusCode:de,body:{error:(O=r.error)!==null&&O!==void 0?O:"",epsThreshold:(P=r.eps_threshold)!==null&&P!==void 0?P:0,throttledDevices:(U=r.throttled_devices)!==null&&U!==void 0?U:{},throttledUsers:(Q=r.throttled_users)!==null&&Q!==void 0?Q:{},exceededDailyQuotaDevices:(oe=r.exceeded_daily_quota_devices)!==null&&oe!==void 0?oe:{},exceededDailyQuotaUsers:(Z=r.exceeded_daily_quota_users)!==null&&Z!==void 0?Z:{},throttledEvents:(fe=r.throttled_events)!==null&&fe!==void 0?fe:[]}};case ke.Timeout:default:return{status:xe,statusCode:de}}},o.prototype.buildStatus=function(r){return r>=200&&r<300?ke.Success:r===429?ke.RateLimit:r===413?ke.PayloadTooLarge:r===408?ke.Timeout:r>=400&&r<500?ke.Invalid:r>=500?ke.Failed:ke.Unknown},o}();var rs=function(o,r){return rs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(i[c]=a[c])},rs(o,r)};function No(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");rs(o,r);function i(){this.constructor=o}o.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}var he=function(){return he=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},he.apply(this,arguments)};function ue(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function le(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function Sg(o){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&o[r],a=0;if(i)return i.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&a>=o.length&&(o=void 0),{value:o&&o[a++],done:!o}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function di(o,r){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),c,u=[],d;try{for(;(r===void 0||r-- >0)&&!(c=a.next()).done;)u.push(c.value)}catch(b){d={error:b}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(d)throw d.error}}return u}var Tb=function(){function o(){}return o.prototype.getApplicationContext=function(){return{versionName:this.versionName,language:Sb(),platform:"Web",os:void 0,deviceModel:void 0}},o}(),Sb=function(){return typeof navigator<"u"&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},Ib=function(){function o(){this.queue=[]}return o.prototype.logEvent=function(r){this.receiver?this.receiver(r):this.queue.length<512&&this.queue.push(r)},o.prototype.setEventReceiver=function(r){this.receiver=r,this.queue.length>0&&(this.queue.forEach(function(i){r(i)}),this.queue=[])},o}(),Bo=function(){return Bo=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},Bo.apply(this,arguments)},pi=function(o,r){var i=["string","number","boolean","undefined"],a=typeof o,c=typeof r;if(a!==c)return!1;for(var u=0,d=i;u<d.length;u++){var b=d[u];if(b===a)return o===r}if(o==null&&r==null)return!0;if(o==null||r==null||o.length!==r.length)return!1;var T=Array.isArray(o),m=Array.isArray(r);if(T!==m)return!1;if(T&&m){for(var g=0;g<o.length;g++)if(!pi(o[g],r[g]))return!1}else{var w=Object.keys(o).sort(),h=Object.keys(r).sort();if(!pi(w,h))return!1;var y=!0;return Object.keys(o).forEach(function(E){pi(o[E],r[E])||(y=!1)}),y}return!0},Ob="$set",kb="$unset",Pb="$clearAll";Object.entries||(Object.entries=function(o){for(var r=Object.keys(o),i=r.length,a=new Array(i);i--;)a[i]=[r[i],o[r[i]]];return a});var Rb=function(){function o(){this.identity={userProperties:{}},this.listeners=new Set}return o.prototype.editIdentity=function(){var r=this,i=Bo({},this.identity.userProperties),a=Bo(Bo({},this.identity),{userProperties:i});return{setUserId:function(c){return a.userId=c,this},setDeviceId:function(c){return a.deviceId=c,this},setUserProperties:function(c){return a.userProperties=c,this},setOptOut:function(c){return a.optOut=c,this},updateUserProperties:function(c){for(var u=a.userProperties||{},d=0,b=Object.entries(c);d<b.length;d++){var T=b[d],m=T[0],g=T[1];switch(m){case Ob:for(var w=0,h=Object.entries(g);w<h.length;w++){var y=h[w],E=y[0],M=y[1];u[E]=M}break;case kb:for(var L=0,O=Object.keys(g);L<O.length;L++){var E=O[L];delete u[E]}break;case Pb:u={};break}}return a.userProperties=u,this},commit:function(){return r.setIdentity(a),this}}},o.prototype.getIdentity=function(){return Bo({},this.identity)},o.prototype.setIdentity=function(r){var i=Bo({},this.identity);this.identity=Bo({},r),pi(i,this.identity)||this.listeners.forEach(function(a){a(r)})},o.prototype.addIdentityListener=function(r){this.listeners.add(r)},o.prototype.removeIdentityListener=function(r){this.listeners.delete(r)},o}(),Kr=typeof globalThis<"u"?globalThis:typeof global<"u"?global:self,Ig=function(){function o(){this.identityStore=new Rb,this.eventBridge=new Ib,this.applicationContextProvider=new Tb}return o.getInstance=function(r){return Kr.analyticsConnectorInstances||(Kr.analyticsConnectorInstances={}),Kr.analyticsConnectorInstances[r]||(Kr.analyticsConnectorInstances[r]=new o),Kr.analyticsConnectorInstances[r]},o}();var Eo=function(o){return o===void 0&&(o="$default_instance"),Ig.getInstance(o)},ns=function(o,r){Eo(r).identityStore.editIdentity().setUserId(o).commit()},is=function(o,r){Eo(r).identityStore.editIdentity().setDeviceId(o).commit()},as=function(o,r){Eo(r).identityStore.editIdentity().setOptOut(o).commit()};var ss=function(o,r){return ss=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(i[c]=a[c])},ss(o,r)};function Og(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");ss(o,r);function i(){this.constructor=o}o.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}var xo=function(){return xo=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},xo.apply(this,arguments)};function _t(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function Et(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}var ot=function(){if(typeof globalThis<"u")return globalThis;if(typeof window<"u")return window;if(typeof self<"u")return self;if(typeof global<"u")return global};var Sr=function(){var o,r=ot();if(!(!((o=r?.location)===null||o===void 0)&&o.search))return{};var i=r.location.search.substring(1).split("&").filter(Boolean),a=i.reduce(function(c,u){var d=u.split("=",2),b=kg(d[0]),T=kg(d[1]);return T&&(c[b]=T),c},{});return a},kg=function(o){o===void 0&&(o="");try{return decodeURIComponent(o)}catch{return""}};var Pg="utm_campaign",Rg="utm_content",Ag="utm_id",Cg="utm_medium",Lg="utm_source",Dg="utm_term",cs="dclid",us="fbclid",ls="gbraid",gs="gclid",fs="ko_click_id",ds="li_fat_id",ps="msclkid",ms="rtd_cid",ws="ttclid",hs="twclid",vs="wbraid";var or={utm_campaign:void 0,utm_content:void 0,utm_id:void 0,utm_medium:void 0,utm_source:void 0,utm_term:void 0,referrer:void 0,referring_domain:void 0,dclid:void 0,gbraid:void 0,gclid:void 0,fbclid:void 0,ko_click_id:void 0,li_fat_id:void 0,msclkid:void 0,rtd_cid:void 0,ttclid:void 0,twclid:void 0,wbraid:void 0};var Yr=function(){function o(){}return o.prototype.parse=function(){return _t(this,void 0,void 0,function(){return Et(this,function(r){return[2,xo(xo(xo(xo({},or),this.getUtmParam()),this.getReferrer()),this.getClickIds())]})})},o.prototype.getUtmParam=function(){var r=Sr(),i=r[Pg],a=r[Rg],c=r[Ag],u=r[Cg],d=r[Lg],b=r[Dg];return{utm_campaign:i,utm_content:a,utm_id:c,utm_medium:u,utm_source:d,utm_term:b}},o.prototype.getReferrer=function(){var r,i,a={referrer:void 0,referring_domain:void 0};try{a.referrer=document.referrer||void 0,a.referring_domain=(i=(r=a.referrer)===null||r===void 0?void 0:r.split("/")[2])!==null&&i!==void 0?i:void 0}catch{}return a},o.prototype.getClickIds=function(){var r,i=Sr();return r={},r[cs]=i[cs],r[us]=i[us],r[ls]=i[ls],r[gs]=i[gs],r[fs]=i[fs],r[ds]=i[ds],r[ps]=i[ps],r[ms]=i[ms],r[ws]=i[ws],r[hs]=i[hs],r[vs]=i[vs],r},o}();var $r=function(o,r,i){return r===void 0&&(r=""),i===void 0&&(i=10),[er,r,o.substring(0,i)].filter(Boolean).join("_")},ys=function(o){return"".concat(er.toLowerCase(),"_").concat(o.substring(0,6))};var bs=function(o){return typeof o=="boolean"?o:!!o?.fileDownloads},_s=function(o){return typeof o=="boolean"?o:!!o?.formInteractions},Mg=function(o){return typeof o=="boolean"?o:!!(o?.pageViews===!0||o?.pageViews&&typeof o.pageViews=="object")},Es=function(o){return typeof o=="boolean"?o:!!o?.sessions},xs=function(o){var r,i=!((r=o.attribution)===null||r===void 0)&&r.trackPageViews?"attribution":function(){return!1},a=void 0,c="Page View",u=Mg(o.defaultTracking);return u&&(i=void 0,c=void 0,o.defaultTracking&&typeof o.defaultTracking=="object"&&o.defaultTracking.pageViews&&typeof o.defaultTracking.pageViews=="object"&&("trackOn"in o.defaultTracking.pageViews&&(i=o.defaultTracking.pageViews.trackOn),"trackHistoryChanges"in o.defaultTracking.pageViews&&(a=o.defaultTracking.pageViews.trackHistoryChanges),"eventType"in o.defaultTracking.pageViews&&o.defaultTracking.pageViews.eventType&&(c=o.defaultTracking.pageViews.eventType))),{trackOn:i,trackHistoryChanges:a,eventType:c}};var Ts=function(){var o,r,i,a;if(typeof navigator>"u")return"";var c=navigator.userLanguage;return(a=(i=(r=(o=navigator.languages)===null||o===void 0?void 0:o[0])!==null&&r!==void 0?r:navigator.language)!==null&&i!==void 0?i:c)!==null&&a!==void 0?a:""};var Ss=function(){function o(){this.name="identity",this.type=ve.BEFORE,this.identityStore=Eo().identityStore}return o.prototype.execute=function(r){return _t(this,void 0,void 0,function(){var i;return Et(this,function(a){return i=r.user_properties,i&&this.identityStore.editIdentity().updateUserProperties(i).commit(),[2,r]})})},o.prototype.setup=function(r){return _t(this,void 0,void 0,function(){return Et(this,function(i){return r.instanceName&&(this.identityStore=Eo(r.instanceName).identityStore),[2]})})},o}();var Xr=function(){function o(r){this.options=xo({},r)}return o.prototype.isEnabled=function(){return _t(this,void 0,void 0,function(){var r,i,a,c;return Et(this,function(u){switch(u.label){case 0:if(!ot())return[2,!1];o.testValue=String(Date.now()),r=new o(this.options),i="AMP_TEST",u.label=1;case 1:return u.trys.push([1,4,5,7]),[4,r.set(i,o.testValue)];case 2:return u.sent(),[4,r.get(i)];case 3:return a=u.sent(),[2,a===o.testValue];case 4:return c=u.sent(),[2,!1];case 5:return[4,r.remove(i)];case 6:return u.sent(),[7];case 7:return[2]}})})},o.prototype.get=function(r){return _t(this,void 0,void 0,function(){var i;return Et(this,function(a){switch(a.label){case 0:return[4,this.getRaw(r)];case 1:if(i=a.sent(),!i)return[2,void 0];try{try{i=decodeURIComponent(atob(i))}catch{}return[2,JSON.parse(i)]}catch{return[2,void 0]}return[2]}})})},o.prototype.getRaw=function(r){var i;return _t(this,void 0,void 0,function(){var a,c,u;return Et(this,function(d){return a=ot(),c=(i=a?.document.cookie.split("; "))!==null&&i!==void 0?i:[],u=c.find(function(b){return b.indexOf(r+"=")===0}),u?[2,u.substring(r.length+1)]:[2,void 0]})})},o.prototype.set=function(r,i){var a;return _t(this,void 0,void 0,function(){var c,u,d,b,T,m;return Et(this,function(g){try{c=(a=this.options.expirationDays)!==null&&a!==void 0?a:0,u=i!==null?c:-1,d=void 0,u&&(b=new Date,b.setTime(b.getTime()+u*24*60*60*1e3),d=b),T="".concat(r,"=").concat(btoa(encodeURIComponent(JSON.stringify(i)))),d&&(T+="; expires=".concat(d.toUTCString())),T+="; path=/",this.options.domain&&(T+="; domain=".concat(this.options.domain)),this.options.secure&&(T+="; Secure"),this.options.sameSite&&(T+="; SameSite=".concat(this.options.sameSite)),m=ot(),m&&(m.document.cookie=T)}catch{}return[2]})})},o.prototype.remove=function(r){return _t(this,void 0,void 0,function(){return Et(this,function(i){switch(i.label){case 0:return[4,this.set(r,null)];case 1:return i.sent(),[2]}})})},o.prototype.reset=function(){return _t(this,void 0,void 0,function(){return Et(this,function(r){return[2]})})},o}();var Is=function(o){Og(r,o);function r(){return o!==null&&o.apply(this,arguments)||this}return r.prototype.send=function(i,a){return _t(this,void 0,void 0,function(){var c,u,d;return Et(this,function(b){switch(b.label){case 0:if(typeof fetch>"u")throw new Error("FetchTransport is not supported");return c={headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(a),method:"POST"},[4,fetch(i,c)];case 1:return u=b.sent(),[4,u.json()];case 2:return d=b.sent(),[2,this.buildResponse(d)]}})})},r}(tr);var rr=function(){return rr=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},rr.apply(this,arguments)};function nr(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function ir(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function Qr(o,r){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),c,u=[],d;try{for(;(r===void 0||r-- >0)&&!(c=a.next()).done;)u.push(c.value)}catch(b){d={error:b}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(d)throw d.error}}return u}function Os(o,r,i){if(i||arguments.length===2)for(var a=0,c=r.length,u;a<c;a++)(u||!(a in r))&&(u||(u=Array.prototype.slice.call(r,0,a)),u[a]=r[a]);return o.concat(u||Array.prototype.slice.call(r))}var qg=function(o){var r={};for(var i in o){var a=o[i];a&&(r[i]=a)}return r};var ks=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i,a={},c=ot(),u=void 0,d,b=Qr(o,2),T=b[0],m=b[1];T&&"init"in T?(i=T,m&&(a=m)):T&&(a=T);var g=function(){return nr(void 0,void 0,void 0,function(){var L,O,P;return ir(this,function(U){switch(U.label){case 0:return O={event_type:(P=a.eventType)!==null&&P!==void 0?P:"Page View"},L=[{}],[4,Ab()];case 1:return[2,(O.event_properties=rr.apply(void 0,[rr.apply(void 0,L.concat([U.sent()])),{page_domain:typeof location<"u"&&location.hostname||"",page_location:typeof location<"u"&&location.href||"",page_path:typeof location<"u"&&location.pathname||"",page_title:typeof document<"u"&&document.title||"",page_url:typeof location<"u"&&location.href.split("?")[0]||""}]),O)]}})})},w=function(){return typeof a.trackOn>"u"||typeof a.trackOn=="function"&&a.trackOn()},h=typeof location<"u"?location.href:null,y=function(){return nr(void 0,void 0,void 0,function(){var L,O,P,U,Q;return ir(this,function(oe){switch(oe.label){case 0:return L=location.href,O=Lb(a.trackHistoryChanges,L,h||"")&&w(),h=L,O?(u?.log("Tracking page view event"),i!=null?[3,1]:(P=void 0,[3,3])):[3,4];case 1:return Q=(U=i).track,[4,g()];case 2:P=Q.apply(U,[oe.sent()]),oe.label=3;case 3:oe.label=4;case 4:return[2]}})})},E=function(){y()},M={name:"page-view-tracking",type:ve.ENRICHMENT,setup:function(L,O){return nr(void 0,void 0,void 0,function(){var P,U,Q,oe,Z;return ir(this,function(fe){switch(fe.label){case 0:return i=i??O,i?(u=L.loggerProvider,u.log("Installing @amplitude/plugin-page-view-tracking-browser"),a.trackOn=!((oe=L.attribution)===null||oe===void 0)&&oe.trackPageViews?"attribution":a.trackOn,!O&&(!((Z=L.attribution)===null||Z===void 0)&&Z.trackPageViews)&&(u.warn("@amplitude/plugin-page-view-tracking-browser overrides page view tracking behavior defined in @amplitude/analytics-browser. Resolve by disabling page view tracking in @amplitude/analytics-browser."),L.attribution.trackPageViews=!1),a.trackHistoryChanges&&c&&(c.addEventListener("popstate",E),d=c.history.pushState,c.history.pushState=new Proxy(c.history.pushState,{apply:function(de,xe,He){var Ie=Qr(He,3),ee=Ie[0],Jt=Ie[1],nt=Ie[2];de.apply(xe,[ee,Jt,nt]),y()}})),w()?(u.log("Tracking page view event"),Q=(U=i).track,[4,g()]):[3,2]):(P=T?"Options":"undefined",L.loggerProvider.error("Argument of type '".concat(P,"' is not assignable to parameter of type 'BrowserClient'.")),[2]);case 1:Q.apply(U,[fe.sent()]),fe.label=2;case 2:return[2]}})})},execute:function(L){return nr(void 0,void 0,void 0,function(){var O;return ir(this,function(P){switch(P.label){case 0:return a.trackOn==="attribution"&&Cb(L)?(u?.log("Enriching campaign event to page view event with campaign parameters"),[4,g()]):[3,2];case 1:O=P.sent(),L.event_type=O.event_type,L.event_properties=rr(rr({},L.event_properties),O.event_properties),P.label=2;case 2:return[2,L]}})})},teardown:function(){return nr(void 0,void 0,void 0,function(){return ir(this,function(L){return c&&(c.removeEventListener("popstate",E),d&&(c.history.pushState=d)),[2]})})}};return M.__trackHistoryPageView=y,M},Ab=function(){return nr(void 0,void 0,void 0,function(){var o;return ir(this,function(r){switch(r.label){case 0:return o=qg,[4,new Yr().parse()];case 1:return[2,o.apply(void 0,[r.sent()])]}})})},Cb=function(o){if(o.event_type==="$identify"&&o.user_properties){var r=o.user_properties,i=r[Be.SET]||{},a=r[Be.UNSET]||{},c=Os(Os([],Qr(Object.keys(i)),!1),Qr(Object.keys(a)),!1);return Object.keys(or).every(function(u){return c.includes(u)})}return!1},Lb=function(o,r,i){switch(o){case"pathOnly":return r.split("?")[0]!==i.split("?")[0];default:return r!==i}};var Fo=function(){return Fo=Object.assign||function(r){for(var i,a=1,c=arguments.length;a<c;a++){i=arguments[a];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(r[u]=i[u])}return r},Fo.apply(this,arguments)};function Ps(o,r){var i={};for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&r.indexOf(a)<0&&(i[a]=o[a]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(o);c<a.length;c++)r.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(o,a[c])&&(i[a[c]]=o[a[c]]);return i}function Rs(o,r,i,a){function c(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function b(g){try{m(a.next(g))}catch(w){d(w)}}function T(g){try{m(a.throw(g))}catch(w){d(w)}}function m(g){g.done?u(g.value):c(g.value).then(b,T)}m((a=a.apply(o,r||[])).next())})}function As(o,r){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a,c,u,d;return d={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function b(m){return function(g){return T([m,g])}}function T(m){if(a)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(i=0)),i;)try{if(a=1,c&&(u=m[0]&2?c.return:m[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,m[1])).done)return u;switch(c=0,u&&(m=[m[0]&2,u.value]),m[0]){case 0:case 1:u=m;break;case 4:return i.label++,{value:m[1],done:!1};case 5:i.label++,c=m[1],m=[0];continue;case 7:m=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(m[0]===6||m[0]===2)){i=0;continue}if(m[0]===3&&(!u||m[1]>u[0]&&m[1]<u[3])){i.label=m[1];break}if(m[0]===6&&i.label<u[1]){i.label=u[1],u=m;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(m);break}u[2]&&i.ops.pop(),i.trys.pop();continue}m=r.call(o,i)}catch(g){m=[6,g],c=0}finally{a=u=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}}function Zr(o,r){var i=typeof Symbol=="function"&&o[Symbol.iterator];if(!i)return o;var a=i.call(o),c,u=[],d;try{for(;(r===void 0||r-- >0)&&!(c=a.next()).done;)u.push(c.value)}catch(b){d={error:b}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(d)throw d.error}}return u}var Ng=function(o,r,i){return r===void 0&&(r=""),i===void 0&&(i=10),[er,r,o.substring(0,i)].filter(Boolean).join("_")},Ug=function(o){var r=o.split(".");return r.length<=2?o:r.slice(r.length-2,r.length).join(".")},Bg=function(o,r,i){var a,c=o.referrer,u=o.referring_domain,d=Ps(o,["referrer","referring_domain"]),b=r||{},T=b.referrer,m=b.referring_domain,g=Ps(b,["referrer","referring_domain"]);if(o.referring_domain&&(!((a=i.excludeReferrers)===null||a===void 0)&&a.includes(o.referring_domain)))return!1;var w=JSON.stringify(d)!==JSON.stringify(g),h=Ug(u||"")!==Ug(m||"");return!r||w||h},Fg=function(o,r){var i=Fo(Fo({},or),o),a=Object.entries(i).reduce(function(c,u){var d,b=Zr(u,2),T=b[0],m=b[1];return c.setOnce("initial_".concat(T),(d=m??r.initialEmptyValue)!==null&&d!==void 0?d:"EMPTY"),m?c.set(T,m):c.unset(T)},new Ht);return Gr(a)};var Cs=function(){for(var o=this,r,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var c,u={},d=Zr(i,2),b=d[0],T=d[1];b&&"init"in b?(c=b,T&&(u=T)):b&&(u=b);var m=(r=u.excludeReferrers)!==null&&r!==void 0?r:[];typeof location<"u"&&m.unshift(location.hostname),u=Fo(Fo({disabled:!1,initialEmptyValue:"EMPTY",resetSessionOnNewCampaign:!1},u),{excludeReferrers:m});var g={name:"web-attribution",type:ve.BEFORE,setup:function(w,h){var y;return Rs(this,void 0,void 0,function(){var E,M,L,O,P,U,Q,oe;return As(this,function(Z){switch(Z.label){case 0:return c=c??h,c?u.disabled?(w.loggerProvider.log("@amplitude/plugin-web-attribution-browser is disabled. Attribution is not tracked."),[2]):(w.loggerProvider.log("Installing @amplitude/plugin-web-attribution-browser."),!h&&!(!((y=w.attribution)===null||y===void 0)&&y.disabled)&&(w.loggerProvider.warn("@amplitude/plugin-web-attribution-browser overrides web attribution behavior defined in @amplitude/analytics-browser. Resolve by disabling web attribution tracking in @amplitude/analytics-browser."),w.attribution={disabled:!0}),M=w.cookieStorage,L=Ng(w.apiKey,"MKTG"),[4,Promise.all([new Yr().parse(),M.get(L)])]):(E=b?"Options":"undefined",w.loggerProvider.error("Argument of type '".concat(E,"' is not assignable to parameter of type 'BrowserClient'.")),[2]);case 1:return O=Zr.apply(void 0,[Z.sent(),2]),P=O[0],U=O[1],Q=this.__pluginEnabledOverride,(Q??Bg(P,U,u))&&(u.resetSessionOnNewCampaign&&(c.setSessionId(Date.now()),w.loggerProvider.log("Created a new session for new campaign.")),w.loggerProvider.log("Tracking attribution."),oe=Fg(P,u),c.track(oe),M.set(L,P)),[2]}})})},execute:function(w){return Rs(o,void 0,void 0,function(){return As(this,function(h){return[2,w]})})}};return g.__pluginEnabledOverride=void 0,g};var mi=1e3,Ls=function(){function o(r){this.loggerProvider=r?.loggerProvider}return o.prototype.isEnabled=function(){return ue(this,void 0,void 0,function(){var r,i,a,c,u;return le(this,function(d){switch(d.label){case 0:if(!ot())return[2,!1];r=String(Date.now()),i=new o,a="AMP_TEST",d.label=1;case 1:return d.trys.push([1,4,5,7]),[4,i.set(a,r)];case 2:return d.sent(),[4,i.get(a)];case 3:return c=d.sent(),[2,c===r];case 4:return u=d.sent(),[2,!1];case 5:return[4,i.remove(a)];case 6:return d.sent(),[7];case 7:return[2]}})})},o.prototype.get=function(r){return ue(this,void 0,void 0,function(){var i,a;return le(this,function(c){switch(c.label){case 0:return c.trys.push([0,2,,3]),[4,this.getRaw(r)];case 1:return i=c.sent(),i?[2,JSON.parse(i)]:[2,void 0];case 2:return a=c.sent(),[2,void 0];case 3:return[2]}})})},o.prototype.getRaw=function(r){var i;return ue(this,void 0,void 0,function(){return le(this,function(a){return[2,((i=ot())===null||i===void 0?void 0:i.localStorage.getItem(r))||void 0]})})},o.prototype.set=function(r,i){var a,c;return ue(this,void 0,void 0,function(){var u,d,b;return le(this,function(T){u=Array.isArray(i)&&i.length>mi;try{d=JSON.stringify(u?i.slice(0,mi):i),(a=ot())===null||a===void 0||a.localStorage.setItem(r,d)}catch{}return u&&(b=i.length-mi,(c=this.loggerProvider)===null||c===void 0||c.error("Failed to save ".concat(b," events because the queue length exceeded ").concat(mi,"."))),[2]})})},o.prototype.remove=function(r){var i;return ue(this,void 0,void 0,function(){return le(this,function(a){try{(i=ot())===null||i===void 0||i.localStorage.removeItem(r)}catch{}return[2]})})},o.prototype.reset=function(){var r;return ue(this,void 0,void 0,function(){return le(this,function(i){try{(r=ot())===null||r===void 0||r.localStorage.clear()}catch{}return[2]})})},o}();var zg=function(o){No(r,o);function r(){var i=o!==null&&o.apply(this,arguments)||this;return i.state={done:4},i}return r.prototype.send=function(i,a){return ue(this,void 0,void 0,function(){var c=this;return le(this,function(u){return[2,new Promise(function(d,b){typeof XMLHttpRequest>"u"&&b(new Error("XHRTransport is not supported."));var T=new XMLHttpRequest;T.open("POST",i,!0),T.onreadystatechange=function(){if(T.readyState===c.state.done)try{var m=T.responseText,g=JSON.parse(m),w=c.buildResponse(g);d(w)}catch(h){b(h)}},T.setRequestHeader("Content-Type","application/json"),T.setRequestHeader("Accept","*/*"),T.send(JSON.stringify(a))})]})})},r}(tr);var jg=function(o){No(r,o);function r(){return o!==null&&o.apply(this,arguments)||this}return r.prototype.send=function(i,a){return ue(this,void 0,void 0,function(){var c=this;return le(this,function(u){return[2,new Promise(function(d,b){var T=ot();if(!T?.navigator.sendBeacon)throw new Error("SendBeaconTransport is not supported");try{var m=JSON.stringify(a),g=T.navigator.sendBeacon(i,JSON.stringify(a));return d(g?c.buildResponse({code:200,events_ingested:a.events.length,payload_size_bytes:m.length,server_upload_time:Date.now()}):c.buildResponse({code:500}))}catch(w){b(w)}})]})})},r}(tr);var Ir=function(){var o=new fi,r={deviceManufacturer:!0,deviceModel:!0,ipAddress:!0,language:!0,osName:!0,osVersion:!0,platform:!0};return{cookieExpiration:365,cookieSameSite:"Lax",cookieSecure:!1,cookieStorage:o,cookieUpgrade:!0,disableCookies:!1,domain:"",sessionTimeout:30*60*1e3,trackingOptions:r,transportProvider:new Is}},Hg=function(o){No(r,o);function r(i,a){var c=this,u,d,b,T,m,g,w,h,y,E=Ir();return c=o.call(this,he(he({flushIntervalMillis:1e3,flushMaxRetries:5,flushQueueSize:30,transportProvider:E.transportProvider},a),{apiKey:i}))||this,c._optOut=!1,c.cookieStorage=(u=a?.cookieStorage)!==null&&u!==void 0?u:E.cookieStorage,c.deviceId=a?.deviceId,c.lastEventId=a?.lastEventId,c.lastEventTime=a?.lastEventTime,c.optOut=!!a?.optOut,c.sessionId=a?.sessionId,c.userId=a?.userId,c.appVersion=a?.appVersion,c.attribution=a?.attribution,c.cookieExpiration=(d=a?.cookieExpiration)!==null&&d!==void 0?d:E.cookieExpiration,c.cookieSameSite=(b=a?.cookieSameSite)!==null&&b!==void 0?b:E.cookieSameSite,c.cookieSecure=(T=a?.cookieSecure)!==null&&T!==void 0?T:E.cookieSecure,c.cookieUpgrade=(m=a?.cookieUpgrade)!==null&&m!==void 0?m:E.cookieUpgrade,c.defaultTracking=a?.defaultTracking,c.disableCookies=(g=a?.disableCookies)!==null&&g!==void 0?g:E.disableCookies,c.defaultTracking=a?.defaultTracking,c.domain=(w=a?.domain)!==null&&w!==void 0?w:E.domain,c.partnerId=a?.partnerId,c.sessionTimeout=(h=a?.sessionTimeout)!==null&&h!==void 0?h:E.sessionTimeout,c.trackingOptions=(y=a?.trackingOptions)!==null&&y!==void 0?y:E.trackingOptions,c}return Object.defineProperty(r.prototype,"deviceId",{get:function(){return this._deviceId},set:function(i){this._deviceId!==i&&(this._deviceId=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userId",{get:function(){return this._userId},set:function(i){this._userId!==i&&(this._userId=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"sessionId",{get:function(){return this._sessionId},set:function(i){this._sessionId!==i&&(this._sessionId=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"optOut",{get:function(){return this._optOut},set:function(i){this._optOut!==i&&(this._optOut=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastEventTime",{get:function(){return this._lastEventTime},set:function(i){this._lastEventTime!==i&&(this._lastEventTime=i,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastEventId",{get:function(){return this._lastEventId},set:function(i){this._lastEventId!==i&&(this._lastEventId=i,this.updateStorage())},enumerable:!1,configurable:!0}),r.prototype.updateStorage=function(){var i,a={deviceId:this._deviceId,userId:this._userId,sessionId:this._sessionId,optOut:this._optOut,lastEventTime:this._lastEventTime,lastEventId:this._lastEventId};(i=this.cookieStorage)===null||i===void 0||i.set($r(this.apiKey),a)},r}(es);var Vg=function(o,r){return ue(void 0,void 0,void 0,function(){var i,a,c,u,d,b,T,m,g,w,h,y,E,M,L;return le(this,function(O){switch(O.label){case 0:return i=Ir(),a=(M=r?.deviceId)!==null&&M!==void 0?M:Uo(),c=r?.lastEventId,u=r?.lastEventTime,d=r?.optOut,b=r?.sessionId,T=r?.userId,m=r?.cookieStorage,g=r?.domain,w=Hg.bind,h=[void 0,o],y=[he({},r)],E={cookieStorage:m,deviceId:a,domain:g,lastEventId:c,lastEventTime:u,optOut:d,sessionId:b},[4,Mb(r)];case 1:return[2,new(w.apply(Hg,h.concat([he.apply(void 0,y.concat([(E.storageProvider=O.sent(),E.trackingOptions=he(he({},i.trackingOptions),r?.trackingOptions),E.transportProvider=(L=r?.transportProvider)!==null&&L!==void 0?L:Ds(r?.transport),E.userId=T,E)]))])))]}})})},wi=function(o,r){return r===void 0&&(r=Ir()),ue(void 0,void 0,void 0,function(){var i,a,c;return le(this,function(u){switch(u.label){case 0:return i=he(he({},r),o),a=o?.cookieStorage,c=!a,c?[3,2]:[4,a.isEnabled()];case 1:c=!u.sent(),u.label=2;case 2:return c?[2,Db(i)]:[2,a]}})})},Db=function(o){return ue(void 0,void 0,void 0,function(){var r,i;return le(this,function(a){switch(a.label){case 0:return r=new Xr({domain:o.domain,expirationDays:o.cookieExpiration,sameSite:o.cookieSameSite,secure:o.cookieSecure}),i=o.disableCookies,i?[3,2]:[4,r.isEnabled()];case 1:i=!a.sent(),a.label=2;case 2:return i?(r=new Ls,[4,r.isEnabled()]):[3,4];case 3:a.sent()||(r=new fi),a.label=4;case 4:return[2,r]}})})},Mb=function(o){return ue(void 0,void 0,void 0,function(){var r,i,a,c,u,d,b,T,m;return le(this,function(g){switch(g.label){case 0:if(r=o&&Object.prototype.hasOwnProperty.call(o,"storageProvider"),i=o&&o.loggerProvider,!(!r||o.storageProvider))return[3,9];g.label=1;case 1:g.trys.push([1,7,8,9]),a=Sg([o?.storageProvider,new Ls({loggerProvider:i})]),c=a.next(),g.label=2;case 2:return c.done?[3,6]:(u=c.value,d=u,d?[4,u.isEnabled()]:[3,4]);case 3:d=g.sent(),g.label=4;case 4:if(d)return[2,u];g.label=5;case 5:return c=a.next(),[3,2];case 6:return[3,9];case 7:return b=g.sent(),T={error:b},[3,9];case 8:try{c&&!c.done&&(m=a.return)&&m.call(a)}finally{if(T)throw T.error}return[7];case 9:return[2,void 0]}})})},Ds=function(o){return o===Tr.XHR?new zg:o===Tr.SendBeacon?new jg:Ir().transportProvider},Wg=function(o){return ue(void 0,void 0,void 0,function(){var r,i,a,c,u,u,d,b,T,m;return le(this,function(g){switch(g.label){case 0:return[4,new Xr().isEnabled()];case 1:if(!g.sent()||!o&&typeof location>"u")return[2,""];for(r=o??location.hostname,i=r.split("."),a=[],c="AMP_TLDTEST",u=i.length-2;u>=0;--u)a.push(i.slice(u).join("."));u=0,g.label=2;case 2:return u<a.length?(d=a[u],b={domain:"."+d},T=new Xr(b),[4,T.set(c,1)]):[3,7];case 3:return g.sent(),[4,T.get(c)];case 4:return m=g.sent(),m?[4,T.remove(c)]:[3,6];case 5:return g.sent(),[2,"."+d];case 6:return u++,[3,2];case 7:return[2,""]}})})};var Ze="[Amplitude]",hi="".concat(Ze," Page Viewed"),Ms="".concat(Ze," Form Started"),Gg="".concat(Ze," Form Submitted"),Kg="".concat(Ze," File Downloaded"),qs="session_start",Us="session_end",Yg="".concat(Ze," File Extension"),$g="".concat(Ze," File Name"),Xg="".concat(Ze," Link ID"),Qg="".concat(Ze," Link Text"),Zg="".concat(Ze," Link URL"),vi="".concat(Ze," Form ID"),yi="".concat(Ze," Form Name"),bi="".concat(Ze," Form Destination");var Jg=function(o,r){return ue(void 0,void 0,void 0,function(){var i,a,c,u,d,b,T,m,g,w,h;return le(this,function(y){switch(y.label){case 0:return[4,wi(r)];case 1:return i=y.sent(),a=ys(o),[4,i.getRaw(a)];case 2:return c=y.sent(),c?((h=r.cookieUpgrade)!==null&&h!==void 0?h:Ir().cookieUpgrade)?[4,i.remove(a)]:[3,4]:[2,{optOut:!1}];case 3:y.sent(),y.label=4;case 4:return u=di(c.split("."),6),d=u[0],b=u[1],T=u[2],m=u[3],g=u[4],w=u[5],[2,{deviceId:d,userId:qb(b),sessionId:Ns(m),lastEventId:Ns(w),lastEventTime:Ns(g),optOut:!!T}]}})})},Ns=function(o){var r=parseInt(o,32);if(!isNaN(r))return r},qb=function(o){if(!(!atob||!escape||!o))try{return decodeURIComponent(escape(atob(o)))}catch{return}};var of=Xn(ef());var tf="1.13.0";var Ub="Web",Nb="$remote",rf=function(){function o(){this.name="context",this.type=ve.BEFORE,this.library="amplitude-ts/".concat(tf),typeof navigator<"u"&&(this.userAgent=navigator.userAgent),this.uaResult=new of.default(this.userAgent).getResult()}return o.prototype.setup=function(r){return this.config=r,Promise.resolve(void 0)},o.prototype.execute=function(r){var i,a;return ue(this,void 0,void 0,function(){var c,u,d,b,T,m,g,w;return le(this,function(h){return c=new Date().getTime(),u=this.uaResult.browser.name,d=this.uaResult.browser.version,b=this.uaResult.device.model||this.uaResult.os.name,T=this.uaResult.device.vendor,m=(i=this.config.lastEventId)!==null&&i!==void 0?i:-1,g=(a=r.event_id)!==null&&a!==void 0?a:m+1,this.config.lastEventId=g,r.time||(this.config.lastEventTime=c),w=he(he(he(he(he(he(he(he(he(he(he(he({user_id:this.config.userId,device_id:this.config.deviceId,session_id:this.config.sessionId,time:c},this.config.appVersion&&{app_version:this.config.appVersion}),this.config.trackingOptions.platform&&{platform:Ub}),this.config.trackingOptions.osName&&{os_name:u}),this.config.trackingOptions.osVersion&&{os_version:d}),this.config.trackingOptions.deviceManufacturer&&{device_manufacturer:T}),this.config.trackingOptions.deviceModel&&{device_model:b}),this.config.trackingOptions.language&&{language:Ts()}),this.config.trackingOptions.ipAddress&&{ip:Nb}),{insert_id:Uo(),partner_id:this.config.partnerId,plan:this.config.plan}),this.config.ingestionMetadata&&{ingestion_metadata:{source_name:this.config.ingestionMetadata.sourceName,source_version:this.config.ingestionMetadata.sourceVersion}}),r),{event_id:g,library:this.library,user_agent:this.userAgent}),[2,w]})})},o}();var Bb={page_domain:"".concat(Ze," Page Domain"),page_location:"".concat(Ze," Page Location"),page_path:"".concat(Ze," Page Path"),page_title:"".concat(Ze," Page Title"),page_url:"".concat(Ze," Page URL")},nf=function(){var o="@amplitude/plugin-default-page-view-event-enrichment-browser",r=ve.ENRICHMENT,i=function(){return ue(void 0,void 0,void 0,function(){return le(this,function(c){return[2,void 0]})})},a=function(c){return ue(void 0,void 0,void 0,function(){return le(this,function(u){return c.event_type===hi&&c.event_properties&&(c.event_properties=Object.entries(c.event_properties).reduce(function(d,b){var T=di(b,2),m=T[0],g=T[1],w=Bb[m];return w?d[w]=g:d[m]=g,d},{})),[2,c]})})};return{name:o,type:r,setup:i,execute:a}};var af=function(){var o,r=[],i=function(m,g,w){m.addEventListener(g,w),r.push({element:m,type:g,handler:w})},a=function(){r.forEach(function(m){var g=m.element,w=m.type,h=m.handler;g?.removeEventListener(w,h)}),r=[]},c="@amplitude/plugin-file-download-tracking-browser",u=ve.ENRICHMENT,d=function(m,g){return ue(void 0,void 0,void 0,function(){var w,h,y;return le(this,function(E){return g?typeof document>"u"?[2]:(w=function(M){var L;try{L=new URL(M.href,window.location.href)}catch{return}var O=h.exec(L.href),P=O?.[1];P&&i(M,"click",function(){var U;P&&g.track(Kg,(U={},U[Yg]=P,U[$g]=L.pathname,U[Xg]=M.id,U[Qg]=M.text,U[Zg]=M.href,U))})},h=/\\.(pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma)$/,y=Array.from(document.getElementsByTagName("a")),y.forEach(w),typeof MutationObserver<"u"&&(o=new MutationObserver(function(M){M.forEach(function(L){L.addedNodes.forEach(function(O){O.nodeName==="A"&&w(O),"querySelectorAll"in O&&typeof O.querySelectorAll=="function"&&Array.from(O.querySelectorAll("a")).map(w)})})}),o.observe(document.body,{subtree:!0,childList:!0})),[2]):(m.loggerProvider.warn("File download tracking requires a later version of @amplitude/analytics-browser. File download events are not tracked."),[2])})})},b=function(m){return ue(void 0,void 0,void 0,function(){return le(this,function(g){return[2,m]})})},T=function(){return ue(void 0,void 0,void 0,function(){return le(this,function(m){return o?.disconnect(),a(),[2]})})};return{name:c,type:u,setup:d,execute:b,teardown:T}};var sf=function(){var o,r=[],i=function(m,g,w){m.addEventListener(g,w),r.push({element:m,type:g,handler:w})},a=function(){r.forEach(function(m){var g=m.element,w=m.type,h=m.handler;g?.removeEventListener(w,h)}),r=[]},c="@amplitude/plugin-form-interaction-tracking-browser",u=ve.ENRICHMENT,d=function(m,g){return ue(void 0,void 0,void 0,function(){var w,h;return le(this,function(y){return g?typeof document>"u"?[2]:(w=function(E){var M=!1;i(E,"change",function(){var L;M||g.track(Ms,(L={},L[vi]=E.id,L[yi]=E.name,L[bi]=E.action,L)),M=!0}),i(E,"submit",function(){var L,O;M||g.track(Ms,(L={},L[vi]=E.id,L[yi]=E.name,L[bi]=E.action,L)),g.track(Gg,(O={},O[vi]=E.id,O[yi]=E.name,O[bi]=E.action,O)),M=!1})},h=Array.from(document.getElementsByTagName("form")),h.forEach(w),typeof MutationObserver<"u"&&(o=new MutationObserver(function(E){E.forEach(function(M){M.addedNodes.forEach(function(L){L.nodeName==="FORM"&&w(L),"querySelectorAll"in L&&typeof L.querySelectorAll=="function"&&Array.from(L.querySelectorAll("form")).map(w)})})}),o.observe(document.body,{subtree:!0,childList:!0})),[2]):(m.loggerProvider.warn("Form interaction tracking requires a later version of @amplitude/analytics-browser. Form interaction events are not tracked."),[2])})})},b=function(m){return ue(void 0,void 0,void 0,function(){return le(this,function(g){return[2,m]})})},T=function(){return ue(void 0,void 0,void 0,function(){return le(this,function(m){return o?.disconnect(),a(),[2]})})};return{name:c,type:u,setup:d,execute:b,teardown:T}};var Ei=function(o,r){for(var i=0;i<r.length;i++){var a=r[i],c=a.name,u=a.args,d=a.resolve,b=o&&o[c];if(typeof b=="function"){var T=b.apply(o,u);typeof d=="function"&&d(T?.promise)}}return o},xi=function(o){var r=o;return r&&r._q!==void 0};var cf=function(o){No(r,o);function r(){return o!==null&&o.apply(this,arguments)||this}return r.prototype.init=function(i,a,c){return i===void 0&&(i=""),bt(this._init(he(he({},c),{userId:a,apiKey:i})))},r.prototype._init=function(i){var a,c,u,d,b,T,m,g,w,h,y,E,M,L,O,P,U,Q,oe,Z;return ue(this,void 0,void 0,function(){var fe,de,xe,He,Ie,ee,Jt,nt,ze,Je,Lt,st,Ve,dt,xt,Wt,je,pt,Gt=this;return le(this,function(ge){switch(ge.label){case 0:return this.initializing?[2]:(this.initializing=!0,fe=i,i.disableCookies?(de="",[3,5]):[3,1]);case 1:return(a=i.domain)!==null&&a!==void 0?(xe=a,[3,4]):[3,2];case 2:return[4,Wg()];case 3:xe=ge.sent(),ge.label=4;case 4:de=xe,ge.label=5;case 5:return fe.domain=de,[4,Jg(i.apiKey,i)];case 6:return He=ge.sent(),[4,wi(i)];case 7:return Ie=ge.sent(),[4,Ie.get($r(i.apiKey))];case 8:return ee=ge.sent(),Jt=Sr(),nt=(d=(u=(c=i.deviceId)!==null&&c!==void 0?c:Jt.deviceId)!==null&&u!==void 0?u:ee?.deviceId)!==null&&d!==void 0?d:He.deviceId,ze=(b=ee?.sessionId)!==null&&b!==void 0?b:He.sessionId,Je=(m=(T=i.optOut)!==null&&T!==void 0?T:ee?.optOut)!==null&&m!==void 0?m:He.optOut,Lt=(g=ee?.lastEventId)!==null&&g!==void 0?g:He.lastEventId,st=(w=ee?.lastEventTime)!==null&&w!==void 0?w:He.lastEventTime,Ve=(y=(h=i.userId)!==null&&h!==void 0?h:ee?.userId)!==null&&y!==void 0?y:He.userId,this.previousSessionDeviceId=(E=ee?.deviceId)!==null&&E!==void 0?E:He.deviceId,this.previousSessionUserId=(M=ee?.userId)!==null&&M!==void 0?M:He.userId,[4,Vg(i.apiKey,he(he({},i),{deviceId:nt,sessionId:ze,optOut:Je,lastEventId:Lt,lastEventTime:st,userId:Ve,cookieStorage:Ie}))];case 9:return dt=ge.sent(),[4,o.prototype._init.call(this,dt)];case 10:return ge.sent(),xt=!1,(!this.config.lastEventTime||!this.config.sessionId||this.config.lastEventTime&&Date.now()-this.config.lastEventTime>this.config.sessionTimeout)&&(this.setSessionId((O=(L=i.sessionId)!==null&&L!==void 0?L:this.config.sessionId)!==null&&O!==void 0?O:Date.now()),xt=!0),Wt=Eo(i.instanceName),Wt.identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),[4,this.add(new os).promise];case 11:return ge.sent(),[4,this.add(new rf).promise];case 12:return ge.sent(),[4,this.add(new Ss).promise];case 13:return ge.sent(),bs(this.config.defaultTracking)?[4,this.add(af()).promise]:[3,15];case 14:ge.sent(),ge.label=15;case 15:return _s(this.config.defaultTracking)?[4,this.add(sf()).promise]:[3,17];case 16:ge.sent(),ge.label=17;case 17:return!((P=this.config.attribution)===null||P===void 0)&&P.disabled?[3,19]:(je=Cs({excludeReferrers:(U=this.config.attribution)===null||U===void 0?void 0:U.excludeReferrers,initialEmptyValue:(Q=this.config.attribution)===null||Q===void 0?void 0:Q.initialEmptyValue,resetSessionOnNewCampaign:(oe=this.config.attribution)===null||oe===void 0?void 0:oe.resetSessionOnNewCampaign}),je.__pluginEnabledOverride=xt||!((Z=this.config.attribution)===null||Z===void 0)&&Z.trackNewCampaigns?void 0:!1,[4,this.add(je).promise]);case 18:ge.sent(),ge.label=19;case 19:return pt=xs(this.config),pt.eventType=pt.eventType||hi,[4,this.add(ks(pt)).promise];case 20:return ge.sent(),[4,this.add(nf()).promise];case 21:return ge.sent(),this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 22:return ge.sent(),Wt.eventBridge.setEventReceiver(function(Tt){Gt.track(Tt.eventType,Tt.eventProperties)}),[2]}})})},r.prototype.getUserId=function(){var i;return(i=this.config)===null||i===void 0?void 0:i.userId},r.prototype.setUserId=function(i){if(!this.config){this.q.push(this.setUserId.bind(this,i));return}(i!==this.config.userId||i===void 0)&&(this.config.userId=i,ns(i,this.config.instanceName))},r.prototype.getDeviceId=function(){var i;return(i=this.config)===null||i===void 0?void 0:i.deviceId},r.prototype.setDeviceId=function(i){if(!this.config){this.q.push(this.setDeviceId.bind(this,i));return}this.config.deviceId=i,is(i,this.config.instanceName)},r.prototype.setOptOut=function(i){as(i,this.config.instanceName),o.prototype.setOptOut.call(this,i)},r.prototype.reset=function(){this.setDeviceId(Uo()),this.setUserId(void 0)},r.prototype.getSessionId=function(){var i;return(i=this.config)===null||i===void 0?void 0:i.sessionId},r.prototype.setSessionId=function(i){var a;if(!this.config){this.q.push(this.setSessionId.bind(this,i));return}if(i!==this.config.sessionId){var c=this.getSessionId(),u=this.config.lastEventTime,d=(a=this.config.lastEventId)!==null&&a!==void 0?a:-1;this.config.sessionId=i,this.config.lastEventTime=void 0,Es(this.config.defaultTracking)&&(c&&u&&this.track(Us,void 0,{device_id:this.previousSessionDeviceId,event_id:++d,session_id:c,time:u+1,user_id:this.previousSessionUserId}),this.config.lastEventTime=this.config.sessionId,this.track(qs,void 0,{event_id:++d,session_id:this.config.sessionId,time:this.config.lastEventTime})),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId}},r.prototype.extendSession=function(){if(!this.config){this.q.push(this.extendSession.bind(this));return}this.config.lastEventTime=Date.now()},r.prototype.setTransport=function(i){if(!this.config){this.q.push(this.setTransport.bind(this,i));return}this.config.transportProvider=Ds(i)},r.prototype.identify=function(i,a){if(xi(i)){var c=i._q;i._q=[],i=Ei(new Ht,c)}return a?.user_id&&this.setUserId(a.user_id),a?.device_id&&this.setDeviceId(a.device_id),o.prototype.identify.call(this,i,a)},r.prototype.groupIdentify=function(i,a,c,u){if(xi(c)){var d=c._q;c._q=[],c=Ei(new Ht,d)}return o.prototype.groupIdentify.call(this,i,a,c,u)},r.prototype.revenue=function(i,a){if(xi(i)){var c=i._q;i._q=[],i=Ei(new ci,c)}return o.prototype.revenue.call(this,i,a)},r.prototype.process=function(i){return ue(this,void 0,void 0,function(){var a,c,u;return le(this,function(d){return a=Date.now(),c=this.config.lastEventTime||Date.now(),u=a-c,i.event_type!==qs&&i.event_type!==Us&&(!i.session_id||i.session_id===this.getSessionId())&&u>this.config.sessionTimeout&&this.setSessionId(a),[2,o.prototype.process.call(this,i)]})})},r}(Ja);var Ti=function(){var o=new cf;return{init:Ce(o.init.bind(o),"init",Re(o),Ae(o,["config"])),add:Ce(o.add.bind(o),"add",Re(o),Ae(o,["config.apiKey","timeline.plugins"])),remove:Ce(o.remove.bind(o),"remove",Re(o),Ae(o,["config.apiKey","timeline.plugins"])),track:Ce(o.track.bind(o),"track",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),logEvent:Ce(o.logEvent.bind(o),"logEvent",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),identify:Ce(o.identify.bind(o),"identify",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),groupIdentify:Ce(o.groupIdentify.bind(o),"groupIdentify",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),setGroup:Ce(o.setGroup.bind(o),"setGroup",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),revenue:Ce(o.revenue.bind(o),"revenue",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),flush:Ce(o.flush.bind(o),"flush",Re(o),Ae(o,["config.apiKey","timeline.queue.length"])),getUserId:Ce(o.getUserId.bind(o),"getUserId",Re(o),Ae(o,["config","config.userId"])),setUserId:Ce(o.setUserId.bind(o),"setUserId",Re(o),Ae(o,["config","config.userId"])),getDeviceId:Ce(o.getDeviceId.bind(o),"getDeviceId",Re(o),Ae(o,["config","config.deviceId"])),setDeviceId:Ce(o.setDeviceId.bind(o),"setDeviceId",Re(o),Ae(o,["config","config.deviceId"])),reset:Ce(o.reset.bind(o),"reset",Re(o),Ae(o,["config","config.userId","config.deviceId"])),getSessionId:Ce(o.getSessionId.bind(o),"getSessionId",Re(o),Ae(o,["config"])),setSessionId:Ce(o.setSessionId.bind(o),"setSessionId",Re(o),Ae(o,["config"])),extendSession:Ce(o.extendSession.bind(o),"extendSession",Re(o),Ae(o,["config"])),setOptOut:Ce(o.setOptOut.bind(o),"setOptOut",Re(o),Ae(o,["config"])),setTransport:Ce(o.setTransport.bind(o),"setTransport",Re(o),Ae(o,["config"]))}},Fe=Ti();var yT=Fe.add,bT=Fe.extendSession,_T=Fe.flush,ET=Fe.getDeviceId,xT=Fe.getSessionId,TT=Fe.getUserId,ST=Fe.groupIdentify,IT=Fe.identify,OT=Fe.init,kT=Fe.logEvent,PT=Fe.remove,RT=Fe.reset,AT=Fe.revenue,CT=Fe.setDeviceId,LT=Fe.setGroup,DT=Fe.setOptOut,MT=Fe.setSessionId,qT=Fe.setTransport,UT=Fe.setUserId,NT=Fe.track;var rc={production:"2532be1b0436a18cb938b21fc7fa9faf",development:"505fe4ab68b1153d294164683402fccb"},zb=Object.assign({plan:{version:"13",branch:"main",source:"web",versionId:"d34b078f-b5b3-4362-b66a-9527b9cacff6"}},{ingestionMetadata:{sourceName:"browser-typescript-ampli",sourceVersion:"2.0.0"}});var Bs=class{constructor(){this.event_type="api key copied"}},Fs=class{constructor(r){this.event_properties=r,this.event_type="complete onboarding",this.event_properties=r}},zs=class{constructor(r){this.event_properties=r,this.event_type="environment opened",this.event_properties=r}},js=class{constructor(r){this.event_properties=r,this.event_type="error",this.event_properties=r}},Hs=class{constructor(r){this.event_properties=r,this.event_type="impression",this.event_properties=r}},Vs=class{constructor(r){this.event_properties=r,this.event_type="insert block",this.event_properties=r}},Ws=class{constructor(r){this.event_properties=r,this.event_type="insert custom component",this.event_properties=r}},Gs=class{constructor(r){this.event_properties=r,this.event_type="integration failed",this.event_properties=r}},Ks=class{constructor(r){this.event_properties=r,this.event_type="interaction",this.event_properties=r}},Ys=class{constructor(r){this.event_properties=r,this.event_type="model saved",this.event_properties=r}},$s=class{constructor(r){this.event_properties=r,this.event_type="page viewed",this.event_properties=r}},Xs=class{constructor(r){this.event_properties=r,this.event_type="preview error",this.event_properties=r}},Qs=class{constructor(r){this.event_properties=r,this.event_type="site integrated",this.event_properties=r}},Zs=class{constructor(r){this.event_properties=r,this.event_type="start web import",this.event_properties=r}},Js=class{constructor(r){this.event_properties=r,this.event_type="subscribe clicked",this.event_properties=r}},ec=class{constructor(r){this.event_properties=r,this.event_type="subscription options viewed",this.event_properties=r}},tc=class{constructor(r){this.event_properties=r,this.event_type="user invited",this.event_properties=r}},ar=()=>({promise:Promise.resolve()}),oc=class{constructor(){this.disabled=!1}get client(){return this.isInitializedAndEnabled(),this.amplitude}get isLoaded(){return this.amplitude!=null}isInitializedAndEnabled(){return this.amplitude?!this.disabled:(console.error("ERROR: Ampli is not yet initialized. Have you called ampli.load() on app start?"),!1)}load(r){var i;if(this.disabled=(i=r.disabled)!==null&&i!==void 0?i:!1,this.amplitude)return console.warn("WARNING: Ampli is already intialized. Ampli.load() should be called once at application startup."),ar();let a=null;if(r.client&&"apiKey"in r.client?a=r.client.apiKey:"environment"in r&&(a=rc[r.environment]),r.client&&"instance"in r.client)this.amplitude=r.client.instance;else if(a){this.amplitude=Ti();let c=r.client&&"configuration"in r.client?r.client.configuration:{};return this.amplitude.init(a,void 0,Object.assign(Object.assign({},zb),c))}else console.error("ERROR: ampli.load() requires 'environment', 'client.apiKey', or 'client.instance'");return ar()}identify(r,i,a){if(!this.isInitializedAndEnabled())return ar();r&&(a=Object.assign(Object.assign({},a),{user_id:r}));let c=new Ht,u=i;if(u!=null)for(let[d,b]of Object.entries(u))c.set(d,b);return this.amplitude.identify(c,a)}setGroup(r,i,a){return this.isInitializedAndEnabled()?this.amplitude.setGroup(r,i,a):ar()}groupIdentify(r,i,a,c){if(!this.isInitializedAndEnabled())return ar();let u=new Ht,d=a;if(d!=null)for(let[b,T]of Object.entries(d))u.set(b,T);return this.amplitude.groupIdentify(r,i,u,c)}flush(){return this.isInitializedAndEnabled()?this.amplitude.flush():ar()}track(r,i){return this.isInitializedAndEnabled()?this.amplitude.track(r,void 0,i):ar()}apiKeyCopied(r){return this.track(new Bs,r)}completeOnboarding(r,i){return this.track(new Fs(r),i)}environmentOpened(r,i){return this.track(new zs(r),i)}error(r,i){return this.track(new js(r),i)}impression(r,i){return this.track(new Hs(r),i)}insertBlock(r,i){return this.track(new Vs(r),i)}insertCustomComponent(r,i){return this.track(new Ws(r),i)}integrationFailed(r,i){return this.track(new Gs(r),i)}interaction(r,i){return this.track(new Ks(r),i)}modelSaved(r,i){return this.track(new Ys(r),i)}pageViewed(r,i){return this.track(new $s(r),i)}previewError(r,i){return this.track(new Xs(r),i)}siteIntegrated(r,i){return this.track(new Qs(r),i)}startWebImport(r,i){return this.track(new Zs(r),i)}subscribeClicked(r,i){return this.track(new Js(r),i)}subscriptionOptionsViewed(r,i){return this.track(new ec(r),i)}userInvited(r,i){return this.track(new tc(r),i)}},uf=new oc;var Oi=Xn(nc()),yf=Xn(lf());var pf=Xn(nc());function gf(o){o=o+"=";let i=decodeURIComponent(document.cookie).split(";");for(let a=0;a<i.length;a++){let c=i[a];for(;c.charAt(0)===" ";)c=c.substring(1);if(c.indexOf(o)===0)return c.substring(o.length,c.length)}return""}var ic={};mb(ic,{default:()=>Kb,email:()=>Wb,internal:()=>jb,search:()=>Vb,social:()=>Gb,unknown:()=>Hb});var jb={},Hb={Outbrain:{domains:["paid.outbrain.com"]},Google:{domains:["support.google.com","developers.google.com","maps.google.com","accounts.google.com","drive.google.com","sites.google.com","groups.google.com","groups.google.co.uk","news.google.co.uk"]},Taboola:{domains:["trc.taboola.com","api.taboola.com"]},"Yahoo!":{domains:["finance.yahoo.com","news.yahoo.com","eurosport.yahoo.com","sports.yahoo.com","astrology.yahoo.com","travel.yahoo.com","answers.yahoo.com","screen.yahoo.com","weather.yahoo.com","messenger.yahoo.com","games.yahoo.com","shopping.yahoo.net","movies.yahoo.com","cars.yahoo.com","lifestyle.yahoo.com","omg.yahoo.com","match.yahoo.net"]}},Vb={TalkTalk:{domains:["www.talktalk.co.uk"],parameters:["query"]},"1.cz":{domains:["1.cz"],parameters:["q"]},Softonic:{domains:["search.softonic.com"],parameters:["q"]},GAIS:{domains:["gais.cs.ccu.edu.tw"],parameters:["q"]},Freecause:{domains:["search.freecause.com"],parameters:["p"]},"360.cn":{domains:["so.360.cn","www.so.com"],parameters:["q"]},RPMFind:{domains:["rpmfind.net","fr2.rpmfind.net"],parameters:["query"]},Comcast:{domains:["serach.comcast.net"],parameters:["q"]},Voila:{domains:["search.ke.voila.fr","www.lemoteur.fr"],parameters:["rdata","kw"]},Nifty:{domains:["search.nifty.com"],parameters:["q"]},Atlas:{domains:["searchatlas.centrum.cz"],parameters:["q"]},"Lo.st":{domains:["lo.st"],parameters:["x_query"]},DasTelefonbuch:{domains:["www1.dastelefonbuch.de"],parameters:["kw"]},Fireball:{domains:["www.fireball.de"],parameters:["q"]},"1und1":{domains:["search.1und1.de"],parameters:["su"]},Virgilio:{domains:["ricerca.virgilio.it","ricercaimmagini.virgilio.it","ricercavideo.virgilio.it","ricercanews.virgilio.it","mobile.virgilio.it"],parameters:["qs"]},"Web.nl":{domains:["www.web.nl"],parameters:["zoekwoord"]},Plazoo:{domains:["www.plazoo.com"],parameters:["q"]},"Goyellow.de":{domains:["www.goyellow.de"],parameters:["MDN"]},AOL:{domains:["search.aol.com","search.aol.it","aolsearch.aol.com","aolsearch.com","www.aolrecherche.aol.fr","www.aolrecherches.aol.fr","www.aolimages.aol.fr","aim.search.aol.com","www.recherche.aol.fr","find.web.aol.com","recherche.aol.ca","aolsearch.aol.co.uk","search.aol.co.uk","aolrecherche.aol.fr","sucheaol.aol.de","suche.aol.de","suche.aolsvc.de","aolbusqueda.aol.com.mx","alicesuche.aol.de","alicesuchet.aol.de","suchet2.aol.de","search.hp.my.aol.com.au","search.hp.my.aol.de","search.hp.my.aol.it","search-intl.netscape.com"],parameters:["q","query"]},Acoon:{domains:["www.acoon.de"],parameters:["begriff"]},Free:{domains:["search.free.fr","search1-2.free.fr","search1-1.free.fr"],parameters:["q"]},"Apollo Latvia":{domains:["apollo.lv/portal/search/"],parameters:["q"]},HighBeam:{domains:["www.highbeam.com"],parameters:["q"]},"I-play":{domains:["start.iplay.com"],parameters:["q"]},FriendFeed:{domains:["friendfeed.com"],parameters:["q"]},Yasni:{domains:["www.yasni.de","www.yasni.com","www.yasni.co.uk","www.yasni.ch","www.yasni.at"],parameters:["query"]},Gigablast:{domains:["www.gigablast.com","dir.gigablast.com"],parameters:["q"]},arama:{domains:["arama.com"],parameters:["q"]},Fixsuche:{domains:["www.fixsuche.de"],parameters:["q"]},Apontador:{domains:["apontador.com.br","www.apontador.com.br"],parameters:["q"]},"Search.com":{domains:["www.search.com"],parameters:["q"]},Monstercrawler:{domains:["www.monstercrawler.com"],parameters:["qry"]},"Google Images":{domains:["google.ac/imgres","google.ad/imgres","google.ae/imgres","google.am/imgres","google.as/imgres","google.at/imgres","google.az/imgres","google.ba/imgres","google.be/imgres","google.bf/imgres","google.bg/imgres","google.bi/imgres","google.bj/imgres","google.bs/imgres","google.by/imgres","google.ca/imgres","google.cat/imgres","google.cc/imgres","google.cd/imgres","google.cf/imgres","google.cg/imgres","google.ch/imgres","google.ci/imgres","google.cl/imgres","google.cm/imgres","google.cn/imgres","google.co.bw/imgres","google.co.ck/imgres","google.co.cr/imgres","google.co.id/imgres","google.co.il/imgres","google.co.in/imgres","google.co.jp/imgres","google.co.ke/imgres","google.co.kr/imgres","google.co.ls/imgres","google.co.ma/imgres","google.co.mz/imgres","google.co.nz/imgres","google.co.th/imgres","google.co.tz/imgres","google.co.ug/imgres","google.co.uk/imgres","google.co.uz/imgres","google.co.ve/imgres","google.co.vi/imgres","google.co.za/imgres","google.co.zm/imgres","google.co.zw/imgres","google.com/imgres","google.com.af/imgres","google.com.ag/imgres","google.com.ai/imgres","google.com.ar/imgres","google.com.au/imgres","google.com.bd/imgres","google.com.bh/imgres","google.com.bn/imgres","google.com.bo/imgres","google.com.br/imgres","google.com.by/imgres","google.com.bz/imgres","google.com.co/imgres","google.com.cu/imgres","google.com.cy/imgres","google.com.do/imgres","google.com.ec/imgres","google.com.eg/imgres","google.com.et/imgres","google.com.fj/imgres","google.com.gh/imgres","google.com.gi/imgres","google.com.gt/imgres","google.com.hk/imgres","google.com.jm/imgres","google.com.kh/imgres","google.com.kw/imgres","google.com.lb/imgres","google.com.lc/imgres","google.com.ly/imgres","google.com.mt/imgres","google.com.mx/imgres","google.com.my/imgres","google.com.na/imgres","google.com.nf/imgres","google.com.ng/imgres","google.com.ni/imgres","google.com.np/imgres","google.com.om/imgres","google.com.pa/imgres","google.com.pe/imgres","google.com.ph/imgres","google.com.pk/imgres","google.com.pr/imgres","google.com.py/imgres","google.com.qa/imgres","google.com.sa/imgres","google.com.sb/imgres","google.com.sg/imgres","google.com.sl/imgres","google.com.sv/imgres","google.com.tj/imgres","google.com.tn/imgres","google.com.tr/imgres","google.com.tw/imgres","google.com.ua/imgres","google.com.uy/imgres","google.com.vc/imgres","google.com.vn/imgres","google.cv/imgres","google.cz/imgres","google.de/imgres","google.dj/imgres","google.dk/imgres","google.dm/imgres","google.dz/imgres","google.ee/imgres","google.es/imgres","google.fi/imgres","google.fm/imgres","google.fr/imgres","google.ga/imgres","google.gd/imgres","google.ge/imgres","google.gf/imgres","google.gg/imgres","google.gl/imgres","google.gm/imgres","google.gp/imgres","google.gr/imgres","google.gy/imgres","google.hn/imgres","google.hr/imgres","google.ht/imgres","google.hu/imgres","google.ie/imgres","google.im/imgres","google.io/imgres","google.iq/imgres","google.is/imgres","google.it/imgres","google.it.ao/imgres","google.je/imgres","google.jo/imgres","google.kg/imgres","google.ki/imgres","google.kz/imgres","google.la/imgres","google.li/imgres","google.lk/imgres","google.lt/imgres","google.lu/imgres","google.lv/imgres","google.md/imgres","google.me/imgres","google.mg/imgres","google.mk/imgres","google.ml/imgres","google.mn/imgres","google.ms/imgres","google.mu/imgres","google.mv/imgres","google.mw/imgres","google.ne/imgres","google.nl/imgres","google.no/imgres","google.nr/imgres","google.nu/imgres","google.pl/imgres","google.pn/imgres","google.ps/imgres","google.pt/imgres","google.ro/imgres","google.rs/imgres","google.ru/imgres","google.rw/imgres","google.sc/imgres","google.se/imgres","google.sh/imgres","google.si/imgres","google.sk/imgres","google.sm/imgres","google.sn/imgres","google.so/imgres","google.st/imgres","google.td/imgres","google.tg/imgres","google.tk/imgres","google.tl/imgres","google.tm/imgres","google.to/imgres","google.tt/imgres","google.us/imgres","google.vg/imgres","google.vu/imgres","images.google.ws","images.google.ac","images.google.ad","images.google.ae","images.google.am","images.google.as","images.google.at","images.google.az","images.google.ba","images.google.be","images.google.bf","images.google.bg","images.google.bi","images.google.bj","images.google.bs","images.google.by","images.google.ca","images.google.cat","images.google.cc","images.google.cd","images.google.cf","images.google.cg","images.google.ch","images.google.ci","images.google.cl","images.google.cm","images.google.cn","images.google.co.bw","images.google.co.ck","images.google.co.cr","images.google.co.id","images.google.co.il","images.google.co.in","images.google.co.jp","images.google.co.ke","images.google.co.kr","images.google.co.ls","images.google.co.ma","images.google.co.mz","images.google.co.nz","images.google.co.th","images.google.co.tz","images.google.co.ug","images.google.co.uk","images.google.co.uz","images.google.co.ve","images.google.co.vi","images.google.co.za","images.google.co.zm","images.google.co.zw","images.google.com","images.google.com.af","images.google.com.ag","images.google.com.ai","images.google.com.ar","images.google.com.au","images.google.com.bd","images.google.com.bh","images.google.com.bn","images.google.com.bo","images.google.com.br","images.google.com.by","images.google.com.bz","images.google.com.co","images.google.com.cu","images.google.com.cy","images.google.com.do","images.google.com.ec","images.google.com.eg","images.google.com.et","images.google.com.fj","images.google.com.gh","images.google.com.gi","images.google.com.gt","images.google.com.hk","images.google.com.jm","images.google.com.kh","images.google.com.kh","images.google.com.kw","images.google.com.lb","images.google.com.lc","images.google.com.ly","images.google.com.mt","images.google.com.mx","images.google.com.my","images.google.com.na","images.google.com.nf","images.google.com.ng","images.google.com.ni","images.google.com.np","images.google.com.om","images.google.com.pa","images.google.com.pe","images.google.com.ph","images.google.com.pk","images.google.com.pr","images.google.com.py","images.google.com.qa","images.google.com.sa","images.google.com.sb","images.google.com.sg","images.google.com.sl","images.google.com.sv","images.google.com.tj","images.google.com.tn","images.google.com.tr","images.google.com.tw","images.google.com.ua","images.google.com.uy","images.google.com.vc","images.google.com.vn","images.google.cv","images.google.cz","images.google.de","images.google.dj","images.google.dk","images.google.dm","images.google.dz","images.google.ee","images.google.es","images.google.fi","images.google.fm","images.google.fr","images.google.ga","images.google.gd","images.google.ge","images.google.gf","images.google.gg","images.google.gl","images.google.gm","images.google.gp","images.google.gr","images.google.gy","images.google.hn","images.google.hr","images.google.ht","images.google.hu","images.google.ie","images.google.im","images.google.io","images.google.iq","images.google.is","images.google.it","images.google.it.ao","images.google.je","images.google.jo","images.google.kg","images.google.ki","images.google.kz","images.google.la","images.google.li","images.google.lk","images.google.lt","images.google.lu","images.google.lv","images.google.md","images.google.me","images.google.mg","images.google.mk","images.google.ml","images.google.mn","images.google.ms","images.google.mu","images.google.mv","images.google.mw","images.google.ne","images.google.nl","images.google.no","images.google.nr","images.google.nu","images.google.pl","images.google.pn","images.google.ps","images.google.pt","images.google.ro","images.google.rs","images.google.ru","images.google.rw","images.google.sc","images.google.se","images.google.sh","images.google.si","images.google.sk","images.google.sm","images.google.sn","images.google.so","images.google.st","images.google.td","images.google.tg","images.google.tk","images.google.tl","images.google.tm","images.google.to","images.google.tt","images.google.us","images.google.vg","images.google.vu","images.google.ws"],parameters:["q"]},ABCs\\u00F8k:{domains:["abcsolk.no","verden.abcsok.no"],parameters:["q"]},"Google Product Search":{domains:["google.ac/products","google.ad/products","google.ae/products","google.am/products","google.as/products","google.at/products","google.az/products","google.ba/products","google.be/products","google.bf/products","google.bg/products","google.bi/products","google.bj/products","google.bs/products","google.by/products","google.ca/products","google.cat/products","google.cc/products","google.cd/products","google.cf/products","google.cg/products","google.ch/products","google.ci/products","google.cl/products","google.cm/products","google.cn/products","google.co.bw/products","google.co.ck/products","google.co.cr/products","google.co.id/products","google.co.il/products","google.co.in/products","google.co.jp/products","google.co.ke/products","google.co.kr/products","google.co.ls/products","google.co.ma/products","google.co.mz/products","google.co.nz/products","google.co.th/products","google.co.tz/products","google.co.ug/products","google.co.uk/products","google.co.uz/products","google.co.ve/products","google.co.vi/products","google.co.za/products","google.co.zm/products","google.co.zw/products","google.com/products","google.com.af/products","google.com.ag/products","google.com.ai/products","google.com.ar/products","google.com.au/products","google.com.bd/products","google.com.bh/products","google.com.bn/products","google.com.bo/products","google.com.br/products","google.com.by/products","google.com.bz/products","google.com.co/products","google.com.cu/products","google.com.cy/products","google.com.do/products","google.com.ec/products","google.com.eg/products","google.com.et/products","google.com.fj/products","google.com.gh/products","google.com.gi/products","google.com.gt/products","google.com.hk/products","google.com.jm/products","google.com.kh/products","google.com.kh/products","google.com.kw/products","google.com.lb/products","google.com.lc/products","google.com.ly/products","google.com.mt/products","google.com.mx/products","google.com.my/products","google.com.na/products","google.com.nf/products","google.com.ng/products","google.com.ni/products","google.com.np/products","google.com.om/products","google.com.pa/products","google.com.pe/products","google.com.ph/products","google.com.pk/products","google.com.pr/products","google.com.py/products","google.com.qa/products","google.com.sa/products","google.com.sb/products","google.com.sg/products","google.com.sl/products","google.com.sv/products","google.com.tj/products","google.com.tn/products","google.com.tr/products","google.com.tw/products","google.com.ua/products","google.com.uy/products","google.com.vc/products","google.com.vn/products","google.cv/products","google.cz/products","google.de/products","google.dj/products","google.dk/products","google.dm/products","google.dz/products","google.ee/products","google.es/products","google.fi/products","google.fm/products","google.fr/products","google.ga/products","google.gd/products","google.ge/products","google.gf/products","google.gg/products","google.gl/products","google.gm/products","google.gp/products","google.gr/products","google.gy/products","google.hn/products","google.hr/products","google.ht/products","google.hu/products","google.ie/products","google.im/products","google.io/products","google.iq/products","google.is/products","google.it/products","google.it.ao/products","google.je/products","google.jo/products","google.kg/products","google.ki/products","google.kz/products","google.la/products","google.li/products","google.lk/products","google.lt/products","google.lu/products","google.lv/products","google.md/products","google.me/products","google.mg/products","google.mk/products","google.ml/products","google.mn/products","google.ms/products","google.mu/products","google.mv/products","google.mw/products","google.ne/products","google.nl/products","google.no/products","google.nr/products","google.nu/products","google.pl/products","google.pn/products","google.ps/products","google.pt/products","google.ro/products","google.rs/products","google.ru/products","google.rw/products","google.sc/products","google.se/products","google.sh/products","google.si/products","google.sk/products","google.sm/products","google.sn/products","google.so/products","google.st/products","google.td/products","google.tg/products","google.tk/products","google.tl/products","google.tm/products","google.to/products","google.tt/products","google.us/products","google.vg/products","google.vu/products","google.ws/products","www.google.ac/products","www.google.ad/products","www.google.ae/products","www.google.am/products","www.google.as/products","www.google.at/products","www.google.az/products","www.google.ba/products","www.google.be/products","www.google.bf/products","www.google.bg/products","www.google.bi/products","www.google.bj/products","www.google.bs/products","www.google.by/products","www.google.ca/products","www.google.cat/products","www.google.cc/products","www.google.cd/products","www.google.cf/products","www.google.cg/products","www.google.ch/products","www.google.ci/products","www.google.cl/products","www.google.cm/products","www.google.cn/products","www.google.co.bw/products","www.google.co.ck/products","www.google.co.cr/products","www.google.co.id/products","www.google.co.il/products","www.google.co.in/products","www.google.co.jp/products","www.google.co.ke/products","www.google.co.kr/products","www.google.co.ls/products","www.google.co.ma/products","www.google.co.mz/products","www.google.co.nz/products","www.google.co.th/products","www.google.co.tz/products","www.google.co.ug/products","www.google.co.uk/products","www.google.co.uz/products","www.google.co.ve/products","www.google.co.vi/products","www.google.co.za/products","www.google.co.zm/products","www.google.co.zw/products","www.google.com/products","www.google.com.af/products","www.google.com.ag/products","www.google.com.ai/products","www.google.com.ar/products","www.google.com.au/products","www.google.com.bd/products","www.google.com.bh/products","www.google.com.bn/products","www.google.com.bo/products","www.google.com.br/products","www.google.com.by/products","www.google.com.bz/products","www.google.com.co/products","www.google.com.cu/products","www.google.com.cy/products","www.google.com.do/products","www.google.com.ec/products","www.google.com.eg/products","www.google.com.et/products","www.google.com.fj/products","www.google.com.gh/products","www.google.com.gi/products","www.google.com.gt/products","www.google.com.hk/products","www.google.com.jm/products","www.google.com.kh/products","www.google.com.kh/products","www.google.com.kw/products","www.google.com.lb/products","www.google.com.lc/products","www.google.com.ly/products","www.google.com.mt/products","www.google.com.mx/products","www.google.com.my/products","www.google.com.na/products","www.google.com.nf/products","www.google.com.ng/products","www.google.com.ni/products","www.google.com.np/products","www.google.com.om/products","www.google.com.pa/products","www.google.com.pe/products","www.google.com.ph/products","www.google.com.pk/products","www.google.com.pr/products","www.google.com.py/products","www.google.com.qa/products","www.google.com.sa/products","www.google.com.sb/products","www.google.com.sg/products","www.google.com.sl/products","www.google.com.sv/products","www.google.com.tj/products","www.google.com.tn/products","www.google.com.tr/products","www.google.com.tw/products","www.google.com.ua/products","www.google.com.uy/products","www.google.com.vc/products","www.google.com.vn/products","www.google.cv/products","www.google.cz/products","www.google.de/products","www.google.dj/products","www.google.dk/products","www.google.dm/products","www.google.dz/products","www.google.ee/products","www.google.es/products","www.google.fi/products","www.google.fm/products","www.google.fr/products","www.google.ga/products","www.google.gd/products","www.google.ge/products","www.google.gf/products","www.google.gg/products","www.google.gl/products","www.google.gm/products","www.google.gp/products","www.google.gr/products","www.google.gy/products","www.google.hn/products","www.google.hr/products","www.google.ht/products","www.google.hu/products","www.google.ie/products","www.google.im/products","www.google.io/products","www.google.iq/products","www.google.is/products","www.google.it/products","www.google.it.ao/products","www.google.je/products","www.google.jo/products","www.google.kg/products","www.google.ki/products","www.google.kz/products","www.google.la/products","www.google.li/products","www.google.lk/products","www.google.lt/products","www.google.lu/products","www.google.lv/products","www.google.md/products","www.google.me/products","www.google.mg/products","www.google.mk/products","www.google.ml/products","www.google.mn/products","www.google.ms/products","www.google.mu/products","www.google.mv/products","www.google.mw/products","www.google.ne/products","www.google.nl/products","www.google.no/products","www.google.nr/products","www.google.nu/products","www.google.pl/products","www.google.pn/products","www.google.ps/products","www.google.pt/products","www.google.ro/products","www.google.rs/products","www.google.ru/products","www.google.rw/products","www.google.sc/products","www.google.se/products","www.google.sh/products","www.google.si/products","www.google.sk/products","www.google.sm/products","www.google.sn/products","www.google.so/products","www.google.st/products","www.google.td/products","www.google.tg/products","www.google.tk/products","www.google.tl/products","www.google.tm/products","www.google.to/products","www.google.tt/products","www.google.us/products","www.google.vg/products","www.google.vu/products","www.google.ws/products"],parameters:["q"]},DasOertliche:{domains:["www.dasoertliche.de"],parameters:["kw"]},InfoSpace:{domains:["infospace.com","dogpile.com","www.dogpile.com","metacrawler.com","webfetch.com","webcrawler.com","search.kiwee.com","isearch.babylon.com","start.facemoods.com","search.magnetic.com","search.searchcompletion.com","clusty.com"],parameters:["q","s"]},Weborama:{domains:["www.weborama.com"],parameters:["QUERY"]},Bluewin:{domains:["search.bluewin.ch"],parameters:["searchTerm"]},Neti:{domains:["www.neti.ee"],parameters:["query"]},Winamp:{domains:["search.winamp.com"],parameters:["q"]},Nigma:{domains:["nigma.ru"],parameters:["s"]},"Yahoo! Images":{domains:["image.yahoo.cn","images.search.yahoo.com"],parameters:["p","q"]},Exalead:{domains:["www.exalead.fr","www.exalead.com"],parameters:["q"]},Teoma:{domains:["www.teoma.com"],parameters:["q"]},Needtofind:{domains:["ko.search.need2find.com"],parameters:["searchfor"]},Looksmart:{domains:["www.looksmart.com"],parameters:["key"]},"Wirtualna Polska":{domains:["szukaj.wp.pl"],parameters:["szukaj"]},Toolbarhome:{domains:["www.toolbarhome.com","vshare.toolbarhome.com"],parameters:["q"]},Searchalot:{domains:["searchalot.com"],parameters:["q"]},Yandex:{domains:["yandex.ru","yandex.ua","yandex.com","yandex.by","www.yandex.ru","www.yandex.ua","www.yandex.com","www.yandex.by"],parameters:["text"]},"canoe.ca":{domains:["web.canoe.ca"],parameters:["q"]},Compuserve:{domains:["websearch.cs.com"],parameters:["query"]},Blogdigger:{domains:["www.blogdigger.com"],parameters:["q"]},Startpagina:{domains:["startgoogle.startpagina.nl"],parameters:["q"]},eo:{domains:["eo.st"],parameters:["x_query"]},Zhongsou:{domains:["p.zhongsou.com"],parameters:["w"]},"La Toile Du Quebec Via Google":{domains:["www.toile.com","web.toile.com"],parameters:["q"]},Paperball:{domains:["www.paperball.de"],parameters:["q"]},"Jungle Spider":{domains:["www.jungle-spider.de"],parameters:["q"]},PeoplePC:{domains:["search.peoplepc.com"],parameters:["q"]},"MetaCrawler.de":{domains:["s1.metacrawler.de","s2.metacrawler.de","s3.metacrawler.de"],parameters:["qry"]},Orange:{domains:["busca.orange.es","search.orange.co.uk"],parameters:["q"]},"Gule Sider":{domains:["www.gulesider.no"],parameters:["q"]},Francite:{domains:["recherche.francite.com"],parameters:["name"]},"Ask Toolbar":{domains:["search.tb.ask.com"],parameters:["searchfor"]},"Trusted-Search":{domains:["www.trusted--search.com"],parameters:["w"]},goo:{domains:["search.goo.ne.jp","ocnsearch.goo.ne.jp"],parameters:["MT"]},"Fast Browser Search":{domains:["www.fastbrowsersearch.com"],parameters:["q"]},Blogpulse:{domains:["www.blogpulse.com"],parameters:["query"]},Volny:{domains:["web.volny.cz"],parameters:["search"]},Icerockeet:{domains:["blogs.icerocket.com"],parameters:["q"]},Terra:{domains:["buscador.terra.es","buscador.terra.cl","buscador.terra.com.br"],parameters:["query"]},Amazon:{domains:["amazon.com","www.amazon.com"],parameters:["keywords"]},Onet:{domains:["szukaj.onet.pl"],parameters:["qt"]},Digg:{domains:["digg.com"],parameters:["s"]},Abacho:{domains:["www.abacho.de","www.abacho.com","www.abacho.co.uk","www.se.abacho.com","www.tr.abacho.com","www.abacho.at","www.abacho.fr","www.abacho.es","www.abacho.ch","www.abacho.it"],parameters:["q"]},maailm:{domains:["www.maailm.com"],parameters:["tekst"]},Flix:{domains:["www.flix.de"],parameters:["keyword"]},Suchnase:{domains:["www.suchnase.de"],parameters:["q"]},Freenet:{domains:["suche.freenet.de"],parameters:["query","Keywords"]},"Poisk.ru":{domains:["www.plazoo.com"],parameters:["q"]},Sharelook:{domains:["www.sharelook.fr"],parameters:["keyword"]},Najdi:{domains:["www.najdi.si"],parameters:["q"]},Picsearch:{domains:["www.picsearch.com"],parameters:["q"]},"Mail.ru":{domains:["go.mail.ru"],parameters:["q"]},Alexa:{domains:["alexa.com","search.toolbars.alexa.com"],parameters:["q"]},Metager:{domains:["meta.rrzn.uni-hannover.de","www.metager.de"],parameters:["eingabe"]},Technorati:{domains:["technorati.com"],parameters:["q"]},Globososo:{domains:["searches.globososo.com","search.globososo.com"],parameters:["q"]},WWW:{domains:["search.www.ee"],parameters:["query"]},"Trouvez.com":{domains:["www.trouvez.com"],parameters:["query"]},IXquick:{domains:["ixquick.com","www.eu.ixquick.com","ixquick.de","www.ixquick.de","us.ixquick.com","s1.us.ixquick.com","s2.us.ixquick.com","s3.us.ixquick.com","s4.us.ixquick.com","s5.us.ixquick.com","eu.ixquick.com","s8-eu.ixquick.com","s1-eu.ixquick.de"],parameters:["query"]},"Naver Images":{domains:["image.search.naver.com","imagesearch.naver.com"],parameters:["query"]},Zapmeta:{domains:["www.zapmeta.com","www.zapmeta.nl","www.zapmeta.de","uk.zapmeta.com"],parameters:["q","query"]},Yippy:{domains:["search.yippy.com"],parameters:["q","query"]},Gomeo:{domains:["www.gomeo.com"],parameters:["Keywords"]},Walhello:{domains:["www.walhello.info","www.walhello.com","www.walhello.de","www.walhello.nl"],parameters:["key"]},Meta:{domains:["meta.ua"],parameters:["q"]},Skynet:{domains:["www.skynet.be"],parameters:["q"]},Searchy:{domains:["www.searchy.co.uk"],parameters:["q"]},Findwide:{domains:["search.findwide.com"],parameters:["k"]},WebSearch:{domains:["www.websearch.com"],parameters:["qkw","q"]},Rambler:{domains:["nova.rambler.ru"],parameters:["query","words"]},Latne:{domains:["www.latne.lv"],parameters:["q"]},MySearch:{domains:["www.mysearch.com","ms114.mysearch.com","ms146.mysearch.com","kf.mysearch.myway.com","ki.mysearch.myway.com","search.myway.com","search.mywebsearch.com"],parameters:["searchfor","searchFor"]},Cuil:{domains:["www.cuil.com"],parameters:["q"]},Tixuma:{domains:["www.tixuma.de"],parameters:["sc"]},Sapo:{domains:["pesquisa.sapo.pt"],parameters:["q"]},Gnadenmeer:{domains:["www.gnadenmeer.de"],parameters:["keyword"]},Arcor:{domains:["www.arcor.de"],parameters:["Keywords"]},Naver:{domains:["search.naver.com"],parameters:["query"]},Zoeken:{domains:["www.zoeken.nl"],parameters:["q"]},Startsiden:{domains:["www.startsiden.no"],parameters:["q"]},Yam:{domains:["search.yam.com"],parameters:["k"]},Eniro:{domains:["www.eniro.se"],parameters:["q","search_word"]},APOLL07:{domains:["apollo7.de"],parameters:["query"]},Biglobe:{domains:["cgi.search.biglobe.ne.jp"],parameters:["q"]},Mozbot:{domains:["www.mozbot.fr","www.mozbot.co.uk","www.mozbot.com"],parameters:["q"]},ICQ:{domains:["www.icq.com","search.icq.com"],parameters:["q"]},Baidu:{domains:["www.baidu.com","www1.baidu.com","zhidao.baidu.com","tieba.baidu.com","news.baidu.com","web.gougou.com"],parameters:["wd","word","kw","k"]},Conduit:{domains:["search.conduit.com"],parameters:["q"]},Vindex:{domains:["www.vindex.nl","search.vindex.nl"],parameters:["search_for"]},Babylon:{domains:["search.babylon.com","searchassist.babylon.com"],parameters:["q"]},TrovaRapido:{domains:["www.trovarapido.com"],parameters:["q"]},"Suchmaschine.com":{domains:["www.suchmaschine.com"],parameters:["suchstr"]},Lycos:{domains:["search.lycos.com","www.lycos.com","lycos.com"],parameters:["query"]},Vinden:{domains:["www.vinden.nl"],parameters:["q"]},Altavista:{domains:["www.altavista.com","search.altavista.com","listings.altavista.com","altavista.de","altavista.fr","be-nl.altavista.com","be-fr.altavista.com"],parameters:["q"]},dmoz:{domains:["dmoz.org","editors.dmoz.org"],parameters:["q"]},Ecosia:{domains:["ecosia.org"],parameters:["q"]},Maxwebsearch:{domains:["maxwebsearch.com"],parameters:["query"]},Euroseek:{domains:["www.euroseek.com"],parameters:["string"]},Bing:{domains:["bing.com","www.bing.com","msnbc.msn.com","dizionario.it.msn.com","cc.bingj.com","m.bing.com"],parameters:["q","Q"]},"X-recherche":{domains:["www.x-recherche.com"],parameters:["MOTS"]},"Yandex Images":{domains:["images.yandex.ru","images.yandex.ua","images.yandex.com"],parameters:["text"]},GMX:{domains:["suche.gmx.net"],parameters:["su"]},"Daemon search":{domains:["daemon-search.com","my.daemon-search.com"],parameters:["q"]},"Jungle Key":{domains:["junglekey.com","junglekey.fr"],parameters:["query"]},Firstfind:{domains:["www.firstsfind.com"],parameters:["qry"]},Crawler:{domains:["www.crawler.com"],parameters:["q"]},Holmes:{domains:["holmes.ge"],parameters:["q"]},Charter:{domains:["www.charter.net"],parameters:["q"]},Ilse:{domains:["www.ilse.nl"],parameters:["search_for"]},earthlink:{domains:["search.earthlink.net"],parameters:["q"]},Qualigo:{domains:["www.qualigo.at","www.qualigo.ch","www.qualigo.de","www.qualigo.nl"],parameters:["q"]},"El Mundo":{domains:["ariadna.elmundo.es"],parameters:["q"]},Metager2:{domains:["metager2.de"],parameters:["q"]},Forestle:{domains:["forestle.org","www.forestle.org","forestle.mobi"],parameters:["q"]},"Search.ch":{domains:["www.search.ch"],parameters:["q"]},Meinestadt:{domains:["www.meinestadt.de"],parameters:["words"]},Freshweather:{domains:["www.fresh-weather.com"],parameters:["q"]},AllTheWeb:{domains:["www.alltheweb.com"],parameters:["q"]},Snapdo:{domains:["search.snapdo.com"],parameters:["q"]},Zoek:{domains:["www3.zoek.nl"],parameters:["q"]},Daum:{domains:["search.daum.net"],parameters:["q"]},Marktplaats:{domains:["www.marktplaats.nl"],parameters:["query"]},"suche.info":{domains:["suche.info"],parameters:["q"]},"Google News":{domains:["news.google.ac","news.google.ad","news.google.ae","news.google.am","news.google.as","news.google.at","news.google.az","news.google.ba","news.google.be","news.google.bf","news.google.bg","news.google.bi","news.google.bj","news.google.bs","news.google.by","news.google.ca","news.google.cat","news.google.cc","news.google.cd","news.google.cf","news.google.cg","news.google.ch","news.google.ci","news.google.cl","news.google.cm","news.google.cn","news.google.co.bw","news.google.co.ck","news.google.co.cr","news.google.co.id","news.google.co.il","news.google.co.in","news.google.co.jp","news.google.co.ke","news.google.co.kr","news.google.co.ls","news.google.co.ma","news.google.co.mz","news.google.co.nz","news.google.co.th","news.google.co.tz","news.google.co.ug","news.google.co.uk","news.google.co.uz","news.google.co.ve","news.google.co.vi","news.google.co.za","news.google.co.zm","news.google.co.zw","news.google.com","news.google.com.af","news.google.com.ag","news.google.com.ai","news.google.com.ar","news.google.com.au","news.google.com.bd","news.google.com.bh","news.google.com.bn","news.google.com.bo","news.google.com.br","news.google.com.by","news.google.com.bz","news.google.com.co","news.google.com.cu","news.google.com.cy","news.google.com.do","news.google.com.ec","news.google.com.eg","news.google.com.et","news.google.com.fj","news.google.com.gh","news.google.com.gi","news.google.com.gt","news.google.com.hk","news.google.com.jm","news.google.com.kh","news.google.com.kh","news.google.com.kw","news.google.com.lb","news.google.com.lc","news.google.com.ly","news.google.com.mt","news.google.com.mx","news.google.com.my","news.google.com.na","news.google.com.nf","news.google.com.ng","news.google.com.ni","news.google.com.np","news.google.com.om","news.google.com.pa","news.google.com.pe","news.google.com.ph","news.google.com.pk","news.google.com.pr","news.google.com.py","news.google.com.qa","news.google.com.sa","news.google.com.sb","news.google.com.sg","news.google.com.sl","news.google.com.sv","news.google.com.tj","news.google.com.tn","news.google.com.tr","news.google.com.tw","news.google.com.ua","news.google.com.uy","news.google.com.vc","news.google.com.vn","news.google.cv","news.google.cz","news.google.de","news.google.dj","news.google.dk","news.google.dm","news.google.dz","news.google.ee","news.google.es","news.google.fi","news.google.fm","news.google.fr","news.google.ga","news.google.gd","news.google.ge","news.google.gf","news.google.gg","news.google.gl","news.google.gm","news.google.gp","news.google.gr","news.google.gy","news.google.hn","news.google.hr","news.google.ht","news.google.hu","news.google.ie","news.google.im","news.google.io","news.google.iq","news.google.is","news.google.it","news.google.it.ao","news.google.je","news.google.jo","news.google.kg","news.google.ki","news.google.kz","news.google.la","news.google.li","news.google.lk","news.google.lt","news.google.lu","news.google.lv","news.google.md","news.google.me","news.google.mg","news.google.mk","news.google.ml","news.google.mn","news.google.ms","news.google.mu","news.google.mv","news.google.mw","news.google.ne","news.google.nl","news.google.no","news.google.nr","news.google.nu","news.google.pl","news.google.pn","news.google.ps","news.google.pt","news.google.ro","news.google.rs","news.google.ru","news.google.rw","news.google.sc","news.google.se","news.google.sh","news.google.si","news.google.sk","news.google.sm","news.google.sn","news.google.so","news.google.st","news.google.td","news.google.tg","news.google.tk","news.google.tl","news.google.tm","news.google.to","news.google.tt","news.google.us","news.google.vg","news.google.vu","news.google.ws"],parameters:["q"]},Zoohoo:{domains:["zoohoo.cz"],parameters:["q"]},Seznam:{domains:["search.seznam.cz"],parameters:["q"]},"Online.no":{domains:["online.no"],parameters:["q"]},Eurip:{domains:["www.eurip.com"],parameters:["q"]},"all.by":{domains:["all.by"],parameters:["query"]},"Road Runner Search":{domains:["search.rr.com"],parameters:["q"]},"Opplysningen 1881":{domains:["www.1881.no"],parameters:["Query"]},YouGoo:{domains:["www.yougoo.fr"],parameters:["q"]},"Bing Images":{domains:["bing.com/images/search","www.bing.com/images/search"],parameters:["q","Q"]},Geona:{domains:["geona.net"],parameters:["q"]},Nate:{domains:["search.nate.com"],parameters:["q"]},DuckDuckGo:{domains:["duckduckgo.com"],parameters:["q"]},Hotbot:{domains:["www.hotbot.com"],parameters:["query"]},Kvasir:{domains:["www.kvasir.no"],parameters:["q"]},Austronaut:{domains:["www2.austronaut.at","www1.astronaut.at"],parameters:["q"]},Excite:{domains:["search.excite.it","search.excite.fr","search.excite.de","search.excite.co.uk","serach.excite.es","search.excite.nl","msxml.excite.com","www.excite.co.jp"],parameters:["q","search"]},qip:{domains:["search.qip.ru"],parameters:["query"]},"Certified-Toolbar":{domains:["search.certified-toolbar.com"],parameters:["q"]},"Yahoo!":{domains:["search.yahoo.com","yahoo.com","ar.search.yahoo.com","ar.yahoo.com","au.search.yahoo.com","au.yahoo.com","br.search.yahoo.com","br.yahoo.com","cade.searchde.yahoo.com","cade.yahoo.com","chinese.searchinese.yahoo.com","chinese.yahoo.com","cn.search.yahoo.com","cn.yahoo.com","de.search.yahoo.com","de.yahoo.com","dk.search.yahoo.com","dk.yahoo.com","es.search.yahoo.com","es.yahoo.com","espanol.searchpanol.yahoo.com","espanol.searchpanol.yahoo.com","espanol.yahoo.com","espanol.yahoo.com","fr.search.yahoo.com","fr.yahoo.com","ie.search.yahoo.com","ie.yahoo.com","it.search.yahoo.com","it.yahoo.com","kr.search.yahoo.com","kr.yahoo.com","mx.search.yahoo.com","mx.yahoo.com","no.search.yahoo.com","no.yahoo.com","nz.search.yahoo.com","nz.yahoo.com","one.cn.yahoo.com","one.searchn.yahoo.com","qc.search.yahoo.com","qc.search.yahoo.com","qc.search.yahoo.com","qc.yahoo.com","qc.yahoo.com","se.search.yahoo.com","se.search.yahoo.com","se.yahoo.com","search.searcharch.yahoo.com","search.yahoo.com","uk.search.yahoo.com","uk.yahoo.com","www.yahoo.co.jp","search.yahoo.co.jp","www.cercato.it","search.offerbox.com","ys.mirostart.com"],parameters:["p","q"]},"URL.ORGanizier":{domains:["www.url.org"],parameters:["q"]},Witch:{domains:["www.witch.de"],parameters:["search"]},"Mister Wong":{domains:["www.mister-wong.com","www.mister-wong.de"],parameters:["Keywords"]},Aport:{domains:["sm.aport.ru"],parameters:["r"]},"Web.de":{domains:["suche.web.de"],parameters:["su"]},Ask:{domains:["ask.com","www.ask.com","web.ask.com","int.ask.com","mws.ask.com","uk.ask.com","images.ask.com","ask.reference.com","www.askkids.com","iwon.ask.com","www.ask.co.uk","www.qbyrd.com","search-results.com","uk.search-results.com","www.search-results.com","int.search-results.com"],parameters:["q"]},Centrum:{domains:["serach.centrum.cz","morfeo.centrum.cz"],parameters:["q"]},Everyclick:{domains:["www.everyclick.com"],parameters:["keyword"]},"Google Video":{domains:["video.google.com"],parameters:["q"]},Delfi:{domains:["otsing.delfi.ee"],parameters:["q"]},blekko:{domains:["blekko.com"],parameters:["q"]},Jyxo:{domains:["jyxo.1188.cz"],parameters:["q"]},Kataweb:{domains:["www.kataweb.it"],parameters:["q"]},"uol.com.br":{domains:["busca.uol.com.br"],parameters:["q"]},Arianna:{domains:["arianna.libero.it","www.arianna.com"],parameters:["query"]},Mamma:{domains:["www.mamma.com","mamma75.mamma.com"],parameters:["query"]},Yatedo:{domains:["www.yatedo.com","www.yatedo.fr"],parameters:["q"]},Twingly:{domains:["www.twingly.com"],parameters:["q"]},"Delfi latvia":{domains:["smart.delfi.lv"],parameters:["q"]},PriceRunner:{domains:["www.pricerunner.co.uk"],parameters:["q"]},Rakuten:{domains:["websearch.rakuten.co.jp"],parameters:["qt"]},Google:{domains:["www.google.com","www.google.ac","www.google.ad","www.google.com.af","www.google.com.ag","www.google.com.ai","www.google.am","www.google.it.ao","www.google.com.ar","www.google.as","www.google.at","www.google.com.au","www.google.az","www.google.ba","www.google.com.bd","www.google.be","www.google.bf","www.google.bg","www.google.com.bh","www.google.bi","www.google.bj","www.google.com.bn","www.google.com.bo","www.google.com.br","www.google.bs","www.google.co.bw","www.google.com.by","www.google.by","www.google.com.bz","www.google.ca","www.google.com.kh","www.google.cc","www.google.cd","www.google.cf","www.google.cat","www.google.cg","www.google.ch","www.google.ci","www.google.co.ck","www.google.cl","www.google.cm","www.google.cn","www.google.com.co","www.google.co.cr","www.google.com.cu","www.google.cv","www.google.com.cy","www.google.cz","www.google.de","www.google.dj","www.google.dk","www.google.dm","www.google.com.do","www.google.dz","www.google.com.ec","www.google.ee","www.google.com.eg","www.google.es","www.google.com.et","www.google.fi","www.google.com.fj","www.google.fm","www.google.fr","www.google.ga","www.google.gd","www.google.ge","www.google.gf","www.google.gg","www.google.com.gh","www.google.com.gi","www.google.gl","www.google.gm","www.google.gp","www.google.gr","www.google.com.gt","www.google.gy","www.google.com.hk","www.google.hn","www.google.hr","www.google.ht","www.google.hu","www.google.co.id","www.google.iq","www.google.ie","www.google.co.il","www.google.im","www.google.co.in","www.google.io","www.google.is","www.google.it","www.google.je","www.google.com.jm","www.google.jo","www.google.co.jp","www.google.co.ke","www.google.com.kh","www.google.ki","www.google.kg","www.google.co.kr","www.google.com.kw","www.google.kz","www.google.la","www.google.com.lb","www.google.com.lc","www.google.li","www.google.lk","www.google.co.ls","www.google.lt","www.google.lu","www.google.lv","www.google.com.ly","www.google.co.ma","www.google.md","www.google.me","www.google.mg","www.google.mk","www.google.ml","www.google.mn","www.google.ms","www.google.com.mt","www.google.mu","www.google.mv","www.google.mw","www.google.com.mx","www.google.com.my","www.google.co.mz","www.google.com.na","www.google.ne","www.google.com.nf","www.google.com.ng","www.google.com.ni","www.google.nl","www.google.no","www.google.com.np","www.google.nr","www.google.nu","www.google.co.nz","www.google.com.om","www.google.com.pa","www.google.com.pe","www.google.com.ph","www.google.com.pk","www.google.pl","www.google.pn","www.google.com.pr","www.google.ps","www.google.pt","www.google.com.py","www.google.com.qa","www.google.ro","www.google.rs","www.google.ru","www.google.rw","www.google.com.sa","www.google.com.sb","www.google.sc","www.google.se","www.google.com.sg","www.google.sh","www.google.si","www.google.sk","www.google.com.sl","www.google.sn","www.google.sm","www.google.so","www.google.st","www.google.com.sv","www.google.td","www.google.tg","www.google.co.th","www.google.com.tj","www.google.tk","www.google.tl","www.google.tm","www.google.to","www.google.com.tn","www.google.com.tr","www.google.tt","www.google.com.tw","www.google.co.tz","www.google.com.ua","www.google.co.ug","www.google.ae","www.google.co.uk","www.google.us","www.google.com.uy","www.google.co.uz","www.google.com.vc","www.google.co.ve","www.google.vg","www.google.co.vi","www.google.com.vn","www.google.vu","www.google.ws","www.google.co.za","www.google.co.zm","www.google.co.zw","google.com","google.ac","google.ad","google.com.af","google.com.ag","google.com.ai","google.am","google.it.ao","google.com.ar","google.as","google.at","google.com.au","google.az","google.ba","google.com.bd","google.be","google.bf","google.bg","google.com.bh","google.bi","google.bj","google.com.bn","google.com.bo","google.com.br","google.bs","google.co.bw","google.com.by","google.by","google.com.bz","google.ca","google.com.kh","google.cc","google.cd","google.cf","google.cat","google.cg","google.ch","google.ci","google.co.ck","google.cl","google.cm","google.cn","google.com.co","google.co.cr","google.com.cu","google.cv","google.com.cy","google.cz","google.de","google.dj","google.dk","google.dm","google.com.do","google.dz","google.com.ec","google.ee","google.com.eg","google.es","google.com.et","google.fi","google.com.fj","google.fm","google.fr","google.ga","google.gd","google.ge","google.gf","google.gg","google.com.gh","google.com.gi","google.gl","google.gm","google.gp","google.gr","google.com.gt","google.gy","google.com.hk","google.hn","google.hr","google.ht","google.hu","google.co.id","google.iq","google.ie","google.co.il","google.im","google.co.in","google.io","google.is","google.it","google.je","google.com.jm","google.jo","google.co.jp","google.co.ke","google.com.kh","google.ki","google.kg","google.co.kr","google.com.kw","google.kz","google.la","google.com.lb","google.com.lc","google.li","google.lk","google.co.ls","google.lt","google.lu","google.lv","google.com.ly","google.co.ma","google.md","google.me","google.mg","google.mk","google.ml","google.mn","google.ms","google.com.mt","google.mu","google.mv","google.mw","google.com.mx","google.com.my","google.co.mz","google.com.na","google.ne","google.com.nf","google.com.ng","google.com.ni","google.nl","google.no","google.com.np","google.nr","google.nu","google.co.nz","google.com.om","google.com.pa","google.com.pe","google.com.ph","google.com.pk","google.pl","google.pn","google.com.pr","google.ps","google.pt","google.com.py","google.com.qa","google.ro","google.rs","google.ru","google.rw","google.com.sa","google.com.sb","google.sc","google.se","google.com.sg","google.sh","google.si","google.sk","google.com.sl","google.sn","google.sm","google.so","google.st","google.com.sv","google.td","google.tg","google.co.th","google.com.tj","google.tk","google.tl","google.tm","google.to","google.com.tn","google.com.tr","google.tt","google.com.tw","google.co.tz","google.com.ua","google.co.ug","google.ae","google.co.uk","google.us","google.com.uy","google.co.uz","google.com.vc","google.co.ve","google.vg","google.co.vi","google.com.vn","google.vu","google.ws","google.co.za","google.co.zm","google.co.zw","search.avg.com","isearch.avg.com","www.cnn.com","darkoogle.com","search.darkoogle.com","search.foxtab.com","www.gooofullsearch.com","search.hiyo.com","search.incredimail.com","search1.incredimail.com","search2.incredimail.com","search3.incredimail.com","search4.incredimail.com","search.incredibar.com","search.sweetim.com","www.fastweb.it","search.juno.com","find.tdc.dk","searchresults.verizon.com","search.walla.co.il","search.alot.com","www.googleearth.de","www.googleearth.fr","webcache.googleusercontent.com","encrypted.google.com","googlesyndicatedsearch.com"],parameters:["q","query","Keywords"]},"Hooseek.com":{domains:["www.hooseek.com"],parameters:["recherche"]},Dalesearch:{domains:["www.dalesearch.com"],parameters:["q"]},"Alice Adsl":{domains:["rechercher.aliceadsl.fr"],parameters:["q"]},"T-Online":{domains:["suche.t-online.de","brisbane.t-online.de","navigationshilfe.t-online.de"],parameters:["q"]},"soso.com":{domains:["www.soso.com"],parameters:["w"]},Sogou:{domains:["www.sougou.com"],parameters:["query"]},"Hit-Parade":{domains:["req.-hit-parade.com","class.hit-parade.com","www.hit-parade.com"],parameters:["p7"]},SearchCanvas:{domains:["www.searchcanvas.com"],parameters:["q"]},Interia:{domains:["www.google.interia.pl"],parameters:["q"]},Genieo:{domains:["search.genieo.com"],parameters:["q"]},Tiscali:{domains:["search.tiscali.it","search-dyn.tiscali.it","hledani.tiscali.cz"],parameters:["q","key"]},Clix:{domains:["pesquisa.clix.pt"],parameters:["question"]}},Wb={Bigpond:{domains:["webmail.bigpond.com","webmail2.bigpond.com"]},"Naver Mail":{domains:["mail.naver.com"]},"Optus Zoo":{domains:["webmail.optuszoo.com.au"]},"Seznam Mail":{domains:["email.seznam.cz"]},"126 Mail":{domains:["mail.126.com"]},"Outlook.com":{domains:["mail.live.com"]},"AOL Mail":{domains:["mail.aol.com"]},"Daum Mail":{domains:["mail2.daum.net"]},"Yahoo! Mail":{domains:["mail.yahoo.net","mail.yahoo.com","mail.yahoo.co.uk","mail.yahoo.co.jp"]},"163 Mail":{domains:["mail.163.com"]},"Orange Webmail":{domains:["orange.fr/webmail"]},"QQ Mail":{domains:["mail.qq.com"]},"Mynet Mail":{domains:["mail.mynet.com"]},Gmail:{domains:["mail.google.com"]}},Gb={hi5:{domains:["hi5.com"]},Friendster:{domains:["friendster.com"]},Weibo:{domains:["weibo.com","t.cn"]},Xanga:{domains:["xanga.com"]},Myspace:{domains:["myspace.com"]},Buzznet:{domains:["wayn.com"]},MyLife:{domains:["mylife.ru"]},Flickr:{domains:["flickr.com"]},"Sonico.com":{domains:["sonico.com"]},Odnoklassniki:{domains:["odnoklassniki.ru"]},GitHub:{domains:["github.com"]},Classmates:{domains:["classmates.com"]},"Friends Reunited":{domains:["friendsreunited.com"]},Renren:{domains:["renren.com"]},Quora:{domains:["quora.com"]},"Gaia Online":{domains:["gaiaonline.com"]},Netlog:{domains:["netlog.com"]},Orkut:{domains:["orkut.com"]},MyHeritage:{domains:["myheritage.com"]},Multiply:{domains:["multiply.com"]},myYearbook:{domains:["myyearbook.com"]},WeeWorld:{domains:["weeworld.com"]},Vimeo:{domains:["vimeo.com"]},"Eksi Sozluk":{domains:["Sozluk.com","sourtimes.org"]},Geni:{domains:["geni.com"]},"Uludag Sozluk":{domains:["uludagsozluk.com","ulusozluk.com"]},SourceForge:{domains:["sourceforge.net"]},Plaxo:{domains:["plaxo.com"]},"Taringa!":{domains:["taringa.net"]},Tagged:{domains:["login.tagged.com"]},XING:{domains:["xing.com"]},Instagram:{domains:["instagram.com"]},Vkontakte:{domains:["vk.com","vkontakte.ru"]},Twitter:{domains:["twitter.com","t.co"]},"vKruguDruzei.ru":{domains:["vkrugudruzei.ru"]},Donanimhaber:{domains:["donanimhaber.com"]},WAYN:{domains:["wayn.com"]},Tuenti:{domains:["tuenti.com"]},"Mail.ru":{domains:["my.mail.ru"]},Badoo:{domains:["badoo.com"]},Instela:{domains:["instela.com"]},Habbo:{domains:["habbo.com"]},Pinterest:{domains:["pinterest.com"]},LinkedIn:{domains:["linkedin.com","lnkd.in"]},Foursquare:{domains:["foursquare.com"]},Flixster:{domains:["flixster.com"]},"Windows Live Spaces":{domains:["login.live.com"]},BlackPlanet:{domains:["blackplanet.com"]},Cyworld:{domains:["global.cyworld.com"]},Pocket:{domains:["itusozluk.com"],"ITU Sozluk":null},Skyrock:{domains:["skyrock.com"]},Facebook:{domains:["facebook.com","fb.me","m.facebook.com","l.facebook.com","lm.facebook.com"]},Disqus:{domains:["redirect.disqus.com","disq.us","disqus.com"]},StudiVZ:{domains:["studivz.net"]},Fotolog:{domains:["fotolog.com"]},"Google+":{domains:["url.google.com","plus.google.com"]},"Nasza-klasa.pl":{domains:["nk.pl"]},Qzone:{domains:["qzone.qq.com"]},Douban:{domains:["douban.com"]},Bebo:{domains:["bebo.com"]},Youtube:{domains:["youtube.com","youtu.be"]},Reddit:{domains:["reddit.com"]},"Identi.ca":{domains:["identi.ca"]},StackOverflow:{domains:["stackoverflow.com"]},Mixi:{domains:["mixi.jp"]},StumbleUpon:{domains:["stumbleupon.com"]},"Inci Sozluk":{domains:["inci.sozlukspot.com","incisozluk.com","incisozluk.cc"]},Viadeo:{domains:["viadeo.com"]},"Last.fm":{domains:["lastfm.ru"]},LiveJournal:{domains:["livejournal.ru"]},Tumblr:{domains:["tumblr.com"]},"Hacker News":{domains:["news.ycombinator.com"]},"Hocam.com":{domains:["hocam.com"]},Delicious:{domains:["delicious.com"]},Hyves:{domains:["hyves.nl"]},"Paper.li":{domains:["paper.li"]},"MoiKrug.ru":{domains:["moikrug.ru"]}},Kb={internal:jb,unknown:Hb,search:Vb,email:Wb,social:Gb};var Yb=ic||{};function ff(o){return Object.entries(o).filter(([r])=>o.hasOwnProperty(r))}var df=function(){let o={};return ff(Yb).forEach(([r,i])=>{i&&ff(i).forEach(([a,c])=>{c?.domains&&c.domains.forEach(u=>{var d;o[u]={name:a,medium:r,params:(d=c.parameters)===null||d===void 0?void 0:d.map(b=>b.toLowerCase())}})})}),o}();function sc(o,r=""){var i;let a={known:!1,referrer:void 0,medium:"unknown",searchParameter:void 0,searchTerm:void 0,uri:new URL(o)};if(!["http:","https:"].includes(a.uri.protocol))return a;try{if(new URL(r).hostname===a.uri.hostname)return a.medium="internal",a}catch{}let c=ac(a.uri.hostname,a.uri.pathname)||ac(a.uri.hostname,void 0);return c?(a.referrer=c.name,a.medium=c.medium,c.medium==="search"&&!((i=c.params)===null||i===void 0)&&i.length&&a.uri.searchParams.forEach((u,d)=>{var b;!((b=c.params)===null||b===void 0)&&b.includes(d.toLowerCase())&&(a.searchParameter=d,a.searchTerm=u)}),a):(a.medium="unknown",a)}function ac(o,r){let i=df[o+(r||"")];if(!i&&r){let a=r.split("/");a.length>1&&(i=df[o+"/"+a[1]])}if(!i){let a=o.indexOf(".");return a===-1?void 0:ac(o.slice(a+1),r)}return i}function mf(){let o=(0,pf.fromPairs)(["referrer","initial_referrer","visitor","utm_source","utm_medium","utm_campaign"].map(r=>[r,gf("b_"+r)]).map(([r,i])=>[r,i||void 0]));return Object.assign(Object.assign({},o),{attribution:o.referrer?sc(o.referrer):void 0,initial_attribution:o.initial_referrer?sc(o.initial_referrer):void 0})}function cc(o){return JSON.parse(JSON.stringify(o,(r,i)=>i===1/0?"Infinity":i),(r,i)=>i==="Infinity"?1/0:i)}var Ii,$b=new Uint8Array(16);function uc(){if(!Ii&&(Ii=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ii))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ii($b)}var rt=[];for(let o=0;o<256;++o)rt.push((o+256).toString(16).slice(1));function wf(o,r=0){return rt[o[r+0]]+rt[o[r+1]]+rt[o[r+2]]+rt[o[r+3]]+"-"+rt[o[r+4]]+rt[o[r+5]]+"-"+rt[o[r+6]]+rt[o[r+7]]+"-"+rt[o[r+8]]+rt[o[r+9]]+"-"+rt[o[r+10]]+rt[o[r+11]]+rt[o[r+12]]+rt[o[r+13]]+rt[o[r+14]]+rt[o[r+15]]}var Xb=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lc={randomUUID:Xb};function Qb(o,r,i){if(lc.randomUUID&&!r&&!o)return lc.randomUUID();o=o||{};let a=o.random||(o.rng||uc)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,r){i=i||0;for(let c=0;c<16;++c)r[i+c]=a[c];return r}return wf(a)}var gc=Qb;function hf(){return gc().replace(/-/g,"")}function vf(){let o=hf();try{return typeof sessionStorage<"u"&&(o=sessionStorage.getItem("builder.sessionId")||o,sessionStorage.setItem("builder.sessionId",o)),o}catch{return o}}var Zb={},Pr=new yf.UAParser(navigator.userAgent);var on=class{constructor(r){return this.name="default-data",this.type=ve.ENRICHMENT,this.options={},this.options=r,this}async setup(r){}async execute(r){return r.event_properties=this.setDataDefaults(r.event_properties),r}setDataDefaults(r){var i,a;let c=mf(),u=r;return cc((0,Oi.omit)(u,"roles","nonInteraction","line","isDev","from","filename","error","column")),u=(0,Oi.defaults)(u,{app:"app",host:location.hostname,url:location.href,sessionId:vf(),userId:this.options.userId,userEmail:this.options.userEmail,organizationId:this.options.organizationId,rootOrganizationId:this.options.rootOrganizationId,organizationType:this.options.organizationType,userLoggedIn:this.options.userLoggedIn,accountType:this.options.accountType,parentFrameUrl:window.top!==window&&document.referrer,timestamp:Date.now(),date:new Date().toUTCString(),user:Zb,sessionUrl:this.options.fullStorySessionUrl,utmMedium:c.utm_medium,utmCampaign:c.utm_campaign,utmSource:c.utm_source,referrer:c.referrer,initialReferrer:c.initial_referrer,attributionBucket:(i=c.attribution)===null||i===void 0?void 0:i.medium,initialAttributionBucket:(a=c.initial_attribution)===null||a===void 0?void 0:a.medium,visitorId:c.visitor,contentId:this.options.contentId,model:this.options.model,modelName:this.options.modelName,userAgent:navigator.userAgent,browser:Pr.getBrowser().name,browserVersion:Pr.getBrowser().version,os:Pr.getOS().name,osVersion:Pr.getOS().version,deviceType:Pr.getDevice().type,deviceVendor:Pr.getDevice().vendor}),u}};function fc(o,r,i={}){for(let a in o){let c=o[a],u=r?r+"."+a:a;c&&typeof c=="object"?fc(c,u,i):i[u]=c}return i}var rn=class{constructor(r={}){return this.name="internal-tracking",this.type=ve.DESTINATION,this.apiRoot="https://qa.builder.io",r?.apiRoot&&(this.apiRoot=r.apiRoot),this}async setup(r){}async execute(r){let i=r.event_type,a=r.event_properties,c=await fetch(\`\${this.apiRoot}/api/v1/event\`,{method:"POST",body:JSON.stringify({events:[{name:i,data:fc(a||{})}]}),headers:{"content-type":"application/json; charset=utf-8"}});return{event:r,code:c.status,message:"Tracking event sent"}}};var Zt=uf;var Vt=o=>{window.dispatchEvent(new CustomEvent("builderdevtools",{detail:{eventName:o}}))},bf=()=>{let o=new URL(window.location.href),r=o.hash,i=\`#\${$l}=\`,a="anonymous";r.startsWith(i)&&(a=r.slice(i.length),a&&(Jb(a),o.hash="",window.history.replaceState({},"",o.href))),Zt.isLoaded||(Zt.load({client:{apiKey:rc.production,configuration:{serverUrl:Zl}}}),Zt.client.add(new rn({apiRoot:"https://cdn.builder.io"})),Zt.client.add(new on({user_id:a,position:"dev-tools-menu"}))),Vt("init")};var Jb=o=>{if(typeof o=="string"&&o.length>0){let r=an();nn({...r,builderUserId:o})}},an=()=>{let o=localStorage.getItem(_f);if(o)try{let r=JSON.parse(o);return(!r.ctas||typeof r.ctas!="object")&&(r=nn({...r,ctas:{}})),r.menuOpenedTs&&(r=nn({...r,ctas:{...r.ctas,menuOpened:r.menuOpenedTs}}),delete r.menuOpenedTs),r}catch(r){console.error(r)}return nn({firstVisitTs:Date.now(),ctas:{},builderUserId:""})},nn=o=>{try{localStorage.setItem(_f,JSON.stringify(o))}catch(r){console.error(r)}return o},dc=o=>!!an().ctas[o],pc=o=>{let r=an();return nn({...r,ctas:{...r.ctas,[o]:Date.now()}})},_f="builderDevtools";function Ef(o){e_(o),t_(o),o_(o),r_(o)}function e_(o){let r=o.getElementById("input-register");r.addEventListener("change",async i=>{i.stopPropagation();let a=o.getElementById("input-name"),c=o.querySelector(".nav-cmp-input");c.classList.add("input-loading"),c.classList.remove("input-enabled");let u=a.dataset.id,d=a.dataset.prop,b=await ei({cmpId:u,name:d,registerInput:r.checked});Vt("registryUpdate"),vo(b),sn(o,u,d),zo(o,u),c.classList.remove("input-loading")})}function t_(o){o.getElementById("input-open-source").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation();let a=i.target,c=Ke.components.find(u=>u.id===a?.dataset.id);c&&Er({filePath:c.filePath})})}function o_(o){let r=o.getElementById("input-name"),i=r.closest(".ui-text-input"),a="",c;r.addEventListener("focus",u=>{clearTimeout(c),i.classList.remove("saved"),u.stopPropagation(),a=r.value}),r.addEventListener("blur",async u=>{if(u.stopPropagation(),clearTimeout(c),i.classList.remove("saved"),r.value!==a){if(r.value.trim().length<3){r.value=a;return}i.classList.add("saved"),c=setTimeout(()=>{i.classList.remove("saved")},3e3);let d=r.dataset.id,b=r.dataset.prop,T=await ei({cmpId:d,name:b,friendlyName:r.value});Vt("registryUpdate"),vo(T),sr(o),zo(o,d),sn(o,d,b)}}),r.addEventListener("keyup",u=>{u.stopPropagation(),clearTimeout(c),i.classList.remove("saved"),u.key==="Escape"?(r.value=a,r.blur()):u.key==="Enter"&&r.blur()})}function r_(o){let r=o.getElementById("input-type");r.addEventListener("change",async i=>{i.stopPropagation();let a=r.dataset.id,c=r.dataset.prop,u=await ei({cmpId:a,name:c,type:r.value});Vt("registryUpdate"),vo(u),sr(o),zo(o,a),sn(o,a,c)})}function sn(o,r,i){let a=Ke.components.find(h=>h.id===r);if(!a)return null;let c=a.inputs.find(h=>h.name===i);if(!c)return null;let u=o.querySelector(".nav-cmp-input");c.isRegistered?u.classList.add("input-enabled"):u.classList.remove("input-enabled");let d=o.getElementById("input-register");d.checked=!!c.isRegistered;let b=o.getElementById("cmp-input-title");b.innerText=a.name+": "+(c.friendlyName||c.name);let T=o.getElementById("input-open-source");T.innerText=\`Open \${a.displayFilePath}\`,T.dataset.id=a.id;let m=o.getElementById("cmp-prop-name");m.innerText=c.name;let g=o.getElementById("cmp-prop-type");g.innerText=ai(c.type);let w=o.getElementById("input-name");return w.dataset.id=a.id,w.dataset.prop=c.name,w.value=c.friendlyName||c.name,n_(o,a,c),c}function n_(o,r,i){let a=o.getElementById("input-type");a.dataset.id=r.id,a.dataset.prop=i.name,a.innerHTML="";let c=i.type,u=ti.includes(c),d=oi.includes(c),b=ri.includes(c),T=ni.includes(c),m=ii.includes(c);ag.forEach(g=>{let w=document.createElement("option");w.value=g.value,w.innerText=g.text,w.disabled=ti.includes(g.value)&&!u||oi.includes(g.value)&&!d||ri.includes(g.value)&&!b||ni.includes(g.value)&&!T||ii.includes(g.value)&&!m,a.appendChild(w)}),a.value=c}function xf(o){i_(o),a_(o),s_(o),u_(o),c_(o)}function i_(o){o.getElementById("cmp-register").addEventListener("change",i=>{i.stopPropagation(),ki(o,"update")})}async function ki(o,r){let i=o.querySelector(".nav-cmp-detail"),a=o.getElementById("cmp-error"),c=o.getElementById("cmp-register"),u=c.closest(".ui-switch");i.classList.remove("cmp-enabled"),c.checked&&i.classList.add("cmp-loading");try{let d=c.dataset.id,b;r==="load"?b=await tg({cmpId:d}):c.checked?(b=await og({cmpId:d}),Vt("registryUpdate"),Zt.interaction({type:"click",name:"register component",detail:d})):(b=await ng({cmpId:d}),Vt("registryUpdate"),Zt.interaction({type:"click",name:"unregister component",detail:d})),vo(b),sr(o);let T=zo(o,d);r==="update"&&T&&(c.checked?(i.classList.add("cmp-enabled"),Ga(o,\`<strong>\${T.name}</strong> is now registered in <strong>\${Ke.registryDisplayPath}</strong> and available for use in the Builder Visual Editor\`)):Ga(o,\`<strong>\${T.name}</strong> has been unregistered from <strong>\${Ke.registryDisplayPath}</strong> and removed from the Builder Visual Editor\`))}catch(d){console.error(d),a.innerHTML=\`<p class="error">Error loading components</p><p class="error">\${d.message||d}</p>\`,u.style.display="none"}i.classList.remove("cmp-loading")}function a_(o){let r=o.getElementById("cmp-name"),i=r.closest(".ui-text-input"),a="",c;r.addEventListener("focus",u=>{clearTimeout(c),i.classList.remove("saved"),u.stopPropagation(),a=r.value}),r.addEventListener("blur",async u=>{if(u.stopPropagation(),clearTimeout(c),i.classList.remove("saved"),r.value!==a){if(r.value.trim().length<3){r.value=a;return}i.classList.add("saved"),c=setTimeout(()=>{i.classList.remove("saved")},3e3);let d=r.dataset.id,b=await rg({cmpId:d,name:r.value});Vt("registryUpdate"),vo(b),sr(o),zo(o,d)}}),r.addEventListener("keyup",u=>{u.stopPropagation(),clearTimeout(c),i.classList.remove("saved"),u.key==="Escape"?(r.value=a,r.blur()):u.key==="Enter"&&r.blur()})}function zo(o,r){let i=Ke.components.find(g=>g.id===r);if(!i)return null;let a=o.getElementById("cmp-register"),c=o.getElementById("cmp-error"),u=a.closest(".ui-switch");u.style.display="",c.innerHTML="",a.dataset.id=i.id,a.checked=!!i.isRegistered;let d=o.querySelector(".nav-cmp-detail");i.isRegistered?d.classList.add("cmp-enabled"):d.classList.remove("cmp-enabled");let b=o.getElementById("cmp-name");b.dataset.id=i.id,b.value=i.name;let T=o.getElementById("cmp-open-source");T.innerText=\`Open \${i.displayFilePath}\`,T.dataset.id=i.id;let m=o.getElementById("cmp-detail-title");return m.innerText=\`\${i.name} Component\`,l_(o,i),i}function s_(o){o.getElementById("cmp-open-source").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation();let a=i.target,c=Ke.components.find(u=>u.id===a?.dataset.id);c&&(Er({filePath:c.filePath}),Zt.interaction({type:"click",name:"open component source file",detail:c.filePath}))})}function c_(o){o.getElementById("btn-inputs-reload").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation(),ki(o,"load")})}function u_(o){o.getElementById("cmp-detail-inputs").addEventListener("click",i=>{i.preventDefault(),i.stopPropagation();let c=i.target?.closest("button"),u=c?.dataset.id,d=c?.dataset.propName;sn(o,u,d)&&no(o,"nav-cmp-input")})}function l_(o,r){let i=o.getElementById("cmp-detail-inputs"),a=r.inputs.filter(c=>!c.hideFromUI);a.length>0?(i.innerHTML="",a.forEach(c=>{i.appendChild(g_(r,c))})):i.innerHTML=\`<p class="cmp-inputs-empty">\${r.name} component does not have any props</p>\`}function g_(o,r){let i=document.createElement("button");i.dataset.id=o.id,i.dataset.propName=r.name,i.className="cmp-input-item nav-list-item",r.isRegistered||i.classList.add("cmp-input-item-unregistered");let a=document.createElement("span"),c=ai(r.type);a.className=\`nav-list-item-icon input-icon input-icon-\${c}\`,i.appendChild(a);let u=document.createElement("span");u.innerText=r.friendlyName||r.name,i.appendChild(u);let d=document.createElement("span");return d.className="nav-list-item-note",d.innerText=r.type,i.appendChild(d),i}function Sf(o){o.getElementById("open-builder-registry").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),Er({filePath:Ke.registryPath,line:1,column:1})}),o.getElementById("cmp-list").addEventListener("click",a=>{a.preventDefault(),a.stopPropagation();let u=a.target?.dataset.id,d=Ke.components.find(b=>b.id===u);if(d){let b=o.querySelector(".nav-cmp-detail .section-content");b.scrollTop=0,zo(o,d.id),no(o,"nav-cmp-detail"),d.isRegistered&&ki(o,"load")}})}function If(o){let r=eg();f_(o,r)}async function f_(o,r){let i=o.getElementById("cmp-list");i.classList.add("nav-loading");let a=o.getElementById("open-builder-registry");try{let c=await r;vo(c),sr(o),Ke.registryDisplayPath?a.innerText="Open "+c.registryDisplayPath:a.innerText=""}catch(c){i.innerHTML=\`<p class="error">Error loading components</p><p class="error">\${c.message||c}</p>\`,console.error(c)}i.classList.remove("nav-loading")}function sr(o){let r=o.getElementById("cmp-list");r.innerHTML="";let i=Ke.components.filter(c=>c.isRegistered),a=Ke.components.filter(c=>!c.isRegistered);Tf(r,"Registered Components",i),Tf(r,"Unregistered Components",a)}function Tf(o,r,i){if(i.length>0){let a=document.createElement("h4");a.innerText=r,o.appendChild(a),i.forEach(c=>{o.appendChild(d_(c))})}}function d_(o){let r=document.createElement("button");r.dataset.id=o.id,r.className="cmp-item nav-list-item",o.isRegistered&&r.classList.add("registered");let i=document.createElement("span");i.className="nav-list-item-icon",o.image&&(i.style.backgroundImage=\`url(\${o.image})\`),r.appendChild(i);let a=document.createElement("span");a.className="nav-list-item-name",a.innerText=o.name,r.appendChild(a);let c=document.createElement("span");return c.className="nav-list-item-note",c.innerText=o.displayFilePath||"",r.appendChild(c),r}var Of=o=>{o.querySelector(".menu-toggle").addEventListener("click",r=>{r.preventDefault(),r.stopPropagation(),jo(o,!0)}),o.getElementById("close").addEventListener("click",r=>{r.preventDefault(),r.stopPropagation(),jo(o,!1)}),o.getElementById("hit").addEventListener("click",r=>{r.preventDefault(),r.stopPropagation(),jo(o,!1)}),Vl(o),o.addEventListener("click",r=>r.stopPropagation()),p_(o)},jo=(o,r)=>{r?(document.body.classList.add("builder-no-scroll"),o.host.classList.add("show-builder-menu"),Vt("menuOpen"),pc("menuOpened"),Zt.interaction({type:"click",name:"open dev-tools menu"})):(document.body.classList.remove("builder-no-scroll"),o.host.classList.remove("show-builder-menu"),Vt("menuClose"),setTimeout(()=>{no(o,"nav-home")},300)),ig(r)},p_=o=>{if(!dc("menuOpened")){m_(o);return}let r=an();if(!((Date.now()-r.firstVisitTs)/1e3/60<10)&&!dc("feedback")){pc("feedback"),w_(o);return}},m_=o=>{let r=document.createElement("a");r.classList.add("menu-toggle-tooltip"),r.href="#open-dev-tools",r.innerHTML=\`
30
30
  <div class="menu-toggle-tooltip-content">
31
31
  <h3>Open Builder Devtools</h3>
32
32
  <p>Start registering your components</p>
@@ -36,7 +36,7 @@ function print() { __p += __j.call(arguments, '') }
36
36
  <h3>How's Devtools working for you?</h3>
37
37
  <p>We'd love your feedback!</p>
38
38
  </div>
39
- \`,o.appendChild(r),setTimeout(()=>{r.classList.add("menu-toggle-tooltip-show"),r.addEventListener("click",()=>{r.classList.remove("menu-toggle-tooltip-show")})},1e3)};function kf(o){o.getElementById("go-to-builder").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),jo(o,!1),window.open(Gl(),"builder")}),o.getElementById("components-link").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation();let b=o.querySelector(".nav-cmp-list .section-content");b.scrollTop=0,no(o,"nav-cmp-list"),If(o)}),o.getElementById("settings-link").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),no(o,"nav-settings")}),o.getElementById("add-page-link").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),jo(o,!1),window.open(Wr(),"builder")}),o.getElementById("import-from-figma").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),jo(o,!1),window.open("https://www.figma.com/community/plugin/747985167520967365/builder-io-ai-powered-figma-to-code-react-vue-tailwind-more")})}function Pf(o){let r=o.getElementById("enable-edit");r.addEventListener("change",i=>{i.stopPropagation(),Ya(r.checked)}),r.checked=Qn(),Ya(r.checked)}var Pi=class extends HTMLElement{constructor(){super()}connectedCallback(){let r=this.attachShadow({mode:"open"});r.innerHTML=\`<style>*,*:before,*:after{box-sizing:border-box}:host{--background-color: rgba(40, 40, 40, 1);--primary-color: rgba(72, 161, 255, 1);--primary-color-subdued: rgb(72, 161, 255, .6);--primary-color-highlight: rgb(126, 188, 255);--primary-contrast-color: white;--edit-color: #1d74e2;--edit-color-highlight: #1c6bd1;--edit-color-alpha: rgb(72, 161, 255, .15);--error-color: #ff2b55;--text-color: white;--text-color-highlight: white;--border-color: #454545;--button-background-color-hover: rgba(255, 255, 255, .1);--menu-width: 320px;--transition-time: .15s;--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";font-family:var(--font-family);line-height:1.6}button{cursor:pointer;color:var(--text-color);-webkit-tap-highlight-color:transparent}input,select,button{font-family:var(--font-family)}.menu-toggle{position:absolute;right:0;bottom:0;pointer-events:auto;padding:8px;background:transparent;border:none;appearance:none}.menu-toggle div{position:relative;width:64px;height:64px;pointer-events:none;border-radius:50%;background:black;border:1px solid white;box-shadow:#00000054 0 0 8px}.menu-toggle:hover div{background-color:var(--background-color);border:1px solid rgb(220,220,220)}.menu-toggle svg{position:absolute;top:15px;left:15px;width:33px;height:32px}div.highlight-bg{position:absolute;top:-1px;left:-1px;background-color:#1a1a1a;pointer-events:none;transition:all .4s ease-out;opacity:0}.menu-toggle-highlight-no-transition div.highlight-bg{transition:none}.menu-toggle-highlight div.highlight-bg{opacity:1}.menu-toggle-tooltip{position:absolute;bottom:0;right:0;width:382px;height:72px;padding:0;text-align:left;appearance:none;background-color:transparent;border:none;pointer-events:none;transform:translate3d(320px,0,0);opacity:0;transition:all .15s ease-in-out;color:#fff}.menu-toggle-tooltip.menu-toggle-tooltip-show{pointer-events:auto;opacity:1;transform:translateZ(0)}.menu-toggle-tooltip-content{position:absolute;inset:0 95px 10px 0;padding:8px 12px;background-color:var(--primary-color);box-shadow:#00000054 0 0 20px;border-radius:2px}.menu-toggle-tooltip-content:before{content:"";position:absolute;bottom:15px;right:-6px;width:30px;height:30px;background-color:var(--primary-color);transform:rotate(45deg)}.menu-toggle-tooltip:hover .menu-toggle-tooltip-content,.menu-toggle-tooltip:hover .menu-toggle-tooltip-content:before{background-color:var(--primary-color-highlight)}.menu-toggle-tooltip-content h3{margin:0;font-size:16px}.menu-toggle-tooltip-content p{margin:0;font-size:12px}section{position:absolute;display:grid;grid-template-rows:64px auto 64px;top:0;left:0;width:100%;height:100%;padding:0;pointer-events:none}.section-content{margin:0;padding:0 0 10px;font-weight:300;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;overflow-y:auto}.section-content .error{color:var(--error-color);font-weight:700}section a{text-decoration:none;color:var(--text-color)}section h3,section p{margin-left:16px;margin-right:16px}.info{font-size:12px}ul.list{list-style:none;padding:0;margin:0}ul.list li{display:block;padding:0;margin:0}ul.list a,ul.list button{display:grid;grid-template-columns:24px auto;grid-gap:16px;padding:12px;margin:8px 0;border:none;background:transparent;appearance:none;width:100%;font-weight:300;text-align:left;text-decoration:none;color:var(--text-color)}ul.list a:hover,ul.list button:hover{text-decoration:none;color:var(--text-color);background-color:var(--button-background-color-hover)}ul.list a span,ul.list button span{display:block;font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}header{position:relative;display:grid;grid-template-columns:44px 1fr;gap:8px;padding-left:8px;border-bottom:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}header>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-home header>div{margin-right:56px}header h2{margin:7px 0 0;font-size:18px;font-weight:500;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p{margin:2px 0 0;font-size:12px;font-weight:300;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button{display:block;margin:0;padding:0;width:100%;font-size:12px;font-weight:300;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button:hover{text-decoration:underline;color:var(--primary-color)}.builder-logo{margin:12px 0 0 8px}#close{display:block;position:absolute;appearance:none;background:transparent;border:none;border-radius:50%;margin:0;padding:0;right:4px;top:8px;width:48px;height:48px;z-index:1;opacity:.7}#close:hover{opacity:1;background-color:var(--button-background-color-hover)}#close svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}.back-button{position:relative;display:block;margin:7px 0 0 -2px;width:48px;height:48px;background:transparent;border:none;appearance:none;border-radius:50%}.back-button:hover{background-color:var(--button-background-color-hover)}.back-button svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}footer{border-top:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}section.nav-cmp-list{grid-template-rows:64px auto 120px}footer a{text-decoration:underline;color:var(--primary-color)}footer a:hover{color:var(--primary-color);text-decoration:none}.nav-list{padding:2px 0}.nav-list.nav-loading{pointer-events:none}.nav-list h4{margin:8px 8px 8px 10px;font-size:14px;font-weight:600}.nav-list .nav-list-item+h4{margin-top:30px}.nav-list-item{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;margin:2px 0;padding:8px 28px 8px 46px;width:100%;font-size:14px;font-weight:300;text-align:left;border:none;background:transparent;appearance:none}.nav-list-item:hover{background-color:var(--button-background-color-hover)}.nav-list-item-icon{position:absolute;top:4px;left:10px;width:24px;height:24px;object-fit:contain;filter:invert(100%);background-size:24px 24px;background-repeat:no-repeat;background-position:center center}.nav-list-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.nav-list-item:after{display:block;position:absolute;content:"";background-image:url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L1 13" stroke="%23F2F2F2" stroke-opacity="0.5" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');background-repeat:no-repeat;background-position:12px 9px;top:0;right:0;width:32px;height:32px;pointer-events:none}.nav-list-item-note{opacity:0;font-size:12px;padding-top:1px;text-align:right}.nav-list-item:hover .nav-list-item-note{opacity:.5}.ui-select{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-select h3{margin:0;font-size:14px;font-weight:500}.ui-select p{margin:8px 0;font-size:12px;font-weight:300}.ui-select .select{position:relative;margin:8px 0;border-radius:4px;padding:0;line-height:1.1;overflow:hidden;border:1px solid var(--border-color)}.ui-select select{appearance:none;background-color:transparent;border:none;outline:none;padding:8px 32px 8px 8px;margin:0;width:100%;font-size:14px;cursor:pointer;text-overflow:ellipsis;opacity:.6;color:var(--text-color)}.ui-select .select:after{content:"";top:6px;right:5px;width:24px;height:24px;position:absolute;background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23F2F2F2" d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>');background-repeat:no-repeat;background-position:center;pointer-events:none;opacity:.6}.ui-select .select:hover{border-color:var(--primary-color-subdued)}.ui-text-input .select:focus-within{border-color:var(--primary-color)}.ui-text-input .select:focus-within select{opacity:1}.spinner:after{content:" ";display:block;width:32px;height:32px;margin:0 auto;pointer-events:auto;border-radius:50%;border:3px solid var(--text-color);border-color:var(--text-color) transparent var(--text-color) transparent;animation:spinner .75s linear infinite}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ui-switch{display:grid;grid-template-columns:auto 48px;grid-gap:20px;margin:8px 0 16px;padding:8px 0 8px 16px;cursor:pointer}.ui-switch>*{pointer-events:none}.ui-switch input{display:none;visibility:hidden}.ui-switch .switcher{display:inline-block;border-radius:100px;width:35px;height:14px;background-color:#ccc;position:relative;top:6px;vertical-align:middle;cursor:pointer}.ui-switch input[type=checkbox]:checked+.switcher{background-color:var(--primary-color-subdued)}.ui-switch .switcher:before{content:"";display:block;width:20px;height:20px;background-color:var(--text-color);box-shadow:0 1px 3px #0009;border-radius:50%;position:absolute;top:-3px;left:0;margin-right:0;transition:all .15s}.ui-switch input[type=checkbox]:checked+.switcher:before{left:100%;margin-left:-20px;background-color:var(--primary-color)}.ui-switch h3{margin:0;font-size:14px;font-weight:500}.ui-switch p{margin:4px 0 0;font-size:12px;font-weight:300}.ui-text-input{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-text-input h3{margin:0;font-size:14px;font-weight:500}.ui-text-input p{margin:8px 0;font-size:12px;font-weight:300}.ui-text-input .input{position:relative;margin:8px 0;border:1px solid var(--border-color);border-radius:4px;background:transparent;padding:2px;overflow:hidden}.ui-text-input input{display:block;width:235px;font-size:14px;border:none;background:transparent;padding:6px;appearance:none;color:var(--text-color);opacity:.6;outline:none}.ui-text-input .input:hover{border-color:var(--primary-color-subdued)}.ui-text-input .input:focus-within{border-color:var(--primary-color)}.ui-text-input .input:focus-within input{opacity:1}.ui-text-input .input:after{content:"";position:absolute;top:5px;right:14px;width:8px;height:17px;border:2px solid rgba(51,181,51,1);border-top:none;border-left:none;transform:rotate(45deg);opacity:0;transition:opacity 80ms ease-in-out;pointer-events:none}.ui-text-input.saved .input:after{opacity:1}.ui-toast{position:fixed;bottom:8px;left:8px;right:8px;padding:6px 12px;font-size:14px;border-radius:4px;transform:translate3d(0,150%,0);opacity:0;transition:all var(--transition-time) ease-in-out;background-color:var(--primary-color-subdued);color:var(--text-color);pointer-events:none}.ui-toast.ui-toast-show{transform:translateZ(0);opacity:1;pointer-events:auto}[data-view=nav-home] .nav-home .section-content,[data-view=nav-cmp-list] .nav-cmp-list .section-content,[data-view=nav-cmp-detail] .nav-cmp-detail .section-content,[data-view=nav-cmp-input] .nav-cmp-input .section-content,[data-view=nav-settings] .nav-settings .section-content{transform:translateZ(0);pointer-events:auto}[data-view=nav-home] .nav-home header,[data-view=nav-home] .nav-home footer,[data-view=nav-cmp-list] .nav-cmp-list header,[data-view=nav-cmp-list] .nav-cmp-list footer,[data-view=nav-cmp-detail] .nav-cmp-detail header,[data-view=nav-cmp-detail] .nav-cmp-detail footer,[data-view=nav-cmp-input] .nav-cmp-input header,[data-view=nav-cmp-input] .nav-cmp-input footer,[data-view=nav-settings] .nav-settings header,[data-view=nav-settings] .nav-settings footer{opacity:1;pointer-events:auto}[data-view=nav-cmp-list] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-home .section-content,[data-view=nav-cmp-input] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-cmp-detail .section-content,[data-view=nav-settings] .nav-home .section-content{transform:translate3d(-105%,0,0)}.cmp-item .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.83 16.809C20.94 16.561 21 16.289 21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L7.988 3.99001M5.441 5.44801L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L18.544 18.56" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.532 10.538L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.27002 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 3L21 21" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');opacity:.3}.cmp-item.registered .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /></svg>');opacity:.8}#cmp-detail{position:relative}.cmp-loading{pointer-events:none!important}.cmp-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.cmp-loading .cmp-loading-icon{opacity:.5}.cmp-cover{position:absolute;top:160px;left:0;width:100%;height:100vh;background:var(--background-color);transform:translateZ(0);pointer-events:none;display:none}[data-view=nav-cmp-detail] .cmp-cover{display:block;pointer-events:auto}.cmp-enabled .cmp-cover{transform:translate3d(0,105%,0);pointer-events:none}.section-ready .cmp-cover{transition:all var(--transition-time) ease-in-out}.cmp-detail-inputs-container{margin:8px 0 16px;padding:0}.cmp-detail-inputs-container h3{margin:0 0 6px;padding-left:16px;padding-right:8px;font-size:14px;font-weight:500;display:flex;justify-content:space-between;align-items:center}.cmp-detail-inputs-reload{font-weight:300;font-size:.9em;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmp-detail-inputs-reload:hover{text-decoration:underline;color:var(--primary-color)}.cmp-detail-inputs-container .cmp-inputs-empty{padding:0;margin-top:12px;font-size:12px;font-weight:300;opacity:.5;font-style:italic}.cmp-detail-inputs-container .nav-list-item-icon{opacity:.8;background-size:20px 20px;background-position:4px center}.input-icon{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path></svg>')}.input-icon-array{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-6a2 2 0 1 1 4 0v6"></path> <path d="M10 13h4"></path></svg>')}.input-icon-boolean{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16h2a2 2 0 1 0 0 -4h-2h2a2 2 0 1 0 0 -4h-2v8z"></path></svg>')}.input-icon-number{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-8l4 8v-8"></path></svg>')}.input-icon-object{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M12 8a2 2 0 0 1 2 2v4a2 2 0 1 1 -4 0v-4a2 2 0 0 1 2 -2z"></path></svg>')}.input-icon-string{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 15a1 1 0 0 0 1 1h2a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1h-2a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1"></path></svg>')}.cmp-input-item-unregistered{opacity:.4}.cmp-input-item-unregistered .input-icon:after{content:"";position:absolute;top:11px;left:4px;width:20px;height:2px;background-color:#000;transform:rotate(-45deg)}.cmp-prop-info{border-bottom:1px solid var(--border-color)}.cmp-input-readonly{margin:16px 0;padding:0 16px;display:grid;grid-template-columns:50% 50%;gap:12px}.cmp-input-readonly h3{margin:0;font-size:14px;font-weight:500}.cmp-input-readonly span{margin-top:2px;font-size:12px;font-weight:300;opacity:.8}.cmp-input-detail{margin:16px 0}.cmp-input-detail a{color:var(--primary-color);text-decoration:none}.cmp-input-detail a:hover{text-decoration:underline}.input-cover{position:absolute;top:175px;left:0;width:100%;height:100%;background:var(--background-color);transform:translateZ(0);transition:all var(--transition-time) ease-in-out;pointer-events:auto}.input-enabled .input-cover{transform:translate3d(0,105%,0);pointer-events:none}.input-loading-icon{position:absolute;display:inline-block;top:190px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.input-loading .input-loading-icon{opacity:.5}:host{position:fixed;inset:0;z-index:2147483646;user-select:none;pointer-events:none;color:var(--text-color)}aside{position:absolute;top:0;right:0;width:var(--menu-width);height:100%;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;background:var(--background-color);box-shadow:#000000c9 5px 0 20px;overflow:hidden;z-index:1}:host(.show-builder-menu) aside{pointer-events:auto;transform:translateZ(0)}#hit{position:absolute;inset:0;display:none}:host(.show-builder-menu) #hit{display:block;pointer-events:auto}#version{position:absolute;bottom:6px;right:6px;font-size:8px;color:#9b9b9b}</style><div id="hit"></div> <aside data-view="nav-home"> <section class="nav-home"> <header> <svg class="builder-logo" viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> <div> <h2 class="builder-home-title">Builder Devtools</h2> <p><button id="go-to-builder">Go to Builder</button></p> </div> <button id="close" aria-label="Close Menu"> <svg viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M18 6l-12 12" /> <path d="M6 6l12 12" /> </svg> </button> </header> <div class="section-content"> <ul class="list"> <li> <button id="components-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Components</span> </button> </li> <li> <button id="settings-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.325 4.317C10.751 2.561 13.249 2.561 13.675 4.317C13.7389 4.5808 13.8642 4.82578 14.0407 5.032C14.2172 5.23822 14.4399 5.39985 14.6907 5.50375C14.9414 5.60764 15.2132 5.65085 15.4838 5.62987C15.7544 5.60889 16.0162 5.5243 16.248 5.383C17.791 4.443 19.558 6.209 18.618 7.753C18.4769 7.98466 18.3924 8.24634 18.3715 8.51677C18.3506 8.78721 18.3938 9.05877 18.4975 9.30938C18.6013 9.55999 18.7627 9.78258 18.9687 9.95905C19.1747 10.1355 19.4194 10.2609 19.683 10.325C21.439 10.751 21.439 13.249 19.683 13.675C19.4192 13.7389 19.1742 13.8642 18.968 14.0407C18.7618 14.2172 18.6001 14.4399 18.4963 14.6907C18.3924 14.9414 18.3491 15.2132 18.3701 15.4838C18.3911 15.7544 18.4757 16.0162 18.617 16.248C19.557 17.791 17.791 19.558 16.247 18.618C16.0153 18.4769 15.7537 18.3924 15.4832 18.3715C15.2128 18.3506 14.9412 18.3938 14.6906 18.4975C14.44 18.6013 14.2174 18.7627 14.0409 18.9687C13.8645 19.1747 13.7391 19.4194 13.675 19.683C13.249 21.439 10.751 21.439 10.325 19.683C10.2611 19.4192 10.1358 19.1742 9.95929 18.968C9.7828 18.7618 9.56011 18.6001 9.30935 18.4963C9.05859 18.3924 8.78683 18.3491 8.51621 18.3701C8.24559 18.3911 7.98375 18.4757 7.752 18.617C6.209 19.557 4.442 17.791 5.382 16.247C5.5231 16.0153 5.60755 15.7537 5.62848 15.4832C5.64942 15.2128 5.60624 14.9412 5.50247 14.6906C5.3987 14.44 5.23726 14.2174 5.03127 14.0409C4.82529 13.8645 4.58056 13.7391 4.317 13.675C2.561 13.249 2.561 10.751 4.317 10.325C4.5808 10.2611 4.82578 10.1358 5.032 9.95929C5.23822 9.7828 5.39985 9.56011 5.50375 9.30935C5.60764 9.05859 5.65085 8.78683 5.62987 8.51621C5.60889 8.24559 5.5243 7.98375 5.383 7.752C4.443 6.209 6.209 4.442 7.753 5.382C8.753 5.99 10.049 5.452 10.325 4.317Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M9 12C9 12.7956 9.31607 13.5587 9.87868 14.1213C10.4413 14.6839 11.2044 15 12 15C12.7956 15 13.5587 14.6839 14.1213 14.1213C14.6839 13.5587 15 12.7956 15 12C15 11.2044 14.6839 10.4413 14.1213 9.87868C13.5587 9.31607 12.7956 9 12 9C11.2044 9 10.4413 9.31607 9.87868 9.87868C9.31607 10.4413 9 11.2044 9 12Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Settings</span> </button> </li> <li> <button id="add-page-link"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M14 3v4a1 1 0 0 0 1 1h4" /> <path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /> <path d="M12 11l0 6" /> <path d="M9 14l6 0" /> </svg> <span>Add Builder Page</span> </button> </li> <li> <button id="import-from-figma"> <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-figma" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M15 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" /> <path d="M6 3m0 3a3 3 0 0 1 3 -3h6a3 3 0 0 1 3 3v0a3 3 0 0 1 -3 3h-6a3 3 0 0 1 -3 -3z" /> <path d="M9 9a3 3 0 0 0 0 6h3m-3 0a3 3 0 1 0 3 3v-15" /> </svg> <span>Import From Figma</span> </button> </li> </ul> </div> <footer> <ul class="list"> <li> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdqZcJpRtm_Ia5DTHP6SDY9Xa6LID3KiTjRWkjMzWyJRUtSHw/viewform" target="_blank" > <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M11.013 17.0114L10.013 18.0114L2.513 10.5834C2.0183 10.102 1.62864 9.52342 1.36854 8.88404C1.10845 8.24466 0.983558 7.55836 1.00173 6.86834C1.01991 6.17832 1.18076 5.49954 1.47415 4.87474C1.76755 4.24994 2.18713 3.69266 2.70648 3.23799C3.22583 2.78331 3.8337 2.4411 4.49181 2.23289C5.14991 2.02468 5.844 1.95499 6.53036 2.02821C7.21673 2.10143 7.8805 2.31596 8.47987 2.65831C9.07925 3.00066 9.60124 3.46341 10.013 4.01741C10.8086 2.95654 11.9931 2.2552 13.3059 2.06766C14.6186 1.88012 15.9521 2.22176 17.013 3.01741C18.0739 3.81306 18.7752 4.99755 18.9627 6.3103C19.1503 7.62305 18.8086 8.95654 18.013 10.0174" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M18.2006 19.8175L16.0286 20.9555C15.9642 20.989 15.8917 21.004 15.8192 20.9987C15.7467 20.9934 15.6771 20.9681 15.6182 20.9256C15.5593 20.8831 15.5134 20.825 15.4855 20.7579C15.4577 20.6907 15.4491 20.6172 15.4606 20.5455L15.8756 18.1345L14.1186 16.4275C14.0662 16.3768 14.0291 16.3123 14.0115 16.2416C13.9939 16.1708 13.9966 16.0965 14.0192 16.0271C14.0418 15.9578 14.0835 15.8962 14.1394 15.8494C14.1954 15.8026 14.2634 15.7725 14.3356 15.7625L16.7636 15.4105L17.8496 13.2175C17.8821 13.1521 17.9322 13.0972 17.9942 13.0588C18.0562 13.0204 18.1277 13 18.2006 13C18.2736 13 18.3451 13.0204 18.4071 13.0588C18.4691 13.0972 18.5191 13.1521 18.5516 13.2175L19.6376 15.4105L22.0656 15.7625C22.1377 15.7728 22.2054 15.8031 22.2611 15.85C22.3168 15.8968 22.3583 15.9583 22.3809 16.0275C22.4034 16.0967 22.4062 16.1708 22.3888 16.2415C22.3715 16.3122 22.3347 16.3766 22.2826 16.4275L20.5256 18.1345L20.9396 20.5445C20.9521 20.6163 20.9441 20.6902 20.9166 20.7578C20.8891 20.8254 20.8433 20.8839 20.7842 20.9267C20.7252 20.9695 20.6553 20.9949 20.5825 21C20.5098 21.005 20.4371 20.9896 20.3726 20.9555L18.2006 19.8175Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Give Feedback</span> </a> </li> </ul> <div id="version"></div> </footer> </section> <section class="nav-cmp-list"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2>Custom Components</h2> <p> <button id="open-builder-registry"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-list" class="cmp-list nav-list"></div> </div> <footer> <p class="info"> Expand on Builder's selection of built-in blocks by <a target="_blank" href="https://www.builder.io/c/docs/custom-components-intro" >registering components</a > from your codebase. This way, teammates can drag and drop your components within Builder's Visual Editor just like any other block. </p> </footer> </section> <section class="nav-cmp-detail"> <header> <button class="back-button" data-back="nav-cmp-list"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-detail-title"></h2> <p> <button id="cmp-open-source"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-error"></div> <label class="ui-switch"> <div> <h3>Register Component</h3> <p> Registers this component so it can be used within Builder Visual CMS </p> </div> <input type="checkbox" role="switch" id="cmp-register" /> <span class="switcher"></span> </label> <div id="cmp-detail"> <label class="ui-text-input"> <h3>Component Name</h3> <div class="input"> <input type="text" id="cmp-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="2" maxlength="30" required placeholder="e.g. My Counter" /> </div> <p> Unique name to identify this custom component within Builder. Press ESC to cancel </p> </label> <div class="cmp-detail-inputs-container"> <h3> <span>Builder Inputs (Props)</span> <button class="cmp-detail-inputs-reload" id="btn-inputs-reload"> Reload </button> </h3> <div id="cmp-detail-inputs"></div> </div> </div> </div> <div class="cmp-cover"></div> <div class="cmp-loading-icon spinner"></div> </section> <section class="nav-cmp-input"> <header> <button class="back-button" data-back="nav-cmp-detail"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-input-title"></h2> <p> <button id="input-open-source"></button> </p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable Input</h3> <p>Add this component prop as a Builder input</p> </div> <input type="checkbox" role="switch" id="input-register" /> <span class="switcher"></span> </label> <div class="cmp-prop-info"> <div class="cmp-input-readonly"> <h3>Prop Name</h3> <span id="cmp-prop-name"></span> </div> <div class="cmp-input-readonly"> <h3>Prop Type</h3> <span id="cmp-prop-type"></span> </div> </div> <div class="cmp-input-detail"> <label class="ui-text-input"> <h3>Builder Input Name</h3> <div class="input"> <input type="text" id="input-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="1" maxlength="30" required placeholder="e.g. Text" /> </div> <p> Friendly name to identify this component prop as a Builder input. Press ESC to cancel </p> </label> <label class="ui-select"> <h3>Builder Input Type</h3> <div class="select"> <select id="input-type"></select> </div> <p> Correlate to what editing UI is appropriate for this Builder input. <a href="https://www.builder.io/c/docs/custom-components-input-types" target="_blank" >Read more about input types.</a > </p> </label> </div> <div class="input-cover"></div> <div class="input-loading-icon spinner"></div> </div> </section> <section class="nav-settings"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2>Settings</h2> <p>Configure Builder's Devtools</p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable edit button in UI</h3> <p>Enables the edit button so you can edit content in Builder</p> </div> <input type="checkbox" role="switch" id="enable-edit" /> <span class="switcher"></span> </label> </div> </section> <div class="ui-toast" id="toast"></div> </aside> <button class="menu-toggle" aria-label="Toggle Builder Devtools"> <div> <div class="highlight-bg"></div> <svg viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> </div> </button>\`,Of(r),kf(r),Sf(r),xf(r),Ef(r),Pf(r),this.setAttribute("aria-hidden","true"),r.getElementById("version").textContent="v0.2.23"}highlightOpener(){let r=this.shadowRoot.querySelector(".menu-toggle");r.classList.add("menu-toggle-highlight"),r.classList.add("menu-toggle-highlight-no-transition"),setTimeout(()=>{r.classList.remove("menu-toggle-highlight-no-transition"),setTimeout(()=>{r.classList.remove("menu-toggle-highlight")},20)},20)}};var h_=\`<style>*,*:before,*:after{box-sizing:border-box}html,body,:host{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:2147483646;margin:0;padding:0;line-height:1.8;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";background-color:#252525;color:#fff;transition:opacity .25s ease-in-out}:host([aria-hidden="true"]){opacity:0;pointer-events:none}main{position:absolute;top:0;left:0;width:100%;height:100vh}h1{margin-top:0;font-size:24px;font-weight:300;line-height:1.4}p{margin:20px 0;font-weight:300}button{cursor:pointer}aside{position:absolute;top:0;left:0;width:350px;height:100vh;padding:60px 0 0 50px;background-color:#121212}aside ul{margin:30px 0 0;padding:0;list-style:none}aside li{position:relative;margin:0;padding:20px 10px;font-weight:300}aside li.highlight{color:#48a1ff}aside li.active{font-weight:700}aside li .circle{position:absolute;top:20px;left:10px;width:24px;height:24px;border:3px solid white;border-radius:50%;font-size:14px}aside li.highlight .circle{border-color:#48a1ff}aside li.active .circle:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background-color:#48a1ff}aside li.completed .circle{background-color:#48a1ff}aside li.completed .circle:after{content:"";position:absolute;top:2px;left:6px;width:6px;height:13px;border:3px solid black;border-top:none;border-left:none;transform:rotate(45deg)}aside li .line{position:absolute;top:44px;left:21px;width:3px;height:45px;background-color:#fff}aside li.completed .line{background-color:#48a1ff}aside li span{display:block;margin-left:44px}nav{margin-top:30px}section{position:absolute;top:135px;left:350px;padding:0 80px 0 140px;transition:opacity .15s ease-in-out}section[aria-hidden=true]{pointer-events:none;opacity:0}section h1,section p{min-width:300px;max-width:600px}.button{position:relative;display:inline-block;color:#fff;background-color:#48a1ff;border-radius:4px;text-decoration:none;padding:10px 40px 10px 20px;white-space:nowrap}.button:hover{background-color:#48a1ffd9}#button-icon{position:absolute;top:1px;right:5px;bottom:0;width:30px;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" stroke="white" stroke-linecap="square" stroke-miterlimit="10" stroke-width="48" d="M184 112l144 144-144 144"/></svg>');background-repeat:no-repeat;background-position:center;background-size:24px 24px}.button[aria-disabled=true]{opacity:.9;background-color:#ffffff4d;pointer-events:none;padding-right:60px}.button[aria-disabled=true] #button-icon{top:21px;right:29px;width:8px;height:8px;border-radius:4px;background:white;color:#fff;animation:dot-flashing .5s infinite linear alternate;animation-delay:.25s}.button[aria-disabled=true] #button-icon:before,.button[aria-disabled=true] #button-icon:after{content:"";display:inline-block;position:absolute;top:0}.button[aria-disabled=true] #button-icon:before{left:-12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:0s}.button[aria-disabled=true] #button-icon:after{left:12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:.5s}@keyframes dot-flashing{0%{background-color:#fff}50%,to{background-color:#ffffff4d}}.logo{margin-left:9px;background:url('data:image/svg+xml,<svg viewBox="0 0 150 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <g clip-path="url(%23clip0_4_304)"> <path d="M27.9858 8.99927C27.9872 10.3415 27.688 11.667 27.1101 12.8783C26.5321 14.0896 25.6902 15.156 24.6462 15.9989V15.9989L0.634502 2.36355C0.542657 2.31119 0.457444 2.24796 0.380701 2.17523C0.260289 2.05715 0.164605 1.91624 0.0992389 1.76075C0.0338732 1.60525 0.000136546 1.43828 0 1.26959C0 0.932873 0.133698 0.609948 0.371683 0.371854C0.609667 0.13376 0.932443 0 1.269 0L18.9906 0C21.3763 0 23.6642 0.948135 25.3512 2.63583C27.0381 4.32352 27.9858 6.61252 27.9858 8.99927V8.99927Z" fill="%2318B4F4" /> <path d="M27.9858 22.9986C27.9861 24.1806 27.7536 25.351 27.3017 26.4431C26.8498 27.5352 26.1873 28.5275 25.352 29.3634C24.5167 30.1993 23.5249 30.8624 22.4335 31.3147C21.342 31.7671 20.1721 32 18.9907 32H1.26906C1.01802 31.9973 0.77343 31.9202 0.566221 31.7784C0.359012 31.6366 0.198499 31.4364 0.104989 31.2034C0.0114791 30.9703 -0.0108254 30.7147 0.0408974 30.4689C0.0926201 30.2231 0.216046 29.9982 0.395559 29.8226V29.8226C0.467112 29.7508 0.547407 29.6882 0.634555 29.6364L10.0844 24.2703L24.6441 16.001C25.688 16.8438 26.53 17.9097 27.1083 19.1206C27.6866 20.3315 27.9864 21.6566 27.9858 22.9986V22.9986Z" fill="%23FD6B3C" /> <path d="M24.6461 15.9989L10.0843 24.2703L0.634458 29.6365C0.54372 29.6868 0.459841 29.7487 0.384888 29.8205C3.98804 26.1233 6.00266 21.1627 5.99812 15.9989C6.0049 10.8346 3.99085 5.87268 0.387003 2.17523C0.463746 2.24796 0.548959 2.31119 0.640803 2.36355L24.6461 15.9989Z" fill="%23A97FF2" /> <path d="M47.6659 11.7352C51.8177 11.7352 54.1632 15.0531 54.1632 19.0714C54.1632 23.0896 51.8177 26.3821 47.6659 26.3821C45.5086 26.3821 43.8589 25.5188 42.9473 24.0545L42.5709 26.052H39.9736V6.77115H43.1884V13.8914C43.971 12.6959 45.5086 11.7352 47.6659 11.7352ZM47.0187 23.5488C49.4446 23.5488 50.9547 21.5809 50.9547 19.0714C50.9547 16.5089 49.4446 14.5664 47.0187 14.5664C44.5928 14.5664 43.0806 16.5047 43.0806 19.0714C43.0806 21.583 44.5653 23.5488 47.0187 23.5488V23.5488Z" fill="white" /> <path d="M65.4595 20.2859V12.0611H68.668V20.123C68.668 23.7202 67.0246 26.3821 62.4943 26.3821C57.9639 26.3821 56.3206 23.7117 56.3206 20.123V12.0611H59.529V20.2859C59.529 22.4696 60.5527 23.5488 62.49 23.5488C64.4274 23.5488 65.4595 22.4696 65.4595 20.2859Z" fill="white" /> <path d="M71.2355 7.74451C71.2247 7.46284 71.2724 7.18199 71.3755 6.91968C71.4787 6.65737 71.6351 6.41929 71.8348 6.22047C72.0345 6.02165 72.2732 5.8664 72.5359 5.76452C72.7986 5.66264 73.0796 5.61633 73.3611 5.62853C74.5793 5.62853 75.4571 6.50666 75.4571 7.75509C75.4571 9.00352 74.5793 9.8224 73.3611 9.8224C72.1428 9.8224 71.2355 8.9612 71.2355 7.74451Z" fill="white" /> <path d="M128.476 7.74451C128.465 7.46376 128.513 7.18383 128.615 6.92227C128.718 6.66071 128.873 6.42315 129.072 6.22449C129.27 6.02583 129.508 5.87035 129.769 5.7678C130.031 5.66524 130.31 5.61783 130.591 5.62852C131.809 5.62852 132.687 6.50666 132.687 7.75509C132.687 9.00352 131.809 9.8224 130.591 9.8224C129.373 9.8224 128.476 8.9612 128.476 7.74451Z" fill="white" /> <path d="M122.302 24.1031C122.291 23.8223 122.339 23.5422 122.441 23.2805C122.543 23.0188 122.699 22.7811 122.897 22.5824C123.096 22.3837 123.334 22.2282 123.595 22.1258C123.857 22.0233 124.137 21.9761 124.417 21.9872C125.636 21.9872 126.513 22.8653 126.513 24.1031C126.513 25.341 125.636 26.1726 124.417 26.1726C123.199 26.1726 122.302 25.3219 122.302 24.1031Z" fill="white" /> <path d="M74.9516 12.059H71.7432V26.0583H74.9516V12.059Z" fill="white" /> <path d="M78.16 26.0583V6.77115H81.3685V26.0626L78.16 26.0583Z" fill="white" /> <path d="M94.6063 6.77115H97.8148V26.0626H95.2239L94.8474 24.0651C93.9591 25.523 92.3094 26.3927 90.131 26.3927C86.0046 26.3927 83.6591 23.0748 83.6591 19.0819C83.6591 15.0891 86.0046 11.7458 90.131 11.7458C92.3137 11.7458 93.8238 12.7149 94.6063 13.902V6.77115ZM90.7993 14.5707C88.3734 14.5707 86.8633 16.5131 86.8633 19.0756C86.8633 21.5851 88.3734 23.553 90.7993 23.553C93.2252 23.553 94.7354 21.5851 94.7354 19.0756C94.7396 16.5047 93.257 14.5664 90.8036 14.5664L90.7993 14.5707Z" fill="white" /> <path d="M113.479 22.2284C112.482 24.7359 110.162 26.3821 107.117 26.3821C102.887 26.3821 100.137 23.225 100.137 19.0439C100.137 14.9706 102.942 11.7353 107.093 11.7353C111.245 11.7353 113.969 14.8902 113.969 18.991C113.982 19.3255 113.953 19.6604 113.883 19.9876H103.288C103.53 22.2009 104.959 23.6292 107.197 23.6292C108.735 23.6292 110.001 22.8738 110.594 21.473L113.479 22.2284ZM103.341 17.6156H110.784C110.513 15.6731 109.166 14.3506 107.089 14.3506C105.012 14.3506 103.665 15.7006 103.341 17.6156V17.6156Z" fill="white" /> <path d="M123.779 14.9452C123.538 14.9117 123.295 14.8933 123.051 14.8902C120.786 14.8902 119.439 16.0772 119.439 18.7751V26.0583H116.23V12.0611H118.821L119.195 14.0014C119.707 13.1127 120.887 11.9257 123.322 11.9257C123.455 11.9257 123.779 11.9532 123.779 11.9532V14.9452Z" fill="white" /> <path d="M132.192 12.059H128.984V26.0583H132.192V12.059Z" fill="white" /> <path d="M134.483 19.0714C134.483 15.1335 137.287 11.7353 141.735 11.7353C146.183 11.7353 149.015 15.1335 149.015 19.0714C149.015 23.0092 146.213 26.3821 141.735 26.3821C137.258 26.3821 134.483 23.0092 134.483 19.0714ZM141.735 23.5488C144.083 23.5488 145.806 21.7692 145.806 19.0714C145.806 16.3735 144.083 14.5664 141.735 14.5664C139.387 14.5664 137.687 16.346 137.687 19.0714C137.687 21.7968 139.417 23.5488 141.735 23.5488V23.5488Z" fill="white" /> </g> <defs> <clipPath id="clip0_4_304"> <rect width="149.015" height="32" fill="white" /> </clipPath> </defs> </svg>');background-repeat:no-repeat;width:150px;height:32px}@media (max-width: 840px){aside{width:250px;padding:60px 0 0 20px}section{left:250px;padding:0 80px}}@media (max-width: 590px){aside{width:230px;padding:60px 0 0 10px}section{left:230px;padding:0 40px}}#modified-files-message a{color:#cbcbcb;font-weight:300;text-decoration:underline}#modified-files-message a:hover{color:#fff;text-decoration:none}#restart-warning{border-radius:4px;padding:8px 16px;border:1px solid #fd6b3c;background:rgba(253,107,60,.1)}
39
+ \`,o.appendChild(r),setTimeout(()=>{r.classList.add("menu-toggle-tooltip-show"),r.addEventListener("click",()=>{r.classList.remove("menu-toggle-tooltip-show")})},1e3)};function kf(o){o.getElementById("go-to-builder").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),jo(o,!1),window.open(Gl(),"builder")}),o.getElementById("components-link").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation();let b=o.querySelector(".nav-cmp-list .section-content");b.scrollTop=0,no(o,"nav-cmp-list"),If(o)}),o.getElementById("settings-link").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),no(o,"nav-settings")}),o.getElementById("add-page-link").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),jo(o,!1),window.open(Wr(),"builder")}),o.getElementById("import-from-figma").addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),jo(o,!1),window.open("https://www.figma.com/community/plugin/747985167520967365/builder-io-ai-powered-figma-to-code-react-vue-tailwind-more")})}function Pf(o){let r=o.getElementById("enable-edit");r.addEventListener("change",i=>{i.stopPropagation(),Ya(r.checked)}),r.checked=Qn(),Ya(r.checked)}var Pi=class extends HTMLElement{constructor(){super()}connectedCallback(){let r=this.attachShadow({mode:"open"});r.innerHTML=\`<style>*,*:before,*:after{box-sizing:border-box}:host{--background-color: rgba(40, 40, 40, 1);--primary-color: rgba(72, 161, 255, 1);--primary-color-subdued: rgb(72, 161, 255, .6);--primary-color-highlight: rgb(126, 188, 255);--primary-contrast-color: white;--edit-color: #1d74e2;--edit-color-highlight: #1c6bd1;--edit-color-alpha: rgb(72, 161, 255, .15);--error-color: #ff2b55;--text-color: white;--text-color-highlight: white;--border-color: #454545;--button-background-color-hover: rgba(255, 255, 255, .1);--menu-width: 320px;--transition-time: .15s;--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";font-family:var(--font-family);line-height:1.6}button{cursor:pointer;color:var(--text-color);-webkit-tap-highlight-color:transparent}input,select,button{font-family:var(--font-family)}.menu-toggle{position:absolute;right:0;bottom:0;pointer-events:auto;padding:8px;background:transparent;border:none;appearance:none}.menu-toggle div{position:relative;width:64px;height:64px;pointer-events:none;border-radius:50%;background:black;border:1px solid white;box-shadow:#00000054 0 0 8px}.menu-toggle:hover div{background-color:var(--background-color);border:1px solid rgb(220,220,220)}.menu-toggle svg{position:absolute;top:15px;left:15px;width:33px;height:32px}div.highlight-bg{position:absolute;top:-1px;left:-1px;background-color:#1a1a1a;pointer-events:none;transition:all .4s ease-out;opacity:0}.menu-toggle-highlight-no-transition div.highlight-bg{transition:none}.menu-toggle-highlight div.highlight-bg{opacity:1}.menu-toggle-tooltip{position:absolute;bottom:0;right:0;width:382px;height:72px;padding:0;text-align:left;appearance:none;background-color:transparent;border:none;pointer-events:none;transform:translate3d(320px,0,0);opacity:0;transition:all .15s ease-in-out;color:#fff}.menu-toggle-tooltip.menu-toggle-tooltip-show{pointer-events:auto;opacity:1;transform:translateZ(0)}.menu-toggle-tooltip-content{position:absolute;inset:0 95px 10px 0;padding:8px 12px;background-color:var(--primary-color);box-shadow:#00000054 0 0 20px;border-radius:2px}.menu-toggle-tooltip-content:before{content:"";position:absolute;bottom:15px;right:-6px;width:30px;height:30px;background-color:var(--primary-color);transform:rotate(45deg)}.menu-toggle-tooltip:hover .menu-toggle-tooltip-content,.menu-toggle-tooltip:hover .menu-toggle-tooltip-content:before{background-color:var(--primary-color-highlight)}.menu-toggle-tooltip-content h3{margin:0;font-size:16px}.menu-toggle-tooltip-content p{margin:0;font-size:12px}section{position:absolute;display:grid;grid-template-rows:64px auto 64px;top:0;left:0;width:100%;height:100%;padding:0;pointer-events:none}.section-content{margin:0;padding:0 0 10px;font-weight:300;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;overflow-y:auto}.section-content .error{color:var(--error-color);font-weight:700}section a{text-decoration:none;color:var(--text-color)}section h3,section p{margin-left:16px;margin-right:16px}.info{font-size:12px}ul.list{list-style:none;padding:0;margin:0}ul.list li{display:block;padding:0;margin:0}ul.list a,ul.list button{display:grid;grid-template-columns:24px auto;grid-gap:16px;padding:12px;margin:8px 0;border:none;background:transparent;appearance:none;width:100%;font-weight:300;text-align:left;text-decoration:none;color:var(--text-color)}ul.list a:hover,ul.list button:hover{text-decoration:none;color:var(--text-color);background-color:var(--button-background-color-hover)}ul.list a span,ul.list button span{display:block;font-size:16px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}header{position:relative;display:grid;grid-template-columns:44px 1fr;gap:8px;padding-left:8px;border-bottom:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}header>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-home header>div{margin-right:56px}header h2{margin:7px 0 0;font-size:18px;font-weight:500;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p{margin:2px 0 0;font-size:12px;font-weight:300;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button{display:block;margin:0;padding:0;width:100%;font-size:12px;font-weight:300;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p button:hover{text-decoration:underline;color:var(--primary-color)}.builder-logo{margin:12px 0 0 8px}#close{display:block;position:absolute;appearance:none;background:transparent;border:none;border-radius:50%;margin:0;padding:0;right:4px;top:8px;width:48px;height:48px;z-index:1;opacity:.7}#close:hover{opacity:1;background-color:var(--button-background-color-hover)}#close svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}.back-button{position:relative;display:block;margin:7px 0 0 -2px;width:48px;height:48px;background:transparent;border:none;appearance:none;border-radius:50%}.back-button:hover{background-color:var(--button-background-color-hover)}.back-button svg{position:absolute;top:12px;left:12px;width:24px;height:24px;fill:currentColor;pointer-events:none}footer{border-top:1px solid var(--border-color);transition:opacity var(--transition-time) ease-in-out;opacity:0;pointer-events:none}section.nav-cmp-list{grid-template-rows:64px auto 120px}footer a{text-decoration:underline;color:var(--primary-color)}footer a:hover{color:var(--primary-color);text-decoration:none}.nav-list{padding:2px 0}.nav-list.nav-loading{pointer-events:none}.nav-list h4{margin:8px 8px 8px 10px;font-size:14px;font-weight:600}.nav-list .nav-list-item+h4{margin-top:30px}.nav-list-item{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;margin:2px 0;padding:8px 28px 8px 46px;width:100%;font-size:14px;font-weight:300;text-align:left;border:none;background:transparent;appearance:none}.nav-list-item:hover{background-color:var(--button-background-color-hover)}.nav-list-item-icon{position:absolute;top:4px;left:10px;width:24px;height:24px;object-fit:contain;filter:invert(100%);background-size:24px 24px;background-repeat:no-repeat;background-position:center center}.nav-list-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.nav-list-item:after{display:block;position:absolute;content:"";background-image:url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L1 13" stroke="%23F2F2F2" stroke-opacity="0.5" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');background-repeat:no-repeat;background-position:12px 9px;top:0;right:0;width:32px;height:32px;pointer-events:none}.nav-list-item-note{opacity:0;font-size:12px;padding-top:1px;text-align:right}.nav-list-item:hover .nav-list-item-note{opacity:.5}.ui-select{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-select h3{margin:0;font-size:14px;font-weight:500}.ui-select p{margin:8px 0;font-size:12px;font-weight:300}.ui-select .select{position:relative;margin:8px 0;border-radius:4px;padding:0;line-height:1.1;overflow:hidden;border:1px solid var(--border-color)}.ui-select select{appearance:none;background-color:transparent;border:none;outline:none;padding:8px 32px 8px 8px;margin:0;width:100%;font-size:14px;cursor:pointer;text-overflow:ellipsis;opacity:.6;color:var(--text-color)}.ui-select .select:after{content:"";top:6px;right:5px;width:24px;height:24px;position:absolute;background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23F2F2F2" d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>');background-repeat:no-repeat;background-position:center;pointer-events:none;opacity:.6}.ui-select .select:hover{border-color:var(--primary-color-subdued)}.ui-text-input .select:focus-within{border-color:var(--primary-color)}.ui-text-input .select:focus-within select{opacity:1}.spinner:after{content:" ";display:block;width:32px;height:32px;margin:0 auto;pointer-events:auto;border-radius:50%;border:3px solid var(--text-color);border-color:var(--text-color) transparent var(--text-color) transparent;animation:spinner .75s linear infinite}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ui-switch{display:grid;grid-template-columns:auto 48px;grid-gap:20px;margin:8px 0 16px;padding:8px 0 8px 16px;cursor:pointer}.ui-switch>*{pointer-events:none}.ui-switch input{display:none;visibility:hidden}.ui-switch .switcher{display:inline-block;border-radius:100px;width:35px;height:14px;background-color:#ccc;position:relative;top:6px;vertical-align:middle;cursor:pointer}.ui-switch input[type=checkbox]:checked+.switcher{background-color:var(--primary-color-subdued)}.ui-switch .switcher:before{content:"";display:block;width:20px;height:20px;background-color:var(--text-color);box-shadow:0 1px 3px #0009;border-radius:50%;position:absolute;top:-3px;left:0;margin-right:0;transition:all .15s}.ui-switch input[type=checkbox]:checked+.switcher:before{left:100%;margin-left:-20px;background-color:var(--primary-color)}.ui-switch h3{margin:0;font-size:14px;font-weight:500}.ui-switch p{margin:4px 0 0;font-size:12px;font-weight:300}.ui-text-input{display:block;margin:8px 0 16px;padding:8px 16px;cursor:pointer}.ui-text-input h3{margin:0;font-size:14px;font-weight:500}.ui-text-input p{margin:8px 0;font-size:12px;font-weight:300}.ui-text-input .input{position:relative;margin:8px 0;border:1px solid var(--border-color);border-radius:4px;background:transparent;padding:2px;overflow:hidden}.ui-text-input input{display:block;width:235px;font-size:14px;border:none;background:transparent;padding:6px;appearance:none;color:var(--text-color);opacity:.6;outline:none}.ui-text-input .input:hover{border-color:var(--primary-color-subdued)}.ui-text-input .input:focus-within{border-color:var(--primary-color)}.ui-text-input .input:focus-within input{opacity:1}.ui-text-input .input:after{content:"";position:absolute;top:5px;right:14px;width:8px;height:17px;border:2px solid rgba(51,181,51,1);border-top:none;border-left:none;transform:rotate(45deg);opacity:0;transition:opacity 80ms ease-in-out;pointer-events:none}.ui-text-input.saved .input:after{opacity:1}.ui-toast{position:fixed;bottom:8px;left:8px;right:8px;padding:6px 12px;font-size:14px;border-radius:4px;transform:translate3d(0,150%,0);opacity:0;transition:all var(--transition-time) ease-in-out;background-color:var(--primary-color-subdued);color:var(--text-color);pointer-events:none}.ui-toast.ui-toast-show{transform:translateZ(0);opacity:1;pointer-events:auto}[data-view=nav-home] .nav-home .section-content,[data-view=nav-cmp-list] .nav-cmp-list .section-content,[data-view=nav-cmp-detail] .nav-cmp-detail .section-content,[data-view=nav-cmp-input] .nav-cmp-input .section-content,[data-view=nav-settings] .nav-settings .section-content{transform:translateZ(0);pointer-events:auto}[data-view=nav-home] .nav-home header,[data-view=nav-home] .nav-home footer,[data-view=nav-cmp-list] .nav-cmp-list header,[data-view=nav-cmp-list] .nav-cmp-list footer,[data-view=nav-cmp-detail] .nav-cmp-detail header,[data-view=nav-cmp-detail] .nav-cmp-detail footer,[data-view=nav-cmp-input] .nav-cmp-input header,[data-view=nav-cmp-input] .nav-cmp-input footer,[data-view=nav-settings] .nav-settings header,[data-view=nav-settings] .nav-settings footer{opacity:1;pointer-events:auto}[data-view=nav-cmp-list] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-home .section-content,[data-view=nav-cmp-detail] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-home .section-content,[data-view=nav-cmp-input] .nav-cmp-list .section-content,[data-view=nav-cmp-input] .nav-cmp-detail .section-content,[data-view=nav-settings] .nav-home .section-content{transform:translate3d(-105%,0,0)}.cmp-item .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.83 16.809C20.94 16.561 21 16.289 21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L7.988 3.99001M5.441 5.44801L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L18.544 18.56" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.532 10.538L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.27002 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 3L21 21" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>');opacity:.3}.cmp-item.registered .nav-list-item-icon{background-image:url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /></svg>');opacity:.8}#cmp-detail{position:relative}.cmp-loading{pointer-events:none!important}.cmp-loading-icon{position:absolute;display:inline-block;top:170px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.cmp-loading .cmp-loading-icon{opacity:.5}.cmp-cover{position:absolute;top:160px;left:0;width:100%;height:100vh;background:var(--background-color);transform:translateZ(0);pointer-events:none;display:none}[data-view=nav-cmp-detail] .cmp-cover{display:block;pointer-events:auto}.cmp-enabled .cmp-cover{transform:translate3d(0,105%,0);pointer-events:none}.section-ready .cmp-cover{transition:all var(--transition-time) ease-in-out}.cmp-detail-inputs-container{margin:8px 0 16px;padding:0}.cmp-detail-inputs-container h3{margin:0 0 6px;padding-left:16px;padding-right:8px;font-size:14px;font-weight:500;display:flex;justify-content:space-between;align-items:center}.cmp-detail-inputs-reload{font-weight:300;font-size:.9em;text-decoration:none;appearance:none;text-align:left;background-color:transparent;border:none;color:var(--primary-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cmp-detail-inputs-reload:hover{text-decoration:underline;color:var(--primary-color)}.cmp-detail-inputs-container .cmp-inputs-empty{padding:0;margin-top:12px;font-size:12px;font-weight:300;opacity:.5;font-style:italic}.cmp-detail-inputs-container .nav-list-item-icon{opacity:.8;background-size:20px 20px;background-position:4px center}.input-icon{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path></svg>')}.input-icon-array{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-6a2 2 0 1 1 4 0v6"></path> <path d="M10 13h4"></path></svg>')}.input-icon-boolean{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16h2a2 2 0 1 0 0 -4h-2h2a2 2 0 1 0 0 -4h-2v8z"></path></svg>')}.input-icon-number{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 16v-8l4 8v-8"></path></svg>')}.input-icon-object{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M12 8a2 2 0 0 1 2 2v4a2 2 0 1 1 -4 0v-4a2 2 0 0 1 2 -2z"></path></svg>')}.input-icon-string{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path> <path d="M10 15a1 1 0 0 0 1 1h2a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1h-2a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1"></path></svg>')}.cmp-input-item-unregistered{opacity:.4}.cmp-input-item-unregistered .input-icon:after{content:"";position:absolute;top:11px;left:4px;width:20px;height:2px;background-color:#000;transform:rotate(-45deg)}.cmp-prop-info{border-bottom:1px solid var(--border-color)}.cmp-input-readonly{margin:16px 0;padding:0 16px;display:grid;grid-template-columns:50% 50%;gap:12px}.cmp-input-readonly h3{margin:0;font-size:14px;font-weight:500}.cmp-input-readonly span{margin-top:2px;font-size:12px;font-weight:300;opacity:.8}.cmp-input-detail{margin:16px 0}.cmp-input-detail a{color:var(--primary-color);text-decoration:none}.cmp-input-detail a:hover{text-decoration:underline}.input-cover{position:absolute;top:175px;left:0;width:100%;height:100%;background:var(--background-color);transform:translateZ(0);transition:all var(--transition-time) ease-in-out;pointer-events:auto}.input-enabled .input-cover{transform:translate3d(0,105%,0);pointer-events:none}.input-loading-icon{position:absolute;display:inline-block;top:190px;left:0;width:100%;transform:translateZ(0);pointer-events:auto;opacity:0;transition:all 50ms ease-in-out;transition-delay:50ms;pointer-events:none}.input-loading .input-loading-icon{opacity:.5}:host{position:fixed;inset:0;z-index:2147483646;user-select:none;pointer-events:none;color:var(--text-color)}aside{position:absolute;top:0;right:0;width:var(--menu-width);height:100%;transform:translate3d(105%,0,0);transition:transform var(--transition-time) ease-in-out;background:var(--background-color);box-shadow:#000000c9 5px 0 20px;overflow:hidden;z-index:1}:host(.show-builder-menu) aside{pointer-events:auto;transform:translateZ(0)}#hit{position:absolute;inset:0;display:none}:host(.show-builder-menu) #hit{display:block;pointer-events:auto}#version{position:absolute;bottom:6px;right:6px;font-size:8px;color:#9b9b9b}</style><div id="hit"></div> <aside data-view="nav-home"> <section class="nav-home"> <header> <svg class="builder-logo" viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> <div> <h2 class="builder-home-title">Builder Devtools</h2> <p><button id="go-to-builder">Go to Builder</button></p> </div> <button id="close" aria-label="Close Menu"> <svg viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M18 6l-12 12" /> <path d="M6 6l12 12" /> </svg> </button> </header> <div class="section-content"> <ul class="list"> <li> <button id="components-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M21 16.008V7.99001C20.9994 7.64108 20.9066 7.29851 20.731 6.99699C20.5554 6.69547 20.3032 6.44571 20 6.27301L13 2.26501C12.6954 2.09103 12.3508 1.99951 12 1.99951C11.6492 1.99951 11.3046 2.09103 11 2.26501L4 6.27301C3.381 6.62801 3 7.28301 3 7.99101V16.009C3 16.718 3.381 17.372 4 17.726L11 21.734C11.3046 21.908 11.6492 21.9995 12 21.9995C12.3508 21.9995 12.6954 21.908 13 21.734L20 17.726C20.619 17.371 21 16.716 21 16.008Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 22V12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M12 12L20.73 6.95996" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M3.26999 6.95996L12 12" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Components</span> </button> </li> <li> <button id="settings-link"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.325 4.317C10.751 2.561 13.249 2.561 13.675 4.317C13.7389 4.5808 13.8642 4.82578 14.0407 5.032C14.2172 5.23822 14.4399 5.39985 14.6907 5.50375C14.9414 5.60764 15.2132 5.65085 15.4838 5.62987C15.7544 5.60889 16.0162 5.5243 16.248 5.383C17.791 4.443 19.558 6.209 18.618 7.753C18.4769 7.98466 18.3924 8.24634 18.3715 8.51677C18.3506 8.78721 18.3938 9.05877 18.4975 9.30938C18.6013 9.55999 18.7627 9.78258 18.9687 9.95905C19.1747 10.1355 19.4194 10.2609 19.683 10.325C21.439 10.751 21.439 13.249 19.683 13.675C19.4192 13.7389 19.1742 13.8642 18.968 14.0407C18.7618 14.2172 18.6001 14.4399 18.4963 14.6907C18.3924 14.9414 18.3491 15.2132 18.3701 15.4838C18.3911 15.7544 18.4757 16.0162 18.617 16.248C19.557 17.791 17.791 19.558 16.247 18.618C16.0153 18.4769 15.7537 18.3924 15.4832 18.3715C15.2128 18.3506 14.9412 18.3938 14.6906 18.4975C14.44 18.6013 14.2174 18.7627 14.0409 18.9687C13.8645 19.1747 13.7391 19.4194 13.675 19.683C13.249 21.439 10.751 21.439 10.325 19.683C10.2611 19.4192 10.1358 19.1742 9.95929 18.968C9.7828 18.7618 9.56011 18.6001 9.30935 18.4963C9.05859 18.3924 8.78683 18.3491 8.51621 18.3701C8.24559 18.3911 7.98375 18.4757 7.752 18.617C6.209 19.557 4.442 17.791 5.382 16.247C5.5231 16.0153 5.60755 15.7537 5.62848 15.4832C5.64942 15.2128 5.60624 14.9412 5.50247 14.6906C5.3987 14.44 5.23726 14.2174 5.03127 14.0409C4.82529 13.8645 4.58056 13.7391 4.317 13.675C2.561 13.249 2.561 10.751 4.317 10.325C4.5808 10.2611 4.82578 10.1358 5.032 9.95929C5.23822 9.7828 5.39985 9.56011 5.50375 9.30935C5.60764 9.05859 5.65085 8.78683 5.62987 8.51621C5.60889 8.24559 5.5243 7.98375 5.383 7.752C4.443 6.209 6.209 4.442 7.753 5.382C8.753 5.99 10.049 5.452 10.325 4.317Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> <path d="M9 12C9 12.7956 9.31607 13.5587 9.87868 14.1213C10.4413 14.6839 11.2044 15 12 15C12.7956 15 13.5587 14.6839 14.1213 14.1213C14.6839 13.5587 15 12.7956 15 12C15 11.2044 14.6839 10.4413 14.1213 9.87868C13.5587 9.31607 12.7956 9 12 9C11.2044 9 10.4413 9.31607 9.87868 9.87868C9.31607 10.4413 9 11.2044 9 12Z" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Settings</span> </button> </li> <li> <button id="add-page-link"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M14 3v4a1 1 0 0 0 1 1h4" /> <path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /> <path d="M12 11l0 6" /> <path d="M9 14l6 0" /> </svg> <span>Add Builder Page</span> </button> </li> <li> <button id="import-from-figma"> <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-figma" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" > <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M15 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" /> <path d="M6 3m0 3a3 3 0 0 1 3 -3h6a3 3 0 0 1 3 3v0a3 3 0 0 1 -3 3h-6a3 3 0 0 1 -3 -3z" /> <path d="M9 9a3 3 0 0 0 0 6h3m-3 0a3 3 0 1 0 3 3v-15" /> </svg> <span>Import From Figma</span> </button> </li> </ul> </div> <footer> <ul class="list"> <li> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdqZcJpRtm_Ia5DTHP6SDY9Xa6LID3KiTjRWkjMzWyJRUtSHw/viewform" target="_blank" > <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M11.013 17.0114L10.013 18.0114L2.513 10.5834C2.0183 10.102 1.62864 9.52342 1.36854 8.88404C1.10845 8.24466 0.983558 7.55836 1.00173 6.86834C1.01991 6.17832 1.18076 5.49954 1.47415 4.87474C1.76755 4.24994 2.18713 3.69266 2.70648 3.23799C3.22583 2.78331 3.8337 2.4411 4.49181 2.23289C5.14991 2.02468 5.844 1.95499 6.53036 2.02821C7.21673 2.10143 7.8805 2.31596 8.47987 2.65831C9.07925 3.00066 9.60124 3.46341 10.013 4.01741C10.8086 2.95654 11.9931 2.2552 13.3059 2.06766C14.6186 1.88012 15.9521 2.22176 17.013 3.01741C18.0739 3.81306 18.7752 4.99755 18.9627 6.3103C19.1503 7.62305 18.8086 8.95654 18.013 10.0174" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M18.2006 19.8175L16.0286 20.9555C15.9642 20.989 15.8917 21.004 15.8192 20.9987C15.7467 20.9934 15.6771 20.9681 15.6182 20.9256C15.5593 20.8831 15.5134 20.825 15.4855 20.7579C15.4577 20.6907 15.4491 20.6172 15.4606 20.5455L15.8756 18.1345L14.1186 16.4275C14.0662 16.3768 14.0291 16.3123 14.0115 16.2416C13.9939 16.1708 13.9966 16.0965 14.0192 16.0271C14.0418 15.9578 14.0835 15.8962 14.1394 15.8494C14.1954 15.8026 14.2634 15.7725 14.3356 15.7625L16.7636 15.4105L17.8496 13.2175C17.8821 13.1521 17.9322 13.0972 17.9942 13.0588C18.0562 13.0204 18.1277 13 18.2006 13C18.2736 13 18.3451 13.0204 18.4071 13.0588C18.4691 13.0972 18.5191 13.1521 18.5516 13.2175L19.6376 15.4105L22.0656 15.7625C22.1377 15.7728 22.2054 15.8031 22.2611 15.85C22.3168 15.8968 22.3583 15.9583 22.3809 16.0275C22.4034 16.0967 22.4062 16.1708 22.3888 16.2415C22.3715 16.3122 22.3347 16.3766 22.2826 16.4275L20.5256 18.1345L20.9396 20.5445C20.9521 20.6163 20.9441 20.6902 20.9166 20.7578C20.8891 20.8254 20.8433 20.8839 20.7842 20.9267C20.7252 20.9695 20.6553 20.9949 20.5825 21C20.5098 21.005 20.4371 20.9896 20.3726 20.9555L18.2006 19.8175Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> <span>Give Feedback</span> </a> </li> </ul> <div id="version"></div> </footer> </section> <section class="nav-cmp-list"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2>Custom Components</h2> <p> <button id="open-builder-registry"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-list" class="cmp-list nav-list"></div> </div> <footer> <p class="info"> Expand on Builder's selection of built-in blocks by <a target="_blank" href="https://www.builder.io/c/docs/custom-components-intro" >registering components</a > from your codebase. This way, teammates can drag and drop your components within Builder's Visual Editor just like any other block. </p> </footer> </section> <section class="nav-cmp-detail"> <header> <button class="back-button" data-back="nav-cmp-list"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-detail-title"></h2> <p> <button id="cmp-open-source"></button> </p> </div> </header> <div class="section-content"> <div id="cmp-error"></div> <label class="ui-switch"> <div> <h3>Register Component</h3> <p> Registers this component so it can be used within Builder Visual CMS </p> </div> <input type="checkbox" role="switch" id="cmp-register" /> <span class="switcher"></span> </label> <div id="cmp-detail"> <label class="ui-text-input"> <h3>Component Name</h3> <div class="input"> <input type="text" id="cmp-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="2" maxlength="30" required placeholder="e.g. My Counter" /> </div> <p> Unique name to identify this custom component within Builder. Press ESC to cancel </p> </label> <div class="cmp-detail-inputs-container"> <h3> <span>Builder Inputs (Props)</span> <button class="cmp-detail-inputs-reload" id="btn-inputs-reload"> Reload </button> </h3> <div id="cmp-detail-inputs"></div> </div> </div> </div> <div class="cmp-cover"></div> <div class="cmp-loading-icon spinner"></div> </section> <section class="nav-cmp-input"> <header> <button class="back-button" data-back="nav-cmp-detail"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2 id="cmp-input-title"></h2> <p> <button id="input-open-source"></button> </p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable Input</h3> <p>Add this component prop as a Builder input</p> </div> <input type="checkbox" role="switch" id="input-register" /> <span class="switcher"></span> </label> <div class="cmp-prop-info"> <div class="cmp-input-readonly"> <h3>Prop Name</h3> <span id="cmp-prop-name"></span> </div> <div class="cmp-input-readonly"> <h3>Prop Type</h3> <span id="cmp-prop-type"></span> </div> </div> <div class="cmp-input-detail"> <label class="ui-text-input"> <h3>Builder Input Name</h3> <div class="input"> <input type="text" id="input-name" autocapitalize="off" autocorrect="off" spellcheck="false" autocomplete="off" minlength="1" maxlength="30" required placeholder="e.g. Text" /> </div> <p> Friendly name to identify this component prop as a Builder input. Press ESC to cancel </p> </label> <label class="ui-select"> <h3>Builder Input Type</h3> <div class="select"> <select id="input-type"></select> </div> <p> Correlate to what editing UI is appropriate for this Builder input. <a href="https://www.builder.io/c/docs/custom-components-input-types" target="_blank" >Read more about input types.</a > </p> </label> </div> <div class="input-cover"></div> <div class="input-loading-icon spinner"></div> </div> </section> <section class="nav-settings"> <header> <button class="back-button"> <svg viewBox="0 0 24 24"> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" /> </svg> </button> <div> <h2>Settings</h2> <p>Configure Builder's Devtools</p> </div> </header> <div class="section-content"> <label class="ui-switch"> <div> <h3>Enable edit button in UI</h3> <p>Enables the edit button so you can edit content in Builder</p> </div> <input type="checkbox" role="switch" id="enable-edit" /> <span class="switcher"></span> </label> </div> </section> <div class="ui-toast" id="toast"></div> </aside> <button class="menu-toggle" aria-label="Toggle Builder Devtools"> <div> <div class="highlight-bg"></div> <svg viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M31 9.96854C31.0016 11.4553 30.6701 12.9236 30.03 14.2654C29.3898 15.6072 28.4572 16.7884 27.3007 17.7221L0.702841 2.61812C0.601104 2.56012 0.506714 2.49008 0.421705 2.40951C0.288323 2.27871 0.182333 2.12263 0.109928 1.95039C0.0375215 1.77814 0.000151253 1.59319 0 1.40633C0 1.03335 0.148098 0.675643 0.411715 0.411905C0.675332 0.148167 1.03287 0 1.40568 0L21.036 0C23.6786 0 26.213 1.05025 28.0816 2.91972C29.9502 4.78918 31 7.32472 31 9.96854Z" fill="#18B4F4" /> <path d="M31 25.4757C31.0004 26.7849 30.7429 28.0815 30.2423 29.2912C29.7417 30.5009 29.0078 31.6001 28.0825 32.526C27.1572 33.4519 26.0587 34.1864 24.8497 34.6875C23.6406 35.1886 22.3448 35.4465 21.0361 35.4465H1.40573C1.12766 35.4436 0.856725 35.3581 0.627199 35.201C0.397672 35.044 0.219871 34.8223 0.116289 34.5641C0.0127078 34.3059 -0.011999 34.0228 0.0452946 33.7505C0.102588 33.4783 0.239308 33.2292 0.438156 33.0347C0.517415 32.9551 0.606358 32.8858 0.702893 32.8284L11.1705 26.8843L27.2984 17.7244C28.4548 18.6579 29.3874 19.8387 30.028 21.18C30.6685 22.5213 31.0007 23.9891 31 25.4757Z" fill="#FD6B3C" /> <path d="M27.3011 17.7221L11.1709 26.8843L0.703209 32.8284C0.602697 32.8843 0.509784 32.9528 0.426758 33.0323C4.41799 28.9369 6.6496 23.442 6.64456 17.7221C6.65208 12.0015 4.42111 6.50517 0.429101 2.40948C0.51411 2.49005 0.6085 2.56009 0.710237 2.61809L27.3011 17.7221Z" fill="#A97FF2" /> </svg> </div> </button>\`,Of(r),kf(r),Sf(r),xf(r),Ef(r),Pf(r),this.setAttribute("aria-hidden","true"),r.getElementById("version").textContent="v0.2.25"}highlightOpener(){let r=this.shadowRoot.querySelector(".menu-toggle");r.classList.add("menu-toggle-highlight"),r.classList.add("menu-toggle-highlight-no-transition"),setTimeout(()=>{r.classList.remove("menu-toggle-highlight-no-transition"),setTimeout(()=>{r.classList.remove("menu-toggle-highlight")},20)},20)}};var h_=\`<style>*,*:before,*:after{box-sizing:border-box}html,body,:host{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:2147483646;margin:0;padding:0;line-height:1.8;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";background-color:#252525;color:#fff;transition:opacity .25s ease-in-out}:host([aria-hidden="true"]){opacity:0;pointer-events:none}main{position:absolute;top:0;left:0;width:100%;height:100vh}h1{margin-top:0;font-size:24px;font-weight:300;line-height:1.4}p{margin:20px 0;font-weight:300}button{cursor:pointer}aside{position:absolute;top:0;left:0;width:350px;height:100vh;padding:60px 0 0 50px;background-color:#121212}aside ul{margin:30px 0 0;padding:0;list-style:none}aside li{position:relative;margin:0;padding:20px 10px;font-weight:300}aside li.highlight{color:#48a1ff}aside li.active{font-weight:700}aside li .circle{position:absolute;top:20px;left:10px;width:24px;height:24px;border:3px solid white;border-radius:50%;font-size:14px}aside li.highlight .circle{border-color:#48a1ff}aside li.active .circle:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background-color:#48a1ff}aside li.completed .circle{background-color:#48a1ff}aside li.completed .circle:after{content:"";position:absolute;top:2px;left:6px;width:6px;height:13px;border:3px solid black;border-top:none;border-left:none;transform:rotate(45deg)}aside li .line{position:absolute;top:44px;left:21px;width:3px;height:45px;background-color:#fff}aside li.completed .line{background-color:#48a1ff}aside li span{display:block;margin-left:44px}nav{margin-top:30px}section{position:absolute;top:135px;left:350px;padding:0 80px 0 140px;transition:opacity .15s ease-in-out}section[aria-hidden=true]{pointer-events:none;opacity:0}section h1,section p{min-width:300px;max-width:600px}.button{position:relative;display:inline-block;color:#fff;background-color:#48a1ff;border-radius:4px;text-decoration:none;padding:10px 40px 10px 20px;white-space:nowrap}.button:hover{background-color:#48a1ffd9}#button-icon{position:absolute;top:1px;right:5px;bottom:0;width:30px;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" stroke="white" stroke-linecap="square" stroke-miterlimit="10" stroke-width="48" d="M184 112l144 144-144 144"/></svg>');background-repeat:no-repeat;background-position:center;background-size:24px 24px}.button[aria-disabled=true]{opacity:.9;background-color:#ffffff4d;pointer-events:none;padding-right:60px}.button[aria-disabled=true] #button-icon{top:21px;right:29px;width:8px;height:8px;border-radius:4px;background:white;color:#fff;animation:dot-flashing .5s infinite linear alternate;animation-delay:.25s}.button[aria-disabled=true] #button-icon:before,.button[aria-disabled=true] #button-icon:after{content:"";display:inline-block;position:absolute;top:0}.button[aria-disabled=true] #button-icon:before{left:-12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:0s}.button[aria-disabled=true] #button-icon:after{left:12px;width:8px;height:8px;border-radius:4px;background-color:#fff;color:#fff;animation:dot-flashing .5s infinite alternate;animation-delay:.5s}@keyframes dot-flashing{0%{background-color:#fff}50%,to{background-color:#ffffff4d}}.logo{margin-left:9px;background:url('data:image/svg+xml,<svg viewBox="0 0 150 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <g clip-path="url(%23clip0_4_304)"> <path d="M27.9858 8.99927C27.9872 10.3415 27.688 11.667 27.1101 12.8783C26.5321 14.0896 25.6902 15.156 24.6462 15.9989V15.9989L0.634502 2.36355C0.542657 2.31119 0.457444 2.24796 0.380701 2.17523C0.260289 2.05715 0.164605 1.91624 0.0992389 1.76075C0.0338732 1.60525 0.000136546 1.43828 0 1.26959C0 0.932873 0.133698 0.609948 0.371683 0.371854C0.609667 0.13376 0.932443 0 1.269 0L18.9906 0C21.3763 0 23.6642 0.948135 25.3512 2.63583C27.0381 4.32352 27.9858 6.61252 27.9858 8.99927V8.99927Z" fill="%2318B4F4" /> <path d="M27.9858 22.9986C27.9861 24.1806 27.7536 25.351 27.3017 26.4431C26.8498 27.5352 26.1873 28.5275 25.352 29.3634C24.5167 30.1993 23.5249 30.8624 22.4335 31.3147C21.342 31.7671 20.1721 32 18.9907 32H1.26906C1.01802 31.9973 0.77343 31.9202 0.566221 31.7784C0.359012 31.6366 0.198499 31.4364 0.104989 31.2034C0.0114791 30.9703 -0.0108254 30.7147 0.0408974 30.4689C0.0926201 30.2231 0.216046 29.9982 0.395559 29.8226V29.8226C0.467112 29.7508 0.547407 29.6882 0.634555 29.6364L10.0844 24.2703L24.6441 16.001C25.688 16.8438 26.53 17.9097 27.1083 19.1206C27.6866 20.3315 27.9864 21.6566 27.9858 22.9986V22.9986Z" fill="%23FD6B3C" /> <path d="M24.6461 15.9989L10.0843 24.2703L0.634458 29.6365C0.54372 29.6868 0.459841 29.7487 0.384888 29.8205C3.98804 26.1233 6.00266 21.1627 5.99812 15.9989C6.0049 10.8346 3.99085 5.87268 0.387003 2.17523C0.463746 2.24796 0.548959 2.31119 0.640803 2.36355L24.6461 15.9989Z" fill="%23A97FF2" /> <path d="M47.6659 11.7352C51.8177 11.7352 54.1632 15.0531 54.1632 19.0714C54.1632 23.0896 51.8177 26.3821 47.6659 26.3821C45.5086 26.3821 43.8589 25.5188 42.9473 24.0545L42.5709 26.052H39.9736V6.77115H43.1884V13.8914C43.971 12.6959 45.5086 11.7352 47.6659 11.7352ZM47.0187 23.5488C49.4446 23.5488 50.9547 21.5809 50.9547 19.0714C50.9547 16.5089 49.4446 14.5664 47.0187 14.5664C44.5928 14.5664 43.0806 16.5047 43.0806 19.0714C43.0806 21.583 44.5653 23.5488 47.0187 23.5488V23.5488Z" fill="white" /> <path d="M65.4595 20.2859V12.0611H68.668V20.123C68.668 23.7202 67.0246 26.3821 62.4943 26.3821C57.9639 26.3821 56.3206 23.7117 56.3206 20.123V12.0611H59.529V20.2859C59.529 22.4696 60.5527 23.5488 62.49 23.5488C64.4274 23.5488 65.4595 22.4696 65.4595 20.2859Z" fill="white" /> <path d="M71.2355 7.74451C71.2247 7.46284 71.2724 7.18199 71.3755 6.91968C71.4787 6.65737 71.6351 6.41929 71.8348 6.22047C72.0345 6.02165 72.2732 5.8664 72.5359 5.76452C72.7986 5.66264 73.0796 5.61633 73.3611 5.62853C74.5793 5.62853 75.4571 6.50666 75.4571 7.75509C75.4571 9.00352 74.5793 9.8224 73.3611 9.8224C72.1428 9.8224 71.2355 8.9612 71.2355 7.74451Z" fill="white" /> <path d="M128.476 7.74451C128.465 7.46376 128.513 7.18383 128.615 6.92227C128.718 6.66071 128.873 6.42315 129.072 6.22449C129.27 6.02583 129.508 5.87035 129.769 5.7678C130.031 5.66524 130.31 5.61783 130.591 5.62852C131.809 5.62852 132.687 6.50666 132.687 7.75509C132.687 9.00352 131.809 9.8224 130.591 9.8224C129.373 9.8224 128.476 8.9612 128.476 7.74451Z" fill="white" /> <path d="M122.302 24.1031C122.291 23.8223 122.339 23.5422 122.441 23.2805C122.543 23.0188 122.699 22.7811 122.897 22.5824C123.096 22.3837 123.334 22.2282 123.595 22.1258C123.857 22.0233 124.137 21.9761 124.417 21.9872C125.636 21.9872 126.513 22.8653 126.513 24.1031C126.513 25.341 125.636 26.1726 124.417 26.1726C123.199 26.1726 122.302 25.3219 122.302 24.1031Z" fill="white" /> <path d="M74.9516 12.059H71.7432V26.0583H74.9516V12.059Z" fill="white" /> <path d="M78.16 26.0583V6.77115H81.3685V26.0626L78.16 26.0583Z" fill="white" /> <path d="M94.6063 6.77115H97.8148V26.0626H95.2239L94.8474 24.0651C93.9591 25.523 92.3094 26.3927 90.131 26.3927C86.0046 26.3927 83.6591 23.0748 83.6591 19.0819C83.6591 15.0891 86.0046 11.7458 90.131 11.7458C92.3137 11.7458 93.8238 12.7149 94.6063 13.902V6.77115ZM90.7993 14.5707C88.3734 14.5707 86.8633 16.5131 86.8633 19.0756C86.8633 21.5851 88.3734 23.553 90.7993 23.553C93.2252 23.553 94.7354 21.5851 94.7354 19.0756C94.7396 16.5047 93.257 14.5664 90.8036 14.5664L90.7993 14.5707Z" fill="white" /> <path d="M113.479 22.2284C112.482 24.7359 110.162 26.3821 107.117 26.3821C102.887 26.3821 100.137 23.225 100.137 19.0439C100.137 14.9706 102.942 11.7353 107.093 11.7353C111.245 11.7353 113.969 14.8902 113.969 18.991C113.982 19.3255 113.953 19.6604 113.883 19.9876H103.288C103.53 22.2009 104.959 23.6292 107.197 23.6292C108.735 23.6292 110.001 22.8738 110.594 21.473L113.479 22.2284ZM103.341 17.6156H110.784C110.513 15.6731 109.166 14.3506 107.089 14.3506C105.012 14.3506 103.665 15.7006 103.341 17.6156V17.6156Z" fill="white" /> <path d="M123.779 14.9452C123.538 14.9117 123.295 14.8933 123.051 14.8902C120.786 14.8902 119.439 16.0772 119.439 18.7751V26.0583H116.23V12.0611H118.821L119.195 14.0014C119.707 13.1127 120.887 11.9257 123.322 11.9257C123.455 11.9257 123.779 11.9532 123.779 11.9532V14.9452Z" fill="white" /> <path d="M132.192 12.059H128.984V26.0583H132.192V12.059Z" fill="white" /> <path d="M134.483 19.0714C134.483 15.1335 137.287 11.7353 141.735 11.7353C146.183 11.7353 149.015 15.1335 149.015 19.0714C149.015 23.0092 146.213 26.3821 141.735 26.3821C137.258 26.3821 134.483 23.0092 134.483 19.0714ZM141.735 23.5488C144.083 23.5488 145.806 21.7692 145.806 19.0714C145.806 16.3735 144.083 14.5664 141.735 14.5664C139.387 14.5664 137.687 16.346 137.687 19.0714C137.687 21.7968 139.417 23.5488 141.735 23.5488V23.5488Z" fill="white" /> </g> <defs> <clipPath id="clip0_4_304"> <rect width="149.015" height="32" fill="white" /> </clipPath> </defs> </svg>');background-repeat:no-repeat;width:150px;height:32px}@media (max-width: 840px){aside{width:250px;padding:60px 0 0 20px}section{left:250px;padding:0 80px}}@media (max-width: 590px){aside{width:230px;padding:60px 0 0 10px}section{left:230px;padding:0 40px}}#modified-files-message a{color:#cbcbcb;font-weight:300;text-decoration:underline}#modified-files-message a:hover{color:#fff;text-decoration:none}#restart-warning{border-radius:4px;padding:8px 16px;border:1px solid #fd6b3c;background:rgba(253,107,60,.1)}
40
40
  </style>\`,Ri=class extends HTMLElement{constructor(){super()}connectedCallback(){let r=this.attachShadow({mode:"open"});r.innerHTML=h_+\`<main>
41
41
  <aside>
42
42
  <div class="logo"></div>
@@ -85,7 +85,7 @@ function print() { __p += __j.call(arguments, '') }
85
85
  </nav>
86
86
  </section>
87
87
  </main>
88
- \`,v_();let i=new URL(Xl,Zn);i.searchParams.set(Yl,location.href),r.getElementById("next-step").setAttribute("href",i.href)}},v_=()=>{document.title="Integrate Builder.io Visual CMS";let o=document.head.querySelector("link[rel='icon'], link[rel='icon shortcut']");o?(o.href="https://cdn.builder.io/favicon.ico",o.removeAttribute("type")):(o=document.createElement("link"),o.rel="icon",o.href="https://cdn.builder.io/favicon.ico",document.head.appendChild(o))};var Rf=async()=>{(await Jl()).isValid||y_()},y_=()=>{customElements.get("builder-dev-tools-overview")||customElements.define("builder-dev-tools-overview",Ri);let o=document.querySelector("builder-dev-tools-overview");o||(o=document.createElement("builder-dev-tools-overview"),o.setAttribute("aria-hidden","true"),document.body.appendChild(o)),setTimeout(()=>{o.removeAttribute("aria-hidden")},32)};var b_=()=>{try{customElements.get("builder-dev-tools-edit")||customElements.define("builder-dev-tools-edit",Jn),customElements.get("builder-dev-tools-menu")||customElements.define("builder-dev-tools-menu",Pi);let o=document.querySelector("builder-dev-tools-menu");o||(o=document.createElement("builder-dev-tools-menu"),o.setAttribute("data-version","0.2.23"),document.body.appendChild(o));let r=document.querySelector("builder-dev-tools-edit");r||(r=document.createElement("builder-dev-tools-edit"),document.body.appendChild(r));let i=document.getElementById("builder-dev-tools-style");i||(i=document.createElement("style"),i.id="builder-dev-tools-style",i.innerHTML=".builder-no-scroll{overflow:hidden !important}",document.head.appendChild(i)),Rf(),bf()}catch(o){console.error("Builder Devtools:",o)}};window.location===window.parent.location&&(console.debug("Builder.io Devtools v0.2.23"),b_());})();
88
+ \`,v_();let i=new URL(Xl,Zn);i.searchParams.set(Yl,location.href),r.getElementById("next-step").setAttribute("href",i.href)}},v_=()=>{document.title="Integrate Builder.io Visual CMS";let o=document.head.querySelector("link[rel='icon'], link[rel='icon shortcut']");o?(o.href="https://cdn.builder.io/favicon.ico",o.removeAttribute("type")):(o=document.createElement("link"),o.rel="icon",o.href="https://cdn.builder.io/favicon.ico",document.head.appendChild(o))};var Rf=async()=>{(await Jl()).isValid||y_()},y_=()=>{customElements.get("builder-dev-tools-overview")||customElements.define("builder-dev-tools-overview",Ri);let o=document.querySelector("builder-dev-tools-overview");o||(o=document.createElement("builder-dev-tools-overview"),o.setAttribute("aria-hidden","true"),document.body.appendChild(o)),setTimeout(()=>{o.removeAttribute("aria-hidden")},32)};var b_=()=>{try{customElements.get("builder-dev-tools-edit")||customElements.define("builder-dev-tools-edit",Jn),customElements.get("builder-dev-tools-menu")||customElements.define("builder-dev-tools-menu",Pi);let o=document.querySelector("builder-dev-tools-menu");o||(o=document.createElement("builder-dev-tools-menu"),o.setAttribute("data-version","0.2.25"),document.body.appendChild(o));let r=document.querySelector("builder-dev-tools-edit");r||(r=document.createElement("builder-dev-tools-edit"),document.body.appendChild(r));let i=document.getElementById("builder-dev-tools-style");i||(i=document.createElement("style"),i.id="builder-dev-tools-style",i.innerHTML=".builder-no-scroll{overflow:hidden !important}",document.head.appendChild(i)),Rf(),bf()}catch(o){console.error("Builder Devtools:",o)}};window.location===window.parent.location&&(console.debug("Builder.io Devtools v0.2.25"),b_());})();
89
89
  /*! Bundled license information:
90
90
 
91
91
  lodash/lodash.js:
@@ -97,7 +97,7 @@ lodash/lodash.js:
97
97
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
98
98
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
99
99
  *)
100
- */`)}async function M(e){return K(e,`<!DOCTYPE html>
100
+ */`)}async function K(e){return j(e,`<!DOCTYPE html>
101
101
  <html lang="en" dir="ltr">
102
102
  <head>
103
103
  <meta charset="utf-8" />
@@ -233,4 +233,4 @@ lodash/lodash.js:
233
233
  </script>
234
234
  </body>
235
235
  </html>
236
- `)}async function K(e,t){let r=await H(e),o=e.getFrameworks();return t.replace(/__LOCAL_APP_ID__/g,r).replace(/__DEV_TOOLS_URL__/g,e.devToolsServerUrl).replace(/__CLIENT_ID__/g,e.getClientId()).replace(/__FRAMEWORK__/g,o.length?o[0].name:"")}var j=require("os");async function q(e,t){let r=new URL("/cli-auth","https://builder.io");r.searchParams.set("client_id",e.getClientId()),r.searchParams.set("host",await e.getDeviceId()),r.searchParams.set("response_type","code"),r.searchParams.set("cli","true");let o=new URL(g,e.devToolsServerUrl);o.searchParams.set(w,(0,j.platform)()),o.searchParams.set(A,process.versions.node);let n=e.getFrameworks();return n.length>0&&(r.searchParams.set(b,n[0].name),o.searchParams.set(b,n[0].name)),r.searchParams.set("redirect_url",o.href),r.searchParams.set("preview_url",t),r.href}async function x(e,t,r,o){try{if(!e)return c(r,o,400,"Builder context closed");let n=de(r);if(n.pathname===y){if(r.method==="POST"){let a=await pe(r);if(a)try{let s=await B(e,JSON.parse(a));return Q(r,o,200,s)}catch(s){e.debug("Dev API Error",s.stack||s.message||s);let i={errors:[String(s.message||s)]};return Q(r,o,500,i)}}else if(r.method==="OPTIONS"){let a={"Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"Content-Type, Cache-Control, X-Builder-Devtools-Version"},s=r.headers.origin;if(s&&s!=="null")J(new URL(s))&&(a["Access-Control-Allow-Origin"]=s);else{let i=r.headers["user-agent"];i&&i.includes("Figma")&&(a["Access-Control-Allow-Origin"]="*")}o.writeHead(200,a),o.end();return}return c(r,o,405,`${y} is an API endpoint used only during development by the Builder.io Devtools client-side script`)}if(n.pathname===R)return ie(r,o,200,await F(e));if(n.pathname===D){let a=n.searchParams.get(T);return a?ue(o,302,await q(e,a)):c(r,o,400,`Missing ${T} querystring`)}return n.pathname===g?le(r,o,200,await M(e)):n.pathname===p?(e.debug(`Close Dev Tools Server Requested: ${n.href}`),setTimeout(()=>{try{t.close(a=>{e.debug(`Dev Tools Server Closed Error: ${a}`)})}catch(a){e.debug(`Error closing devtools server: ${a}`)}},20),c(r,o,200,"Closing Dev Tools Server")):c(r,o,404,"Not found")}catch(n){return console.error("Dev Server Error",n),c(r,o,500,`Dev Server Error: ${n}`)}}function Q(e,t,r,o){f(e,t,r,"application/json",JSON.stringify(o))}function ie(e,t,r,o){f(e,t,r,"application/javascript",o)}function le(e,t,r,o){f(e,t,r,"text/html",o)}function c(e,t,r,o){f(e,t,r,"text/plain",o)}function f(e,t,r,o,n){let a={"Content-Type":`${o}; charset=utf-8`,"Cache-Control":"no-cache, no-store, must-revalidate","X-Builder-Devtools-Version":"0.2.23"},s=e.headers.origin;if(s&&s!=="null")J(new URL(s))&&(a["Access-Control-Allow-Origin"]=s);else{let i=e.headers["user-agent"];i&&i.includes("Figma")&&(a["Access-Control-Allow-Origin"]="*")}t.writeHead(r,a),t.end(n)}function J(e){return e.hostname==="localhost"||e.origin==="https://builder.io"||e.origin==="https://www.builder.io"?!0:e.port===""?!1:e.port!=="80"&&e.port!=="443"}function ue(e,t,r){e.writeHead(t,{Location:r}),e.end()}async function pe(e){let t="";for await(let r of e)t+=r;return t}function de(e){let t=e.url||"/";return new URL(t,`http://${e.headers.host}`)}async function G(e){if(globalThis.__builderDevToolsServer)return e.debug("reusing existing devtools server"),globalThis.__builderDevToolsServer.setContext(e),globalThis.__builderDevToolsServer;let t=await ce(e),r=(0,v.createServer)((n,a)=>{x(e,r,n,a)}),o=()=>new Promise((n,a)=>{r.listening?(e.debug(`closing devtools server on port ${t}`),r.close(s=>{e=null,s?(e.debug(`error closing devtools server on port ${t}`),a(s)):(e.debug(`closed devtools server on port ${t}`),n())})):(e.debug(`devtools server on port ${t} not listening`),n())});return process.once("SIGTERM",o),process.once("SIGINT",o),process.env.CI!=="true"&&process.stdin.on("end",o),globalThis.__builderDevToolsServer={url:new URL(`http://localhost:${t}`).href,port:t,setContext:n=>{e.debug(`set devtools context on server ${t}`),e=n},close:async()=>{globalThis.__builderDevToolsServer=null,await o()}},new Promise(n=>{r.listen(t,()=>{e.debug(`started devtools server on port ${t}`),n(globalThis.__builderDevToolsServer)})})}function ce(e){return new Promise(t=>{let r=e.port;try{(0,v.request)({hostname:"localhost",port:r,path:p,method:"GET"},n=>{n.on("end",()=>{e.debug(`${p} - Response ended`),t(r)})}).on("error",n=>{e.debug(`${p} - No response ${n}`),t(r)}).end()}catch(o){e.debug(`${p} - Error ${o}`),t(r)}})}async function W(e){let t={...e,devToolsServerUrl:"",isValid:!1,publicApiKey:"",serverShouldRestart:!1,port:e.port||5273},r=e.getFrameworks().map(a=>a.name).join(", ");t.debug(`create devtools ${C} [${r}]`);let o=await G(t);return t.devToolsServerUrl=o.url,t.port=o.port,{getUrl:()=>t.devToolsServerUrl}}var C="0.2.23";0&&(module.exports={createDevToolsServer,version});
236
+ `)}async function j(e,t){let r=await O(e),o=e.getFrameworks();return t.replace(/__LOCAL_APP_ID__/g,r).replace(/__DEV_TOOLS_URL__/g,e.devToolsServerUrl).replace(/__CLIENT_ID__/g,e.getClientId()).replace(/__FRAMEWORK__/g,o.length?o[0].name:"")}var J=require("os");async function q(e,t){let r=new URL("/cli-auth","https://builder.io");r.searchParams.set("client_id",e.getClientId()),r.searchParams.set("host",await e.getDeviceId()),r.searchParams.set("response_type","code"),r.searchParams.set("cli","true");let o=new URL(g,e.devToolsServerUrl);o.searchParams.set(D,(0,J.platform)()),o.searchParams.set(E,process.versions.node);let n=e.getFrameworks();return n.length>0&&(r.searchParams.set(b,n[0].name),o.searchParams.set(b,n[0].name)),r.searchParams.set("redirect_url",o.href),r.searchParams.set("preview_url",t),r.href}async function G(e,t,r,o){try{if(!e)return c(r,o,400,"Builder context closed");let n=me(r);if(n.pathname===C){if(r.method==="POST"){let i=await ce(r);if(i)try{let s=await B(e,JSON.parse(i));return Q(r,o,200,s)}catch(s){e.debug("Dev API Error",s.stack||s.message||s);let a={errors:[String(s.message||s)]};return Q(r,o,500,a)}}else if(r.method==="OPTIONS"){let i={"Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"Content-Type, Cache-Control, X-Builder-Devtools-Version"},s=r.headers.origin;if(s&&s!=="null")W(new URL(s))&&(i["Access-Control-Allow-Origin"]=s);else{let a=r.headers["user-agent"];a&&a.includes("Figma")&&(i["Access-Control-Allow-Origin"]="*")}o.writeHead(200,i),o.end();return}return c(r,o,405,`${C} is an API endpoint used only during development by the Builder.io Devtools client-side script`)}if(n.pathname===R)return ue(r,o,200,await V(e));if(n.pathname===A){let i=n.searchParams.get(T);return i?pe(o,302,await q(e,i)):c(r,o,400,`Missing ${T} querystring`)}return n.pathname===g?de(r,o,200,await K(e)):n.pathname===d?(e.debug(`Close Dev Tools Server Requested: ${n.href}`),setTimeout(()=>{try{t.close(i=>{e.debug(`Dev Tools Server Closed Error: ${i}`)})}catch(i){e.debug(`Error closing devtools server: ${i}`)}},20),c(r,o,200,"Closing Dev Tools Server")):c(r,o,404,"Not found")}catch(n){return console.error("Dev Server Error",n),c(r,o,500,`Dev Server Error: ${n}`)}}function Q(e,t,r,o){h(e,t,r,"application/json",JSON.stringify(o))}function ue(e,t,r,o){h(e,t,r,"application/javascript",o)}function de(e,t,r,o){h(e,t,r,"text/html",o)}function c(e,t,r,o){h(e,t,r,"text/plain",o)}function h(e,t,r,o,n){let i={"Content-Type":`${o}; charset=utf-8`,"Cache-Control":"no-cache, no-store, must-revalidate","X-Builder-Devtools-Version":"0.2.25"},s=e.headers.origin;if(s&&s!=="null")W(new URL(s))&&(i["Access-Control-Allow-Origin"]=s);else{let a=e.headers["user-agent"];a&&a.includes("Figma")&&(i["Access-Control-Allow-Origin"]="*")}t.writeHead(r,i),t.end(n)}function W(e){return e.hostname==="localhost"||e.origin==="https://builder.io"||e.origin==="https://www.builder.io"?!0:e.port===""?!1:e.port!=="80"&&e.port!=="443"}function pe(e,t,r){e.writeHead(t,{Location:r}),e.end()}async function ce(e){let t="";for await(let r of e)t+=r;return t}function me(e){let t=e.url||"/";return new URL(t,`http://${e.headers.host}`)}async function z(e){if(globalThis.__builderDevToolsServer)return e.debug("reusing existing devtools server"),globalThis.__builderDevToolsServer.setContext(e),globalThis.__builderDevToolsServer;let t=await ge(e),r=(0,v.createServer)((n,i)=>{G(e,r,n,i)}),o=()=>new Promise((n,i)=>{r.listening?(e.debug(`closing devtools server on port ${t}`),r.close(s=>{e=null,s?(e.debug(`error closing devtools server on port ${t}`),i(s)):(e.debug(`closed devtools server on port ${t}`),n())})):(e.debug(`devtools server on port ${t} not listening`),n())});return process.once("SIGTERM",o),process.once("SIGINT",o),process.env.CI!=="true"&&process.stdin.on("end",o),globalThis.__builderDevToolsServer={url:new URL(`http://localhost:${t}`).href,port:t,setContext:n=>{e.debug(`set devtools context on server ${t}`),e=n},close:async()=>{globalThis.__builderDevToolsServer=null,await o()}},new Promise(n=>{r.listen(t,()=>{e.debug(`started devtools server on port ${t}`),n(globalThis.__builderDevToolsServer)})})}function ge(e){return new Promise(t=>{let r=e.port;try{(0,v.request)({hostname:"localhost",port:r,path:d,method:"GET"},n=>{n.on("end",()=>{e.debug(`${d} - Response ended`),t(r)})}).on("error",n=>{e.debug(`${d} - No response ${n}`),t(r)}).end()}catch(o){e.debug(`${d} - Error ${o}`),t(r)}})}async function Y(e){let t={...e,devToolsServerUrl:"",isValid:!1,publicApiKey:"",serverShouldRestart:!1,port:e.port||5273},r=e.getFrameworks().map(i=>i.name).join(", ");t.debug(`create devtools ${_} [${r}]`);let o=await z(t);return t.devToolsServerUrl=o.url,t.port=o.port,{getUrl:()=>t.devToolsServerUrl}}var _="0.2.25";0&&(module.exports={createDevToolsServer,version});