PageSourceSearch

https://rentaltide.com/assets/Developers-OFFVt6g3.js

js rentaltide.com collected 2026-09-24 20:31:59 UTC 115,140 bytes, 253 lines download raw bytes

1import{u as Z,j as t,B as z,p as Ke,aB as ke,z as qe,q as He,r as We,P as X,aC as Ye,aD as Ve,t as re,v as Xe,c as oe,aE as we,N as Je}from"./index-BBlr5mjY.js";import Qe from"./Footer-BcvGzZsu.js";import{B as D}from"./badge-DK7TVT4D.js";import{G as et,t as tt,by as Ee,Z as at,J as le,E as nt,aH as rt,aw as st,bz as ot,bu as lt,bA as me,bB as se,aD as it,bC as ct,b2 as ut,V as dt,ap as pt,r as S,c as gt,aX as yt,aE as mt,bD as bt,u as ft,bE as ht,bj as be,bx as xt,bk as vt}from"./vendor-icons-DdDstFZX.js";import{C as ie,c as ce,a as kt,b as wt}from"./card-D0bVRDg_.js";import{u as Et,a as At}from"./use-transform-BFB3cFvC.js";import{u as _t}from"./use-spring-u9-oOJnB.js";import{m as jt}from"./proxy-CR9bG-GD.js";import{S as Nt}from"./SEOHead-Wid-dq_R.js";const St=()=>{const{t:e}=Z(),a=[{icon:et,label:e("developers.hero.statApi")},{icon:tt,label:e("developers.hero.statOAuth")},{icon:Ee,label:e("developers.hero.statWebhooks")},{icon:at,label:e("developers.hero.statUptime")}];return t.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden",children:[t.jsx("div",{className:"absolute inset-0 hero-bg"}),t.jsx("div",{className:"absolute top-1/3 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] rounded-full bg-primary/5 blur-3xl"}),t.jsx("div",{className:"container mx-auto px-6 relative z-10",children:t.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[t.jsxs("div",{className:"max-w-xl",children:[t.jsx(D,{variant:"outline",className:"mb-6 text-primary border-primary/30 bg-primary/5",children:e("developers.hero.badge")}),t.jsxs("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-bold tracking-tight mb-6",children:[e("developers.hero.titlePrefix")," ",t.jsx("span",{className:"text-gradient-primary",children:e("developers.hero.titleHighlight")})]}),t.jsx("p",{className:"text-lg text-muted-foreground mb-8 leading-relaxed",children:e("developers.hero.subtitle")}),t.jsxs("div",{className:"flex flex-wrap gap-4 mb-12",children:[t.jsxs(z,{variant:"hero",size:"lg",onClick:()=>window.open("https://partners.rentaltide.com","_blank"),children:[e("developers.hero.ctaKeys"),t.jsx(le,{className:"ml-2 h-4 w-4"})]}),t.jsxs(z,{variant:"outline",size:"lg",onClick:()=>window.open("https://v3.api.rentaltide.com/docs","_blank"),children:[e("developers.hero.ctaDocs"),t.jsx(nt,{className:"ml-2 h-4 w-4"})]})]}),t.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-4",children:a.map(({icon:n,label:l})=>t.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[t.jsx(n,{className:"h-4 w-4 text-primary shrink-0"}),t.jsx("span",{children:l})]},l))})]}),t.jsx("div",{className:"hidden lg:block",children:t.jsxs("div",{className:"terminal-window shadow-2xl animate-float",children:[t.jsxs("div",{className:"terminal-header",children:[t.jsx("div",{className:"terminal-dot terminal-dot-red"}),t.jsx("div",{className:"terminal-dot terminal-dot-yellow"}),t.jsx("div",{className:"terminal-dot terminal-dot-green"}),t.jsx("span",{className:"ml-2 text-xs text-gray-400 font-mono",children:"GET /v3/bookings"})]}),t.jsx("div",{className:"terminal-body code-scrollbar",children:t.jsx("pre",{className:"text-sm font-mono leading-relaxed text-gray-300",children:`{
2  "data": [
3    {
4      "id": "bk_2xK9mP4vL7",
5      "status": "confirmed",
6      "asset": {
7        "name": "Pontoon Sunset Cruiser",
8        "type": "boat"
9      },
10      "customer": {
11        "name": "Jane Cooper",
12        "email": "[email protected]"
13      },
14      "start_time": "2026-03-15T10:00:00Z",
15      "end_time": "2026-03-15T14:00:00Z",
16      "total": 24900,
17      "currency": "usd"
18    }
19  ],
20  "has_more": true
21}`})})]})})]})})]})},Tt=()=>{const{t:e}=Z(),a=[{icon:rt,titleKey:"developers.registration.step1Title",descKey:"developers.registration.step1Desc",color:"text-blue-500",bg:"bg-blue-500/10"},{icon:st,titleKey:"developers.registration.step2Title",descKey:"developers.registration.step2Desc",color:"text-violet-500",bg:"bg-violet-500/10"},{icon:ot,titleKey:"developers.registration.step3Title",descKey:"developers.registration.step3Desc",color:"text-amber-500",bg:"bg-amber-500/10"},{icon:lt,titleKey:"developers.registration.step4Title",descKey:"developers.registration.step4Desc",color:"text-green-500",bg:"bg-green-500/10"}];return t.jsx("section",{className:"py-20",children:t.jsxs("div",{className:"container mx-auto px-6",children:[t.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-14",children:[t.jsxs("h2",{className:"text-3xl sm:text-4xl font-bold mb-4",children:[e("developers.registration.title")," ",t.jsx("span",{className:"text-gradient-primary",children:e("developers.registration.titleHighlight")})]}),t.jsx("p",{className:"text-muted-foreground text-lg",children:e("developers.registration.subtitle")})]}),t.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto",children:a.map((n,l)=>{const u=n.icon;return t.jsx(ie,{className:"feature-card border-border/50 bg-card/50 backdrop-blur-sm",children:t.jsxs(ce,{className:"pt-8 pb-6 px-6 text-center",children:[t.jsx("span",{className:"inline-flex items-center justify-center w-8 h-8 rounded-full bg-primary/10 text-primary text-sm font-bold mb-4",children:l+1}),t.jsx("div",{className:`inline-flex items-center justify-center w-12 h-12 rounded-xl ${n.bg} mb-4`,children:t.jsx(u,{className:`h-6 w-6 ${n.color}`})}),t.jsx("h3",{className:"font-semibold text-lg mb-2",children:e(n.titleKey)}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e(n.descKey)})]})},l)})})]})})},Ft=()=>{const{t:e}=Z(),a=[{icon:me,titleKey:"developers.credentials.feat1Title",descKey:"developers.credentials.feat1Desc"},{icon:ut,titleKey:"developers.credentials.feat2Title",descKey:"developers.credentials.feat2Desc"},{icon:dt,titleKey:"developers.credentials.feat3Title",descKey:"developers.credentials.feat3Desc"},{icon:pt,titleKey:"developers.credentials.feat4Title",descKey:"developers.credentials.feat4Desc"}];return t.jsx("section",{className:"py-20 ai-section-bg",children:t.jsxs("div",{className:"container mx-auto px-6",children:[t.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-14",children:[t.jsxs("h2",{className:"text-3xl sm:text-4xl font-bold mb-4",children:[e("developers.credentials.title")," ",t.jsx("span",{className:"text-gradient-primary",children:e("developers.credentials.titleHighlight")})]}),t.jsx("p",{className:"text-muted-foreground text-lg",children:e("developers.credentials.subtitle")})]}),t.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center max-w-5xl mx-auto",children:[t.jsx("div",{className:"space-y-6",children:a.map(({icon:n,titleKey:l,descKey:u},x)=>t.jsxs("div",{className:"flex gap-4",children:[t.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center",children:t.jsx(n,{className:"h-5 w-5 text-primary"})}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-semibold mb-1",children:e(l)}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e(u)})]})]},x))}),t.jsxs(ie,{className:"border-border/50 bg-card/80 backdrop-blur-sm shadow-xl",children:[t.jsx(kt,{className:"pb-4",children:t.jsxs(wt,{className:"text-lg flex items-center gap-2",children:[t.jsx(me,{className:"h-5 w-5 text-primary"}),e("developers.credentials.panelTitle")]})}),t.jsxs(ce,{className:"space-y-5",children:[t.jsxs("div",{children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:e("developers.credentials.clientId")}),t.jsxs("div",{className:"mt-1.5 flex items-center gap-2 bg-muted/50 rounded-lg px-3 py-2.5 font-mono text-sm",children:[t.jsx("span",{className:"truncate text-foreground
21/80",children:"rt_live_ck_2xK9mP4v...L7qR"}),t.jsx(z,{variant:"ghost",size:"icon",className:"h-7 w-7 shrink-0",children:t.jsx(se,{className:"h-3.5 w-3.5"})})]})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider",children:e("developers.credentials.clientSecret")}),t.jsxs("div",{className:"mt-1.5 flex items-center gap-2 bg-muted/50 rounded-lg px-3 py-2.5 font-mono text-sm",children:[t.jsx("span",{className:"truncate text-foreground/80",children:"••••••••••••••••••••••••••••"}),t.jsx(z,{variant:"ghost",size:"icon",className:"h-7 w-7 shrink-0",children:t.jsx(it,{className:"h-3.5 w-3.5"})})]})]}),t.jsxs("div",{children:[t.jsx("label",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wider mb-2 block",children:e("developers.credentials.scopes")}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(D,{variant:"secondary",className:"text-xs",children:"bookings:read"}),t.jsx(D,{variant:"secondary",className:"text-xs",children:"bookings:write"}),t.jsx(D,{variant:"secondary",className:"text-xs",children:"assets:read"}),t.jsx(D,{variant:"secondary",className:"text-xs",children:"customers:read"}),t.jsx(D,{variant:"secondary",className:"text-xs",children:"webhooks:manage"})]})]}),t.jsxs("div",{className:"flex gap-3 pt-2",children:[t.jsxs(z,{variant:"outline",size:"sm",className:"flex-1",children:[t.jsx(ct,{className:"h-3.5 w-3.5 mr-2"}),e("developers.credentials.rotateSecret")]}),t.jsxs(z,{variant:"outline",size:"sm",className:"flex-1",children:[t.jsx(se,{className:"h-3.5 w-3.5 mr-2"}),e("developers.credentials.copyId")]})]})]})]})]})]})})};var J="Tabs",[Rt,on]=Ke(J,[ke]),Ae=ke(),[It,ue]=Rt(J),_e=S.forwardRef((e,a)=>{const{__scopeTabs:n,value:l,onValueChange:u,defaultValue:x,orientation:c="horizontal",dir:h,activationMode:g="automatic",...y}=e,m=qe(h),[p,v]=He({prop:l,onChange:u,defaultProp:x??"",caller:J});return t.jsx(It,{scope:n,baseId:We(),value:p,onValueChange:v,orientation:c,dir:m,activationMode:g,children:t.jsx(X.div,{dir:m,"data-orientation":c,...y,ref:a})})});_e.displayName=J;var je="TabsList",Ne=S.forwardRef((e,a)=>{const{__scopeTabs:n,loop:l=!0,...u}=e,x=ue(je,n),c=Ae(n);return t.jsx(Ye,{asChild:!0,...c,orientation:x.orientation,dir:x.dir,loop:l,children:t.jsx(X.div,{role:"tablist","aria-orientation":x.orientation,...u,ref:a})})});Ne.displayName=je;var Se="TabsTrigger",Te=S.forwardRef((e,a)=>{const{__scopeTabs:n,value:l,disabled:u=!1,...x}=e,c=ue(Se,n),h=Ae(n),g=Ie(c.baseId,l),y=Ce(c.baseId,l),m=l===c.value;return t.jsx(Ve,{asChild:!0,...h,focusable:!u,active:m,children:t.jsx(X.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":y,"data-state":m?"active":"inactive","data-disabled":u?"":void 0,disabled:u,id:g,...x,ref:a,onMouseDown:re(e.onMouseDown,p=>{!u&&p.button===0&&p.ctrlKey===!1?c.onValueChange(l):p.preventDefault()}),onKeyDown:re(e.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(l)}),onFocus:re(e.onFocus,()=>{const p=c.activationMode!=="manual";!m&&!u&&p&&c.onValueChange(l)})})})});Te.displayName=Se;var Fe="TabsContent",Re=S.forwardRef((e,a)=>{const{__scopeTabs:n,value:l,forceMount:u,children:x,...c}=e,h=ue(Fe,n),g=Ie(h.baseId,l),y=Ce(h.baseId,l),m=l===h.value,p=S.useRef(m);return S.useEffect(()=>{const v=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(v)},[]),t.jsx(Xe,{present:u||m,children:({present:v})=>t.jsx(X.div,{"data-state":m?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":g,hidden:!v,id:y,tabIndex:0,...c,ref:a,style:{...e.style,animationDuration:p.current?"0s":void 0},children:v&&x})})});Re.displayName=Fe;function Ie(e,a){return`${e}-trigger-${a}`}function Ce(e,a){return`${e}-content-${a}`}var Ct=_e,Le=Ne,Oe=Te,De=Re;const Be=Ct,de=S.forwardRef(({className:e,...a},n)=>t.jsx(Le,{ref:n,className:oe("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...a}));de.displayName=Le.displayName;const M=S.forwardRef(({className:e,...a},n)=>t.jsx(Oe,{ref:n,className:oe("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...a}));M.displayName=Oe.displayName;const G=S.forwardRef(({className:e,...a},n)=>t.jsx(De,{ref:n,className:oe("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...a}));G.displayName=De.displayName;var Lt=Object.create,Q=Object.defineProperty,Ot=Object.defineProperties,Dt=Object.getOwnPropertyDescriptor,Bt=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertyNames,V=Object.getOwnPropertySymbols,Pt=Object.getPrototypeOf,pe=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,fe=(e,a,n)=>a in e?Q(e,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[a]=n,L=(e,a)=>{for(var n in a||(a={}))pe.call(a,n)&&fe(e,n,a[n]);if(V)for(var n of V(a))$e.call(a,n)&&fe(e,n,a[n]);return e},ee=(e,a)=>Ot(e,Bt(a)),ze=(e,a)=>{var n={};for(var l in e)pe.call(e,l)&&a.indexOf(l)<0&&(n[l]=e[l]);
vendor: 6,001 bytes, line 21
21if(e!=null&&V)for(var l of V(e))a.indexOf(l)<0&&$e.call(e,l)&&(n[l]=e[l]);return n},$t=(e,a)=>function(){return a||(0,e[Pe(e)[0]])((a={exports:{}}).exports,a),a.exports},zt=(e,a)=>{for(var n in a)Q(e,n,{get:a[n],enumerable:!0})},Mt=(e,a,n,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let u of Pe(a))!pe.call(e,u)&&u!==n&&Q(e,u,{get:()=>a[u],enumerable:!(l=Dt(a,u))||l.enumerable});return e},Gt=(e,a,n)=>(n=e!=null?Lt(Pt(e)):{},Mt(!e||!e.__esModule?Q(n,"default",{value:e,enumerable:!0}):n,e)),Ut=$t({"../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,a){var n=function(){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,u=0,x={},c={util:{encode:function s(r){return r instanceof h?new h(r.type,s(r.content),r.alias):Array.isArray(r)?r.map(s):r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(s){return Object.prototype.toString.call(s).slice(8,-1)},objId:function(s){return s.__id||Object.defineProperty(s,"__id",{value:++u}),s.__id},clone:function s(r,i){i=i||{};var b,d;switch(c.util.type(r)){case"Object":if(d=c.util.objId(r),i[d])return i[d];b={},i[d]=b;for(var f in r)r.hasOwnProperty(f)&&(b[f]=s(r[f],i));return b;case"Array":return d=c.util.objId(r),i[d]?i[d]:(b=[],i[d]=b,r.forEach(function(k,w){b[w]=s(k,i)}),b);default:return r}},getLanguage:function(s){for(;s;){var r=l.exec(s.className);if(r)return r[1].toLowerCase();s=s.parentElement}return"none"},setLanguage:function(s,r){s.className=s.className.replace(RegExp(l,"gi"),""),s.classList.add("language-"+r)},isActive:function(s,r,i){for(var b="no-"+r;s;){var d=s.classList;if(d.contains(r))return!0;if(d.contains(b))return!1;s=s.parentElement}return!!i}},languages:{plain:x,plaintext:x,text:x,txt:x,extend:function(s,r){var i=c.util.clone(c.languages[s]);for(var b in r)i[b]=r[b];return i},insertBefore:function(s,r,i,b){b=b||c.languages;var d=b[s],f={};for(var k in d)if(d.hasOwnProperty(k)){if(k==r)for(var w in i)i.hasOwnProperty(w)&&(f[w]=i[w]);i.hasOwnProperty(k)||(f[k]=d[k])}var _=b[s];return b[s]=f,c.languages.DFS(c.languages,function(A,N){N===_&&A!=s&&(this[A]=f)}),f},DFS:function s(r,i,b,d){d=d||{};var f=c.util.objId;for(var k in r)if(r.hasOwnProperty(k)){i.call(r,k,r[k],b||k);var w=r[k],_=c.util.type(w);_==="Object"&&!d[f(w)]?(d[f(w)]=!0,s(w,i,null,d)):_==="Array"&&!d[f(w)]&&(d[f(w)]=!0,s(w,i,k,d))}}},plugins:{},highlight:function(s,r,i){var b={code:s,grammar:r,language:i};if(c.hooks.run("before-tokenize",b),!b.grammar)throw new Error('The language "'+b.language+'" has no grammar.');return b.tokens=c.tokenize(b.code,b.grammar),c.hooks.run("after-tokenize",b),h.stringify(c.util.encode(b.tokens),b.language)},tokenize:function(s,r){var i=r.rest;if(i){for(var b in i)r[b]=i[b];delete r.rest}var d=new m;return p(d,d.head,s),y(s,d,r,d.head,0),E(d)},hooks:{all:{},add:function(s,r){var i=c.hooks.all;i[s]=i[s]||[],i[s].push(r)},run:function(s,r){var i=c.hooks.all[s];if(!(!i||!i.length))for(var b=0,d;d=i[b++];)d(r)}},Token:h};function h(s,r,i,b){this.type=s,this.content=r,this.alias=i,this.length=(b||"").length|0}h.stringify=function s(r,i){if(typeof r=="string")return r;if(Array.isArray(r)){var b="";return r.forEach(function(_){b+=s(_,i)}),b}var d={type:r.type,content:s(r.content,i),tag:"span",classes:["token",r.type],attributes:{},language:i},f=r.alias;f&&(Array.isArray(f)?Array.prototype.push.apply(d.classes,f):d.classes.push(f)),c.hooks.run("wrap",d);var k="";for(var w in d.attributes)k+=" "+w+'="'+(d.attributes[w]||"").replace(/"/g,"&quot;")+'"';return"<"+d.tag+' class="'+d.classes.join(" ")+'"'+k+">"+d.content+"</"+d.tag+">"};function g(s,r,i,b){s.lastIndex=r;var d=s.exec(i);if(d&&b&&d[1]){var f=d[1].length;d.index+=f,d[0]=d[0].slice(f)}return d}function y(s,r,i,b,d,f){for(var k in i)if(!(!i.hasOwnProperty(k)||!i[k])){var w=i[k];w=Array.isArray(w)?w:[w];for(var _=0;_<w.length;++_){if(f&&f.cause==k+","+_)return;var A=w[_],N=A.inside,T=!!A.lookbehind,P=!!A.greedy,O=A.alias;if(P&&!A.pattern.global){var I=A.pattern.toString().match(/[imsuy]*$/)[0];A.pattern=RegExp(A.pattern.source,I+"g")}for(var ge=A.pattern||A,j=b.next,C=d;j!==r.tail&&!(f&&C>=f.reach);C+=j.value.length,j=j.next){var U=j.value;if(r.length>s.length)return;if(!(U instanceof h)){var q=1,R;if(P){if(R=g(ge,C,s,T),!R||R.index>=s.length)break;var H=R.index,Ue=R.index+R[0].length,$=C;for($+=j.value.length;H>=$;)j=j.next,$+=j.value.length;if($-=j.value.length,C=$,j.value instanceof h)continue;for(var K=j;K!==r.tail&&($<Ue||typeof K.value=="string");K=K.next)q++,$+=K.value.length;q--,U=s.slice(C,$),R.index-=C}else if(R=g(ge,0,U,T),!R)continue;var H=R.index,W=R[0],te=U.slice(0,H),ye=U.slice(H+W.length),ae=C+U.length;f&&ae>f.reach&&(f.reach=ae);var Y=j.prev;te&&(Y=p(r,Y,te),C+=te.length),v(r,Y,q);var Ze=new h(k,N?c.tokenize(W,N):W,O,W);if(j=p(r,Y,Ze),ye&&p(r,j,ye),q>1){var ne={cause:k+","+_,reach:ae};y(s,r,i,j.prev,C,ne),f&&ne.reach>f.reach&&(f.reach=ne.reach)}}}}}}function m(){var s={value:null,prev:null,next:null},r={value:null,prev:s,next:null};s.next=r,this.head=s,this.tail=r,this.length=0}function p(s,r,i){var b=r.next,d={value:i,prev:r,next:b};return r.next=d,b.prev=d,s.length++,d}function v(s,r,i){for(var b=r.next,d=0;d<i&&b!==s.tail;d++)b=b.next;r.next=b,b.prev=r,s.length-=d}function E(s){for(var r=[],i=s.head.next;i!==s.tail;)r.push(i.value),i=i.next;return r}return c}();a.exports=n,n.default=n}}),o=Gt(Ut());o.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>
21\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},o.languages.markup.tag.inside["attr-value"].inside.entity=o.languages.markup.entity,o.languages.markup.doctype.inside["internal-subset"].inside=o.languages.markup,o.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(o.languages.markup.tag,"addInlined",{value:function(e,l){var n={},n=(n["language-"+l]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:o.languages[l]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),l=(n["language-"+l]={pattern:/[\s\S]+/,inside:o.languages[l]},{});l[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},o.languages.insertBefore("markup","cdata",l)}}),Object.defineProperty(o.languages.markup.tag,"addAttribute",{value:function(e,a){o.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:o.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),o.languages.html=o.languages.markup,o.languages.mathml=o.languages.markup,o.languages.svg=o.languages.markup,o.languages.xml=o.languages.extend("markup",{}),o.languages.ssml=o.languages.xml,o.languages.atom=o.languages.xml,o.languages.rss=o.languages.xml,function(e){var a={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,l="(?:[^\\\\-]|"+n.source+")",l=RegExp(l+"-"+l),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":a,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":a,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(o),o.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},o.languages.javascript=o.languages.extend("clike",{"class-name":[o.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?
21:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),o.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,o.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:o.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:o.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:o.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:o.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:o.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),o.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:o.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),o.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),o.languages.markup&&(o.languages.markup.tag.addInlined("script","javascript"),o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),o.languages.js=o.languages.javascript,o.languages.actionscript=o.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),o.languages.actionscript["class-name"].alias="function",delete o.languages.actionscript.parameter,delete o.languages.actionscript["literal-property"],o.languages.markup&&o.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:o.languages.markup}}),function(e){var a=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:a,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0}
vendor: 1,566 bytes, line 21
21,{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:a,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(o),function(e){var a=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(a,"addSupport",{value:function(n,l){(n=typeof n=="string"?[n]:n).forEac
21h(function(u){var x=function(p){p.inside||(p.inside={}),p.inside.rest=l},c="doc-comment";if(h=e.languages[u]){var h,g=h[c];if((g=g||(h=e.languages.insertBefore(u,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[c])instanceof RegExp&&(g=h[c]={pattern:g}),Array.isArray(g))for(var y=0,m=g.length;y<m;y++)g[y]instanceof RegExp&&(g[y]={pattern:g[y]}),x(g[y]);else x(g)}})}}),a.addSupport(["java","javascript","php"],a)}(o),function(e){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,a=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+a.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup);a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}(o),function(e){var a=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,a=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:a={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+a.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[a,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=a,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])
21/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:n})}(o),function(e){var a=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,l="(?:"+n.source+"(?:[ 	]+"+a.source+")?|"+a.source+"(?:[ 	]+"+n.source+")?)",u=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),x=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(h,g){g=(g||"").replace(/m/g,"")+"m";var y=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return l}).replace(/<<value>>/g,function(){return h});return RegExp(y,g)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return l})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return l}).replace(/<<key>>/g,function(){return"(?:"+u+"|"+x+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(x),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(o),function(e){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(y){return y=y.replace(/<inner>/g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+y+")")}var l=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return l}),x=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,c=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+x+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+x+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(l),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+x+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(l),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"}
21,list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(y){["url","bold","italic","strike","code-snippet"].forEach(function(m){y!==m&&(e.languages.markdown[y].inside.content.inside[m]=e.languages.markdown[m])})}),e.hooks.add("after-tokenize",function(y){y.language!=="markdown"&&y.language!=="md"||function m(p){if(p&&typeof p!="string")for(var v=0,E=p.length;v<E;v++){var s,r=p[v];r.type!=="code"?m(r.content):(s=r.content[1],r=r.content[3],s&&r&&s.type==="code-language"&&r.type==="code-block"&&typeof s.content=="string"&&(s=s.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase()),r.alias?typeof r.alias=="string"?r.alias=[r.alias,s]:r.alias.push(s):r.alias=[s]))}}(y.tokens)}),e.hooks.add("wrap",function(y){if(y.type==="code-block"){for(var m="",p=0,v=y.classes.length;p<v;p++){var E=y.classes[p],E=/language-(.+)/.exec(E);if(E){m=E[1];break}}var s,r=e.languages[m];r?y.content=e.highlight(function(i){return i=i.replace(c,""),i=i.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,d){var f;return(d=d.toLowerCase())[0]==="#"?(f=d[1]==="x"?parseInt(d.slice(2),16):Number(d.slice(1)),g(f)):h[d]||b})}(y.content),r,m):m&&m!=="none"&&e.plugins.autoloader&&(s="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),y.attributes.id=s,e.plugins.autoloader.loadLanguages(m,function(){var i=document.getElementById(s);i&&(i.innerHTML=e.highlight(i.textContent,e.languages[m],m))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),h={amp:"&",lt:"<",gt:">",quot:'"'},g=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(o),o.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:o.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},o.hooks.add("after-tokenize",function(e){if(e.language==="graphql")for(var a=e.tokens.filter(function(s){return typeof s!="str
21ing"&&s.type!=="comment"&&s.type!=="scalar"}),n=0;n<a.length;){var l=a[n++];if(l.type==="keyword"&&l.content==="mutation"){var u=[];if(p(["definition-mutation","punctuation"])&&m(1).content==="("){n+=2;var x=v(/^\($/,/^\)$/);if(x===-1)continue;for(;n<x;n++){var c=m(0);c.type==="variable"&&(E(c,"variable-input"),u.push(c.content))}n=x+1}if(p(["punctuation","property-query"])&&m(0).content==="{"&&(n++,E(m(0),"property-mutation"),0<u.length)){var h=v(/^\{$/,/^\}$/);if(h!==-1)for(var g=n;g<h;g++){var y=a[g];y.type==="variable"&&0<=u.indexOf(y.content)&&E(y,"variable-input")}}}}function m(s){return a[n+s]}function p(s,r){r=r||0;for(var i=0;i<s.length;i++){var b=m(i+r);if(!b||b.type!==s[i])return}return 1}function v(s,r){for(var i=1,b=n;b<a.length;b++){var d=a[b],f=d.content;if(d.type==="punctuation"&&typeof f=="string"){if(s.test(f))i++;else if(r.test(f)&&--i===0)return b}}return-1}function E(s,r){var i=s.alias;i?Array.isArray(i)||(s.alias=i=[i]):s.alias=i=[],i.push(r)}}),o.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var a=e.languages.javascript["template-string"],n=a.pattern.source,l=a.inside.interpolation,u=l.inside["interpolation-punctuation"],x=l.pattern.source;function c(p,v){if(e.languages[p])return{pattern:RegExp("((?:"+v+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:p}}}}function h(p,v,E){return p={code:p,grammar:v,language:E},e.hooks.run("before-tokenize",p),p.tokens=e.tokenize(p.code,p.grammar),e.hooks.run("after-tokenize",p),p.tokens}function g(p,v,E){var i=e.tokenize(p,{interpolation:{pattern:RegExp(x),lookbehind:!0}}),s=0,r={}
21,i=h(i.map(function(d){if(typeof d=="string")return d;for(var f,k,d=d.content;p.indexOf((k=s++,f="___"+E.toUpperCase()+"_"+k+"___"))!==-1;);return r[f]=d,f}).join(""),v,E),b=Object.keys(r);return s=0,function d(f){for(var k=0;k<f.length;k++){if(s>=b.length)return;var w,_,A,N,T,P,O,I=f[k];typeof I=="string"||typeof I.content=="string"?(w=b[s],(O=(P=typeof I=="string"?I:I.content).indexOf(w))!==-1&&(++s,_=P.substring(0,O),T=r[w],A=void 0,(N={})["interpolation-punctuation"]=u,(N=e.tokenize(T,N)).length===3&&((A=[1,1]).push.apply(A,h(N[1],e.languages.javascript,"javascript")),N.splice.apply(N,A)),A=new e.Token("interpolation",N,l.alias,T),N=P.substring(O+w.length),T=[],_&&T.push(_),T.push(A),N&&(d(P=[N]),T.push.apply(T,P)),typeof I=="string"?(f.splice.apply(f,[k,1].concat(T)),k+=T.length-1):I.content=T)):(O=I.content,Array.isArray(O)?d(O):d([O]))}}(i),new e.Token(E,i,"language-"+E,p)}e.languages.javascript["template-string"]=[c("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),c("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),c("svg",/\bsvg/.source),c("markdown",/\b(?:markdown|md)/.source),c("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),c("sql",/\bsql/.source),a].filter(Boolean);var y={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function m(p){return typeof p=="string"?p:Array.isArray(p)?p.map(m).join(""):m(p.content)}e.hooks.add("after-tokenize",function(p){p.language in y&&function v(E){for(var s=0,r=E.length;s<r;s++){var i,b,d,f=E[s];typeof f!="string"&&(i=f.content,Array.isArray(i)?f.type==="template-string"?(f=i[1],i.length===3&&typeof f!="string"&&f.type==="embedded-code"&&(b=m(f),f=f.alias,f=Array.isArray(f)?f[0]:f,d=e.languages[f])&&(i[1]=g(b,d,f))):v(i):typeof i!="string"&&v([i]))}}(p.tokens)})}(o),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var a=e.languages.extend("typescript",{});delete a["class-name"],e.languages.typescript["class-name"].inside=a,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a}}}}),e.languages.ts=e.languages.typescript}(o),function(e){var a=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,l="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(l+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(l+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:a,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:a.string,number:a.number,boolean:a.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s
21*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:a,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(o),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(o),o.languages.n4js=o.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),o.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),o.languages.n4jsd=o.languages.n4js,function(e){function a(c,h){return RegExp(c.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:a(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:a(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:a(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],l=0;l<n.length;l++){var x=n[l],u=e.languages.javascript[x],x=(u=e.util.type(u)==="RegExp"?e.languages.javascript[x]={pattern:u}:u).inside||{};(u.inside=x)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(o),function(e){var a=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,l=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function x(g,y){return g=g.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return l}).replace(/<SPREAD>/g,function(){return u}),RegExp(g,y)}u=x(u).source,e.languages.jsx=e.languages.extend("markup",a),e.languages.jsx.tag.pattern=x(/<\/?(?:[\w.:-]+(?:<S>
21+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=a.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:x(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:x(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);function c(g){for(var y=[],m=0;m<g.length;m++){var p=g[m],v=!1;typeof p!="string"&&(p.type==="tag"&&p.content[0]&&p.content[0].type==="tag"?p.content[0].content[0].content==="</"?0<y.length&&y[y.length-1].tagName===h(p.content[0].content[1])&&y.pop():p.content[p.content.length-1].content!=="/>"&&y.push({tagName:h(p.content[0].content[1]),openedBraces:0}):0<y.length&&p.type==="punctuation"&&p.content==="{"?y[y.length-1].openedBraces++:0<y.length&&0<y[y.length-1].openedBraces&&p.type==="punctuation"&&p.content==="}"?y[y.length-1].openedBraces--:v=!0),(v||typeof p=="string")&&0<y.length&&y[y.length-1].openedBraces===0&&(v=h(p),m<g.length-1&&(typeof g[m+1]=="string"||g[m+1].type==="plain-text")&&(v+=h(g[m+1]),g.splice(m+1,1)),0<m&&(typeof g[m-1]=="string"||g[m-1].type==="plain-text")&&(v=h(g[m-1])+v,g.splice(m-1,1),m--),g[m]=new e.Token("plain-text",v,null,v)),p.content&&typeof p.content!="string"&&c(p.content)}}var h=function(g){return g?typeof g=="string"?g:typeof g.content=="string"?g.content:g.content.map(h).join(""):""};e.hooks.add("after-tokenize",function(g){g.language!=="jsx"&&g.language!=="tsx"||c(g.tokens)})}(o),function(e){var a=e.util.clone(e.languages.typescript),a=(e.languages.tsx=e.languages.extend("jsx",a),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag);a.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+a.pattern.source+")",a.pattern.flags),a.lookbehind=!0}(o),o.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ 	]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},o.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=o.languages.swift}),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?
21:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var a={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:a},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:a},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(o),o.languages.c=o.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),o.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),o.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},o.languages.c.string],char:o.languages.c.char,comment:o.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:o.languages.c}}}}),o.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete o.languages.c.boolean,o.languages.objectivec=o.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete o.languages.objectivec["class-name"],o.languages.objc=o.languages.objectivec,o.languages.reason=o.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),o.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete o.languages.reason.function,function(e){for(var a=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)a=a.replace(/<self>/g,function(){return a});a=a.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+a),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}
vendor: 11,640 bytes, line 21
21],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(o),o.languages.go=o.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),o.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete o.languages.go["class-name"],function(e){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return a.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(o),o.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},o.languages.python["string-interpolation"].inside.interpolation.inside.rest=o.languages.python,o.languages.py=o.languages.python,o.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},o.languages.webmanifest=o.languages.json;var Me={};zt(Me,{dracula:()=>Kt,duotoneDark:()=>Ht,duotoneLight:()=>Yt,github:()=>Xt,gruvboxMaterialDark:()=>ja,gruvboxMaterialLight:()=>Sa,jettwaveDark:()=>ha,jettwaveLight:()=>va,nightOwl:()=>Qt,nightOwlLight:()=>ta,oceanicNext:()=>na,okaidia:()=>sa,oneDark:()=>wa,oneLight:()=>Aa,palenight:()=>la,shadesOfPurple:()=>ca,synthwave84:()=>da,ultramin:()=>ga,vsDark:()=>Ge,vsLight:()=>ba});var Zt={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},Kt=Zt,qt={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},Ht=qt,Wt={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Yt=Wt,Vt={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}}
21,{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},Xt=Vt,Jt={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Qt=Jt,ea={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},ta=ea,F={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},aa={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:F.keyword}},{types:["attr-value"],style:{color:F.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:F.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:F.primitive}},{types:["boolean"],style:{color:F.boolean}},{types:["tag"],style:{color:F.tag}},{types:["string"],style:{color:F.string}},{types:["punctuation"],style:{color:F.string}},{types:["selector","char","builtin","inserted"],style:{color:F.char}},{types:["function"],style:{color:F.function}},{types:["operator","entity","url","variable"],style:{color:F.variable}},{types:["keyword"],style:{color:F.keyword}},{types:["atrule","class-name"],style:{color:F.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},na=aa,ra={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},sa=ra,oa={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},la=oa,ia={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},ca=ia,ua={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},da=ua,pa={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]}
21,ga=pa,ya={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},Ge=ya,ma={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}}
21,{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ba=ma,fa={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ha=fa,xa={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},va=xa,ka={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},wa=ka,Ea={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},Aa=Ea,_a={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},ja=_a,Na={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},Sa=Na,Ta=e=>S.useCallback(a=>{var n=a,{className:l,style:u,line:x}=n,c=ze(n,["className","style","line"]);const h=ee(L({},c),{className:we("token-line",l)});return typeof e=="object"&&"plain"in e&&(h.style=e.plain),typeof u=="object"&&(h.style=L(L({},h.style||{}),u)),h},[e]),Fa=e=>{const a=S.useCallback(({types:n,empty:l})=>
21{if(e!=null){{if(n.length===1&&n[0]==="plain")return l!=null?{display:"inline-block"}:void 0;if(n.length===1&&l!=null)return e[n[0]]}return Object.assign(l!=null?{display:"inline-block"}:{},...n.map(u=>e[u]))}},[e]);return S.useCallback(n=>{var l=n,{token:u,className:x,style:c}=l,h=ze(l,["token","className","style"]);const g=ee(L({},h),{className:we("token",...u.types,x),children:u.content,style:a(u)});return c!=null&&(g.style=L(L({},g.style||{}),c)),g},[a])},Ra=/\r\n|\r|\n/,he=e=>{e.length===0?e.push({types:["plain"],content:`
22`,empty:!0}):e.length===1&&e[0].content===""&&(e[0].content=`
23`,e[0].empty=!0)},xe=(e,a)=>{const n=e.length;return n>0&&e[n-1]===a?e:e.concat(a)},Ia=e=>{const a=[[]],n=[e],l=[0],u=[e.length];let x=0,c=0,h=[];const g=[h];for(;c>-1;){for(;(x=l[c]++)<u[c];){let y,m=a[c];const v=n[c][x];if(typeof v=="string"?(m=c>0?m:["plain"],y=v):(m=xe(m,v.type),v.alias&&(m=xe(m,v.alias)),y=v.content),typeof y!="string"){c++,a.push(m),n.push(y),l.push(0),u.push(y.length);continue}const E=y.split(Ra),s=E.length;h.push({types:m,content:E[0]});for(let r=1;r<s;r++)he(h),g.push(h=[]),h.push({types:m,content:E[r]})}c--,a.pop(),n.pop(),l.pop(),u.pop()}return he(h),g},ve=Ia,Ca=({prism:e,code:a,grammar:n,language:l})=>S.useMemo(()=>{if(n==null)return ve([a]);const u={code:a,grammar:n,language:l,tokens:[]};return e.hooks.run("before-tokenize",u),u.tokens=e.tokenize(a,n),e.hooks.run("after-tokenize",u),ve(u.tokens)},[a,n,l,e]),La=(e,a)=>{const{plain:n}=e,l=e.styles.reduce((u,x)=>{const{languages:c,style:h}=x;return c&&!c.includes(a)||x.types.forEach(g=>{const y=L(L({},u[g]),h);u[g]=y}),u},{});return l.root=n,l.plain=ee(L({},n),{backgroundColor:void 0}),l},Oa=La,Da=({children:e,language:a,code:n,theme:l,prism:u})=>{const x=a.toLowerCase(),c=Oa(l,x),h=Ta(c),g=Fa(c),y=u.languages[x],m=Ca({prism:u,language:x,code:n,grammar:y});return e({tokens:m,className:`prism-code language-${x}`,style:c!=null?c.root:{},getLineProps:h,getTokenProps:g})},Ba=e=>S.createElement(Da,ee(L({},e),{prism:e.prism||o,theme:e.theme||Ge,code:e.code,language:e.language}));/*! Bundled license information:
24
25prismjs/prism.js:
26  (**
27   * Prism: Lightweight, robust, elegant syntax highlighting
28   *
29   * @license MIT <https://opensource.org/licenses/MIT>
30   * @author Lea Verou <https://lea.verou.me>
31   * @namespace
32   * @public
33   *)
34*/const B=({code:e,language:a,filename:n})=>{const[l,u]=S.useState(!1),x=async()=>{await navigator.clipboard.writeText(e),u(!0),setTimeout(()=>u(!1),2e3)};return t.jsxs("div",{className:"terminal-window relative group",children:[t.jsxs("div",{className:"terminal-header",children:[t.jsx("div",{className:"terminal-dot terminal-dot-red"}),t.jsx("div",{className:"terminal-dot terminal-dot-yellow"}),t.jsx("div",{className:"terminal-dot terminal-dot-green"}),n&&t.jsx("span",{className:"ml-2 text-xs text-gray-400 font-mono",children:n}),t.jsx(z,{variant:"ghost",size:"icon",className:"ml-auto h-6 w-6 text-gray-400 hover:text-white opacity-0 group-hover:opacity-100 transition-opacity",onClick:x,children:l?t.jsx(gt,{className:"h-3.5 w-3.5 text-green-400"}):t.jsx(se,{className:"h-3.5 w-3.5"})})]}),t.jsx("div",{className:"terminal-body code-scrollbar",children:t.jsx(Ba,{theme:Me.nightOwl,code:e.trim(),language:a,children:({tokens:c,getLineProps:h,getTokenProps:g})=>t.jsx("pre",{className:"text-sm font-mono leading-relaxed !bg-transparent !p-0 !m-0",children:c.map((y,m)=>t.jsxs("div",{...h({line:y}),children:[t.jsx("span",{className:"inline-block w-8 text-right mr-4 text-gray-600 select-none text-xs",children:m+1}),y.map((p,v)=>t.jsx("span",{...g({token:p})},v))]},m))})})})]})},Pa=`# 1. Get an OAuth token
35curl -X POST https://v3.api.rentaltide.com/oauth/token \\
36  -H "Content-Type: application/json" \\
37  -d '{
38    "grant_type": "client_credentials",
39    "client_id": "rt_live_ck_2xK9mP4vL7qR",
40    "client_secret": "rt_live_sk_••••••••••"
41  }'
42
43# 2. Fetch bookings
44curl https://v3.api.rentaltide.com/v3/bookings \\
45  -H "Authorization: Bearer ACCESS_TOKEN" \\
46  -H "Content-Type: application/json"`,$a=`// 1. Get an OAuth token
47const tokenRes = await fetch(
48  "https://v3.api.rentaltide.com/oauth/token",
49  {
50    method: "POST",
51    headers: { "Content-Type": "application/json" },
52    body: JSON.stringify({
53      grant_type: "client_credentials",
54      client_id: process.env.RT_CLIENT_ID,
55      client_secret: process.env.RT_CLIENT_SECRET,
56    }),
57  }
58);
59const { access_token } = await tokenRes.json();
60
61// 2. Fetch bookings
62const bookings = await fetch(
63  "https://v3.api.rentaltide.com/v3/bookings",
64  {
65    headers: {
66      Authorization: \`Bearer \${access_token}\`,
67      "Content-Type": "application/json",
68    },
69  }
70);
71const data = await bookings.json();
72console.log(data);`,za=`import requests
73
74# 1. Get an OAuth token
75token_res = requests.post(
76    "https://v3.api.rentaltide.com/oauth/token",
77    json={
78        "grant_type": "client_credentials",
79        "client_id": "rt_live_ck_2xK9mP4vL7qR",
80        "client_secret": "rt_live_sk_••••••••••",
81    },
82)
83access_token = token_res.json()["access_token"]
84
85# 2. Fetch bookings
86bookings = requests.get(
87    "https://v3.api.rentaltide.com/v3/bookings",
88    headers={
89        "Authorization": f"Bearer {access_token}",
90        "Content-Type": "application/json",
91    },
92)
93print(bookings.json())`,Ma=`{
94  "data": [
95    {
96      "id": "bk_2xK9mP4vL7",
97      "status": "confirmed",
98      "asset": {
99        "id": "ast_8nRj3Kw2",
100        "name": "Pontoon Sunset Cruiser"
101      },
102      "customer": {
103        "id": "cus_4mQp7Yx9",
104        "name": "Jane Cooper"
105      },
106      "start_time": "2026-03-15T10:00:00Z",
107      "end_time": "2026-03-15T14:00:00Z",
108      "total": 24900,
109      "currency": "usd"
110    }
111  ],
112  "has_more": true,
113  "next_cursor": "cur_9vZk2Lm8"
114}`,Ga=()=>{const{t:e}=Z();return t.jsx("section",{className:"py-20",children:t.jsxs("div",{className:"container mx-auto px-6",children:[t.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-14",children:[t.jsxs("h2",{className:"text-3xl sm:text-4xl font-bold mb-4",children:[e("developers.quickstart.title")," ",t.jsx("span",{className:"text-gradient-primary",children:e("developers.quickstart.titleHighlight")})]}),t.jsx("p",{className:"text-muted-foreground text-lg",children:e("developers.quickstart.subtitle")})]}
114),t.jsxs("div",{className:"max-w-3xl mx-auto space-y-8",children:[t.jsxs(Be,{defaultValue:"curl",className:"w-full",children:[t.jsxs(de,{className:"grid w-full grid-cols-3 mb-4",children:[t.jsx(M,{value:"curl",className:"font-mono text-sm",children:"cURL"}),t.jsx(M,{value:"javascript",className:"font-mono text-sm",children:"JavaScript"}),t.jsx(M,{value:"python",className:"font-mono text-sm",children:"Python"})]}),t.jsx(G,{value:"curl",children:t.jsx(B,{code:Pa,language:"bash",filename:"terminal"})}),t.jsx(G,{value:"javascript",children:t.jsx(B,{code:$a,language:"javascript",filename:"index.js"})}),t.jsx(G,{value:"python",children:t.jsx(B,{code:za,language:"python",filename:"main.py"})})]}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wider mb-3",children:e("developers.quickstart.responseLabel")}),t.jsx(B,{code:Ma,language:"json",filename:"response.json"})]})]})]})})},Ua=`// Initiate a call into a rental location
115const call = await fetch(
116  "https://v3.api.rentaltide.com/calls/partner/initiate",
117  {
118    method: "POST",
119    headers: {
120      Authorization: \`Bearer \${access_token}\`,
121      "Content-Type": "application/json",
122    },
123    body: JSON.stringify({
124      customerId: "cus_4mQp7Yx9",
125      locationId: "loc_8nRj3Kw2",
126      targetType: "location",
127      targetId: "loc_8nRj3Kw2",
128      callerName: "AI Assistant",
129      callerPhone: "+15551234567",
130      callMode: "phone",          // or "walkie_talkie"
131      context: {
132        reason: "booking_followup",
133        bookingId: "bk_2xK9mP4vL7",
134      },
135    }),
136  }
137);
138
139const { call: callData, token, roomName } = await call.json();
140// Connect to the Twilio room with the returned token
141console.log(\`Call initiated: \${callData.callId}\`);`,Za=`// Look up a renter by phone number
142const renters = await fetch(
143  "https://v3.api.rentaltide.com/calls/partner/renters/search?" +
144    new URLSearchParams({ phone: "+15551234567" }),
145  {
146    headers: {
147      Authorization: \`Bearer \${access_token}\`,
148    },
149  }
150);
151
152const { renters: results } = await renters.json();
153// [{ id, firstName, lastName, email, phoneNumber, ... }]
154
155if (results.length > 0) {
156  // Fetch their active bookings
157  const bookings = await fetch(
158    \`https://v3.api.rentaltide.com/calls/partner/renters/\${results[0].id}/bookings?status=active\`,
159    {
160      headers: {
161        Authorization: \`Bearer \${access_token}\`,
162      },
163    }
164  );
165
166  const { bookings: activeBookings } = await bookings.json();
167  console.log(\`Found \${activeBookings.length} active rentals\`);
168}`,Ka=`// Add a note to a booking during a call
169await fetch(
170  \`https://v3.api.rentaltide.com/calls/partner/renters/\${renterId}/bookings/\${rentalId}/action\`,
171  {
172    method: "POST",
173    headers: {
174      Authorization: \`Bearer \${access_token}\`,
175      "Content-Type": "application/json",
176    },
177    body: JSON.stringify({
178      action: "add_note",
179      data: {
180        content: "Customer called to extend rental by 1 hour. Approved by manager.",
181      },
182    }),
183  }
184);`,qa=`// Incoming call webhook payload
185{
186  "event": "call:incoming",
187  "data": {
188    "callId": "call_9vZk2Lm8",
189    "callerName": "AI Phone Assistant",
190    "callerType": "partner_app",
191    "callerPhone": "+15551234567",
192    "callMode": "phone",
193    "status": "ringing",
194    "partnerContext": {
195      "reason": "booking_followup",
196      "bookingId": "bk_2xK9mP4vL7"
197    },
198    "createdAt": "2026-03-09T14:30:00Z"
199  }
200}
201
202// Other events: call:answered, call:rejected,
203//               call:ended, call:missed`,Ha=`const API = "https://v3.api.rentaltide.com";
204
205// Full AI calling assistant flow
206// 1. Customer calls in - look up their info
207const phone = incomingCall.callerPhone; // e.g. "+15551234567"
208
209const renterRes = await fetch(
210  \`\${API}/calls/partner/renters/search?phone=\${encodeURIComponent(phone)}\`,
211  { headers: { Authorization: \`Bearer \${access_token}\` } }
212);
213const { renters } = await renterRes.json();
214
215if (renters.length > 0) {
216  const renter = renters[0];
217
218  // 2. Fetch their active bookings for full context
219  const bookingRes = await fetch(
220    \`\${API}/calls/partner/renters/\${renter.id}/bookings?status=active\`,
221    { headers: { Authorization: \`Bearer \${access_token}\` } }
222  );
223  const { bookings } = await bookingRes.json();
224  const activeRental = bookings[0];
225
226  // 3. Initiate two-way audio with the location
227  const callRes = await fetch(\`\${API}/calls/partner/initiate\`, {
228    method: "POST",
229    headers: {
230      Authorization: \`Bearer \${access_token}\`,
231      "Content-Type": "application/json",
232    },
233    body: JSON.stringify({
234      customerId: renter.customerId,
235      locationId: activeRental.locationId,
236      targetType: "location",
237      targetId: activeRental.locationId,
238      callerName: \`\${renter.firstName} (via AI)\`,
239      callerPhone: phone,
240      callMode: "phone",
241      context: {
242        renterId: renter.id,
243        activeBooking: activeRental.rentalId,
244      },
245    }),
246  });
247
248  const { token, roomName } = await callRes.json();
249
250  // 4. Connect to the Twilio room with the token
251  const { connect } = await import("twilio-video");
252  await connect(token, { name: roomName, audio: true, video: false });
253}`,Wa=()=>{const{t:e}=Z(),a=[{icon:yt,title:e("developers.audio.capPhone"),desc:e("developers.audio.capPhoneDesc"),color:"text-green-500",bg:"bg-green-500/10"},{icon:mt,title:e("developers.audio.capWalkie"),desc:e("developers.audio.capWalkieDesc"),color:"text-blue-500",bg:"bg-blue-500/10"},{icon:bt,title:e("developers.audio.capRenter"),desc:e("developers.audio.capRenterDesc"),color:"text-violet-500",bg:"bg-violet-500/10"},{icon:ft,title:e("developers.audio.capBooking"),desc:e("developers.audio.capBookingDesc"),color:"text-amber-500",bg:"bg-amber-500/10"},{icon:ht,title:e("developers.audio.capEvents"),desc:e("developers.audio.capEventsDesc"),color:"text-rose-500",bg:"bg-rose-500/10"},{icon:be,title:e("developers.audio.capAi"),desc:e("developers.audio.capAiDesc"),color:"text-cyan-500",bg:"bg-cyan-500/10"}],n=["read:customers","read:bookings","write:bookings","audio:call"];return t.jsx("section",{id:"twoway",className:"py-20 ai-section-bg scroll-mt-20",children:t.jsxs("div",{className:"container mx-auto px-6",children:[t.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[t.jsx(D,{variant:"outline",className:"mb-5 text-green-500 border-green-500/30 bg-green-500/5",children:e("developers.audio.badge")}),t.jsxs("h2",{className:"text-3xl sm:text-4xl font-bold mb-4",children:[e("developers.audio.title")," ",t.jsx("span",{className:"text-gradient-primary",children:e("developers.audio.titleHighlight")})]}),t.jsx("p",{className:"text-muted-foreground text-lg leading-relaxed",children:e("developers.audio.subtitle")})]}),t.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5 max-w-5xl mx-auto mb-16",children:a.map(({icon:l,title:u,desc:x,color:c,bg:h},g)=>t.jsx(ie,{className:"feature-card border-border/50 bg-card/50 backdrop-blur-sm",children:t.jsx(ce,{className:"pt-6 pb-5 px-5",children:t.jsxs("div",{className:"flex items-start gap-3.5",children:[t.jsx("div",{className:`flex-shrink-0 w-10 h-10 rounded-lg ${h} flex items-center justify-center`,children:t.jsx(l,{className:`h-5 w-5 ${c}`})}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-semibold mb-1 text-sm",children:u}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:x})]})]})})},g))}),t.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2 mb-12",children:[t.jsx("span",{className:"text-sm text-muted-foreground mr-2",children:e("developers.audio.requiredScopes")}
253),n.map(l=>t.jsx(D,{variant:"secondary",className:"text-xs font-mono",children:l},l))]}),t.jsxs("div",{className:"max-w-4xl mx-auto space-y-10",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xl font-bold mb-2",children:e("developers.audio.examplesTitle")}),t.jsx("p",{className:"text-muted-foreground text-sm mb-6",children:e("developers.audio.examplesSubtitle")}),t.jsxs(Be,{defaultValue:"initiate",className:"w-full",children:[t.jsxs(de,{className:"grid w-full grid-cols-4 mb-4",children:[t.jsx(M,{value:"initiate",className:"font-mono text-xs",children:"Initiate Call"}),t.jsx(M,{value:"renter",className:"font-mono text-xs",children:"Renter Lookup"}),t.jsx(M,{value:"action",className:"font-mono text-xs",children:"Booking Action"}),t.jsx(M,{value:"events",className:"font-mono text-xs",children:"Events"})]}),t.jsx(G,{value:"initiate",children:t.jsx(B,{code:Ua,language:"javascript",filename:"initiate-call.js"})}),t.jsx(G,{value:"renter",children:t.jsx(B,{code:Za,language:"javascript",filename:"renter-lookup.js"})}),t.jsx(G,{value:"action",children:t.jsx(B,{code:Ka,language:"javascript",filename:"booking-action.js"})}),t.jsx(G,{value:"events",children:t.jsx(B,{code:qa,language:"json",filename:"call-events.json"})})]})]}),t.jsxs("div",{children:[t.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.jsx("div",{className:"flex-shrink-0 w-8 h-8 rounded-lg bg-cyan-500/10 flex items-center justify-center",children:t.jsx(be,{className:"h-4 w-4 text-cyan-500"})}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-lg font-bold",children:e("developers.audio.aiExampleTitle")}),t.jsx("p",{className:"text-xs text-muted-foreground",children:e("developers.audio.aiExampleSubtitle")})]})]}),t.jsx(B,{code:Ha,language:"javascript",filename:"ai-calling-assistant.js"})]}),t.jsxs("div",{className:"relative overflow-hidden rounded-xl bg-gradient-to-br from-green-500/10 via-blue-500/5 to-violet-500/10 border border-border/50 p-8",children:[t.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-green-500/5 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"}),t.jsxs("div",{className:"relative z-10",children:[t.jsx("h3",{className:"text-lg font-bold mb-4",children:e("developers.audio.useCasesTitle")}),t.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:[{title:e("developers.audio.useCase1"),desc:e("developers.audio.useCase1Desc")},{title:e("developers.audio.useCase2"),desc:e("developers.audio.useCase2Desc")},{title:e("developers.audio.useCase3"),desc:e("developers.audio.useCase3Desc")},{title:e("developers.audio.useCase4"),desc:e("developers.audio.useCase4Desc")}].map(({title:l,desc:u},x)=>t.jsxs("div",{className:"flex items-start gap-2.5",children:[t.jsx(le,{className:"h-4 w-4 text-primary mt-0.5 shrink-0"}),t.jsxs("div",{children:[t.jsx("p",{className:"text-sm font-semibold",children:l}),t.jsx("p",{className:"text-xs text-muted-foreground",children:u})]})]},x))})]})]})]})]})})},Ya=()=>{const{t:e}=Z(),a=[{icon:xt,label:e("developers.docsCta.endpoints")},{icon:Ee,label:e("developers.docsCta.webhooks")},{icon:vt,label:e("developers.docsCta.sdks")}];return t.jsx("section",{className:"py-20",children:t.jsx("div",{className:"container mx-auto px-6",children:t.jsxs("div",{className:"relative overflow-hidden rounded-2xl bg-gradient-to-br from-primary/90 via-primary to-accent/80 p-12 sm:p-16 text-center",children:[t.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-white/10 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"}),t.jsx("div",{className:"absolute bottom-0 left-0 w-64 h-64 bg-white/5 rounded-full blur-2xl translate-y-1/2 -translate-x-1/2"}),t.jsxs("div",{className:"relative z-10 max-w-2xl mx-auto",children:[t.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("developers.docsCta.title")}),t.jsx("p",{className:"text-white/80 text-lg mb-8",children:e("developers.docsCta.subtitle")}),t.jsxs(z,{size:"lg",className:"bg-white text-primary hover:bg-white/90 font-semibold shadow-lg",onClick:()=>window.open("https://v3.api.rentaltide.com/docs","_blank"),children:[e("developers.docsCta.button"),t.jsx(le,{className:"ml-2 h-4 w-4"})]}),t.jsx("div",{className:"flex flex-wrap justify-center gap-4 mt-10",children:a.map(({icon:n,label:l})=>t.jsxs(D,{variant:"outline",className:"border-white/30 text-white bg-white/10 backdrop-blur-sm px-4 py-1.5 text-sm",children:[t.jsx(n,{className:"h-4 w-4 mr-2"}),l]},l))})]})]})})})},Va=()=>{const{scrollYProgress:e}=Et(),a=At(e,l=>Math.min(l/.85,1)),n=_t(a,{stiffness:100,damping:30,restDelta:.001});return t.jsx(jt.div,{className:"fixed top-0 left-0 right-0 h-[2px] bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500 z-[60] origin-left shadow-lg",style:{scaleX:n}})},ln=()=>t.jsx(t.Fragment,{children:t.jsxs("main",{className:"min-h-screen",children:[t.jsx(Nt,{title:"RentalTide Developer Portal | API Documentation & Tools",description:"Build on RentalTide's platform with our REST API, webhooks, and developer tools. Create custom integrations for your rental business.",path:"/developer",keywords:"RentalTide API, rental softw
253are API, developer tools, rental platform integration, webhooks"}),t.jsx(Va,{}),t.jsx(Je,{}),t.jsx(St,{}),t.jsx(Tt,{}),t.jsx(Ft,{}),t.jsx(Ga,{}),t.jsx(Wa,{}),t.jsx(Ya,{}),t.jsx(Qe,{})]})});export{ln as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.