diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..717b973 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,6 @@ +test/* +tools/* +config/* +docs/* +jest.config.js +segupJest.js \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..f874c76 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,24 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended" + ], + "overrides": [ + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "plugins": [ + "@typescript-eslint" + ], + "rules": { + "@typescript-eslint/explicit-function-return-type": "off" + } +} + \ No newline at end of file diff --git a/docs/assets/main.js b/docs/assets/main.js index b949086..c815b33 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -1,6 +1,6 @@ "use strict"; -"use strict";(()=>{var Qe=Object.create;var ae=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var _e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Me=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ce(e))!Re.call(t,i)&&i!==n&&ae(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Qe(Oe(t)):{},Me(e||!t||!t.__esModule?ae(n,"default",{value:t,enumerable:!0}):n,t));var de=_e((ce,he)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var h=t.utils.clone(n)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(r.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ou?h+=2:a==u&&(n+=r[l+1]*i[h+1],l+=2,h+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),m=s.str.charAt(1),v;m in s.node.edges?v=s.node.edges[m]:(v=new t.TokenSet,s.node.edges[m]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ce=="object"?he.exports=n():e.lunr=n()}(this,function(){return t})})()});var le=[];function j(t,e){le.push({selector:e,constructor:t})}var Y=class{constructor(){this.createComponents(document.body)}createComponents(e){le.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r}),r.dataset.hasInstance=String(!0))})})}};var k=class{constructor(e){this.el=e.el}};var J=class{constructor(){this.listeners={}}addEventListener(e,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){if(!(e in this.listeners))return;let r=this.listeners[e];for(let i=0,s=r.length;i{let n=Date.now();return(...r)=>{n+e-Date.now()<0&&(t(...r),n=Date.now())}};var re=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.navigation=document.querySelector(".col-menu"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",()=>{this.hideShowToolbar()}),this.onResize(),this.onScroll()}triggerResize(){let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onScroll(){this.scrollTop=window.scrollY||0;let n=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(n),this.hideShowToolbar()}hideShowToolbar(){let n=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,n!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},R=re;R.instance=new re;var X=class extends k{constructor(n){super(n);this.anchors=[];this.index=-1;R.instance.addEventListener("resize",()=>this.onResize()),R.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substring(0,n.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let i=r.href;if(i.indexOf("#")==-1||i.substring(0,n.length)!=n)return;let s=i.substring(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=r.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let n;for(let i=0,s=this.anchors.length;ii.position-s.position);let r=new CustomEvent("scroll",{detail:{scrollTop:R.instance.scrollTop}});this.onScroll(r)}onScroll(n){let r=n.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>r;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ue=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var me=De(de());function ve(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let n=document.querySelector("#tsd-search input"),r=document.querySelector("#tsd-search .results");if(!n||!r)throw new Error("The input field or the result list wrapper was not found");let i=!1;r.addEventListener("mousedown",()=>i=!0),r.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),n.addEventListener("focus",()=>t.classList.add("has-focus")),n.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Fe(t,r,n,s)}function Fe(t,e,n,r){n.addEventListener("input",ue(()=>{Ae(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?fe(e,-1):s.key==="ArrowDown"?fe(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function He(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=me.Index.load(window.searchData.index))}function Ae(t,e,n,r){if(He(r,t),!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${pe(u.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=u.classes??"";let m=document.createElement("a");m.href=r.base+u.url,m.innerHTML=l,h.append(m),e.appendChild(h)}}function fe(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function pe(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ie(t.substring(s,o)),`${ie(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ie(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function ie(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var F="mousedown",ye="mousemove",B="mouseup",Z={x:0,y:0},ge=!1,se=!1,je=!1,H=!1,xe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(xe?"is-mobile":"not-mobile");xe&&"ontouchstart"in document.documentElement&&(je=!0,F="touchstart",ye="touchmove",B="touchend");document.addEventListener(F,t=>{se=!0,H=!1;let e=F=="touchstart"?t.targetTouches[0]:t;Z.y=e.pageY||0,Z.x=e.pageX||0});document.addEventListener(ye,t=>{if(!!se&&!H){let e=F=="touchstart"?t.targetTouches[0]:t,n=Z.x-(e.pageX||0),r=Z.y-(e.pageY||0);H=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{se=!1});document.addEventListener("click",t=>{ge&&(t.preventDefault(),t.stopImmediatePropagation(),ge=!1)});var K=class extends k{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){H||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!H&&this.active&&n.target.closest(".col-menu")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var oe;try{oe=localStorage}catch{oe={getItem(){return null},setItem(){}}}var Q=oe;var Le=document.head.appendChild(document.createElement("style"));Le.dataset.for="filters";var ee=class extends k{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),Le.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +(()=>{var Qe=Object.create;var ae=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var _e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Me=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ce(e))!Re.call(t,i)&&i!==n&&ae(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Qe(Oe(t)):{},Me(e||!t||!t.__esModule?ae(n,"default",{value:t,enumerable:!0}):n,t));var de=_e((ce,he)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var h=t.utils.clone(n)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(r.slice(a,o),h))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ou?h+=2:a==u&&(n+=r[l+1]*i[h+1],l+=2,h+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),m=s.str.charAt(1),v;m in s.node.edges?v=s.node.edges[m]:(v=new t.TokenSet,s.node.edges[m]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof ce=="object"?he.exports=n():e.lunr=n()}(this,function(){return t})})()});var le=[];function j(t,e){le.push({selector:e,constructor:t})}var Y=class{constructor(){this.createComponents(document.body)}createComponents(e){le.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r}),r.dataset.hasInstance=String(!0))})})}};var k=class{constructor(e){this.el=e.el}};var J=class{constructor(){this.listeners={}}addEventListener(e,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){if(!(e in this.listeners))return;let r=this.listeners[e];for(let i=0,s=r.length;i{let n=Date.now();return(...r)=>{n+e-Date.now()<0&&(t(...r),n=Date.now())}};var re=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.navigation=document.querySelector(".col-menu"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",()=>{this.hideShowToolbar()}),this.onResize(),this.onScroll()}triggerResize(){let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onScroll(){this.scrollTop=window.scrollY||0;let n=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(n),this.hideShowToolbar()}hideShowToolbar(){let n=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,n!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},R=re;R.instance=new re;var X=class extends k{constructor(n){super(n);this.anchors=[];this.index=-1;R.instance.addEventListener("resize",()=>this.onResize()),R.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substring(0,n.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let i=r.href;if(i.indexOf("#")==-1||i.substring(0,n.length)!=n)return;let s=i.substring(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=r.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let n;for(let i=0,s=this.anchors.length;ii.position-s.position);let r=new CustomEvent("scroll",{detail:{scrollTop:R.instance.scrollTop}});this.onScroll(r)}onScroll(n){let r=n.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>r;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ue=(t,e=100)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>t(r),e)}};var me=De(de());function ve(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let n=document.querySelector("#tsd-search input"),r=document.querySelector("#tsd-search .results");if(!n||!r)throw new Error("The input field or the result list wrapper was not found");let i=!1;r.addEventListener("mousedown",()=>i=!0),r.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),n.addEventListener("focus",()=>t.classList.add("has-focus")),n.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Fe(t,r,n,s)}function Fe(t,e,n,r){n.addEventListener("input",ue(()=>{Ae(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?fe(e,-1):s.key==="ArrowDown"?fe(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function He(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=me.Index.load(window.searchData.index))}function Ae(t,e,n,r){if(He(r,t),!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${pe(u.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=u.classes??"";let m=document.createElement("a");m.href=r.base+u.url,m.innerHTML=l,h.append(m),e.appendChild(h)}}function fe(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function pe(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(ie(t.substring(s,o)),`${ie(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ie(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function ie(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var F="mousedown",ye="mousemove",B="mouseup",Z={x:0,y:0},ge=!1,se=!1,je=!1,H=!1,xe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(xe?"is-mobile":"not-mobile");xe&&"ontouchstart"in document.documentElement&&(je=!0,F="touchstart",ye="touchmove",B="touchend");document.addEventListener(F,t=>{se=!0,H=!1;let e=F=="touchstart"?t.targetTouches[0]:t;Z.y=e.pageY||0,Z.x=e.pageX||0});document.addEventListener(ye,t=>{if(!!se&&!H){let e=F=="touchstart"?t.targetTouches[0]:t,n=Z.x-(e.pageX||0),r=Z.y-(e.pageY||0);H=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{se=!1});document.addEventListener("click",t=>{ge&&(t.preventDefault(),t.stopImmediatePropagation(),ge=!1)});var K=class extends k{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){H||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!H&&this.active&&n.target.closest(".col-menu")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var oe;try{oe=localStorage}catch{oe={getItem(){return null},setItem(){}}}var Q=oe;var Le=document.head.appendChild(document.createElement("style"));Le.dataset.for="filters";var ee=class extends k{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),Le.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } `}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var te=class extends k{constructor(n){super(n);this.calculateHeights(),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.textContent.replace(/\s+/g,"-").toLowerCase()}`,this.setLocalStorage(this.fromLocalStorage(),!0),this.summary.addEventListener("click",r=>this.toggleVisibility(r)),this.icon.style.transform=this.getIconRotation()}getIconRotation(n=this.el.open){return`rotate(${n?0:-90}deg)`}calculateHeights(){let n=this.el.open,{position:r,left:i}=this.el.style;this.el.style.position="fixed",this.el.style.left="-9999px",this.el.open=!0,this.expandedHeight=this.el.offsetHeight+"px",this.el.open=!1,this.collapsedHeight=this.el.offsetHeight+"px",this.el.open=n,this.el.style.height=n?this.expandedHeight:this.collapsedHeight,this.el.style.position=r,this.el.style.left=i}toggleVisibility(n){n.preventDefault(),this.el.style.overflow="hidden",this.el.open?this.collapse():this.expand()}expand(n=!0){this.el.open=!0,this.animate(this.collapsedHeight,this.expandedHeight,{opening:!0,duration:n?300:0})}collapse(n=!0){this.animate(this.expandedHeight,this.collapsedHeight,{opening:!1,duration:n?300:0})}animate(n,r,{opening:i,duration:s=300}){if(this.animation)return;let o={duration:s,easing:"ease"};this.animation=this.el.animate({height:[n,r]},o),this.icon.animate({transform:[this.icon.style.transform||this.getIconRotation(!i),this.getIconRotation(i)]},o).addEventListener("finish",()=>{this.icon.style.transform=this.getIconRotation(i)}),this.animation.addEventListener("finish",()=>this.animationEnd(i))}animationEnd(n){this.el.open=n,this.animation=void 0,this.el.style.height="auto",this.el.style.overflow="visible",this.setLocalStorage(n)}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.open}setLocalStorage(n,r=!1){this.fromLocalStorage()===n&&!r||(Q.setItem(this.key,n.toString()),this.el.open=n,this.handleValueChange(r))}handleValueChange(n=!1){this.fromLocalStorage()===this.el.open&&!n||(this.fromLocalStorage()?this.expand(!1):this.collapse(!1))}};function be(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,Ee(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),Ee(t.value)})}function Ee(t){document.documentElement.dataset.theme=t}ve();j(X,".menu-highlight");j(K,"a[data-toggle]");j(te,".tsd-index-accordion");j(ee,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("theme");Se&&be(Se);var Be=new Y;Object.defineProperty(window,"app",{value:Be});})(); /*! * lunr.Builder diff --git a/docs/assets/search.js b/docs/assets/search.js index d8b8ff5..c4e2012 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"kinds\":{\"64\":\"Function\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\"},\"rows\":[{\"kind\":64,\"name\":\"initializePlatform\",\"url\":\"functions/initializePlatform.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":128,\"name\":\"FPUser\",\"url\":\"classes/FPUser.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FPUser.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":1024,\"name\":\"key\",\"url\":\"classes/FPUser.html#key\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FPUser\"},{\"kind\":1024,\"name\":\"attrs\",\"url\":\"classes/FPUser.html#attrs\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FPUser\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FPUser.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"with\",\"url\":\"classes/FPUser.html#with\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"getKey\",\"url\":\"classes/FPUser.html#getKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"getAttrs\",\"url\":\"classes/FPUser.html#getAttrs\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FPUser.html#getAttrs.getAttrs-1.__type-1\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FPUser.getAttrs.getAttrs\"},{\"kind\":2048,\"name\":\"extendAttrs\",\"url\":\"classes/FPUser.html#extendAttrs\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/FPUser.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"stableRollout\",\"url\":\"classes/FPUser.html#stableRollout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":128,\"name\":\"FeatureProbe\",\"url\":\"classes/FeatureProbe.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"newForTest\",\"url\":\"classes/FeatureProbe.html#newForTest\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FeatureProbe.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"togglesUrl\",\"url\":\"classes/FeatureProbe.html#togglesUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"eventsUrl\",\"url\":\"classes/FeatureProbe.html#eventsUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"refreshInterval\",\"url\":\"classes/FeatureProbe.html#refreshInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"clientSdkKey\",\"url\":\"classes/FeatureProbe.html#clientSdkKey\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"user\",\"url\":\"classes/FeatureProbe.html#user\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"toggles\",\"url\":\"classes/FeatureProbe.html#toggles\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"timer\",\"url\":\"classes/FeatureProbe.html#timer\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"timeoutTimer\",\"url\":\"classes/FeatureProbe.html#timeoutTimer\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"readyPromise\",\"url\":\"classes/FeatureProbe.html#readyPromise\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/FeatureProbe.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"timeoutInterval\",\"url\":\"classes/FeatureProbe.html#timeoutInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"storage\",\"url\":\"classes/FeatureProbe.html#storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"start\",\"url\":\"classes/FeatureProbe.html#start\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"stop\",\"url\":\"classes/FeatureProbe.html#stop\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"waitUntilReady\",\"url\":\"classes/FeatureProbe.html#waitUntilReady\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"boolValue\",\"url\":\"classes/FeatureProbe.html#boolValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"numberValue\",\"url\":\"classes/FeatureProbe.html#numberValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"stringValue\",\"url\":\"classes/FeatureProbe.html#stringValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"jsonValue\",\"url\":\"classes/FeatureProbe.html#jsonValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"boolDetail\",\"url\":\"classes/FeatureProbe.html#boolDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"numberDetail\",\"url\":\"classes/FeatureProbe.html#numberDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"stringDetail\",\"url\":\"classes/FeatureProbe.html#stringDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"jsonDetail\",\"url\":\"classes/FeatureProbe.html#jsonDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"allToggles\",\"url\":\"classes/FeatureProbe.html#allToggles\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"getUser\",\"url\":\"classes/FeatureProbe.html#getUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"identifyUser\",\"url\":\"classes/FeatureProbe.html#identifyUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"logout\",\"url\":\"classes/FeatureProbe.html#logout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"toggleValue\",\"url\":\"classes/FeatureProbe.html#toggleValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"toggleDetail\",\"url\":\"classes/FeatureProbe.html#toggleDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"fetchToggles\",\"url\":\"classes/FeatureProbe.html#fetchToggles\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"sendEvents\",\"url\":\"classes/FeatureProbe.html#sendEvents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"successInitialized\",\"url\":\"classes/FeatureProbe.html#successInitialized\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"errorInitialized\",\"url\":\"classes/FeatureProbe.html#errorInitialized\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":256,\"name\":\"FPDetail\",\"url\":\"interfaces/FPDetail.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"value\",\"url\":\"interfaces/FPDetail.html#value\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":1024,\"name\":\"ruleIndex\",\"url\":\"interfaces/FPDetail.html#ruleIndex\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":1024,\"name\":\"variationIndex\",\"url\":\"interfaces/FPDetail.html#variationIndex\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":1024,\"name\":\"version\",\"url\":\"interfaces/FPDetail.html#version\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":1024,\"name\":\"reason\",\"url\":\"interfaces/FPDetail.html#reason\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":256,\"name\":\"FPConfig\",\"url\":\"interfaces/FPConfig.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"remoteUrl\",\"url\":\"interfaces/FPConfig.html#remoteUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"togglesUrl\",\"url\":\"interfaces/FPConfig.html#togglesUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"eventsUrl\",\"url\":\"interfaces/FPConfig.html#eventsUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"clientSdkKey\",\"url\":\"interfaces/FPConfig.html#clientSdkKey\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"user\",\"url\":\"interfaces/FPConfig.html#user\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"refreshInterval\",\"url\":\"interfaces/FPConfig.html#refreshInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"timeoutInterval\",\"url\":\"interfaces/FPConfig.html#timeoutInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":256,\"name\":\"FPStorageProvider\",\"url\":\"interfaces/FPStorageProvider.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"setItem\",\"url\":\"interfaces/FPStorageProvider.html#setItem\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPStorageProvider\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/FPStorageProvider.html#__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-interface\",\"parent\":\"FPStorageProvider\"},{\"kind\":1024,\"name\":\"getItem\",\"url\":\"interfaces/FPStorageProvider.html#getItem\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPStorageProvider\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/FPStorageProvider.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-interface\",\"parent\":\"FPStorageProvider\"},{\"kind\":256,\"name\":\"IHttpRequest\",\"url\":\"interfaces/IHttpRequest.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"get\",\"url\":\"interfaces/IHttpRequest.html#get\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IHttpRequest\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IHttpRequest.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-interface\",\"parent\":\"IHttpRequest\"},{\"kind\":1024,\"name\":\"post\",\"url\":\"interfaces/IHttpRequest.html#post\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IHttpRequest\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IHttpRequest.html#__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-interface\",\"parent\":\"IHttpRequest\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,38.986]],[\"comment/0\",[]],[\"name/1\",[1,38.986]],[\"comment/1\",[]],[\"name/2\",[2,33.878]],[\"comment/2\",[]],[\"name/3\",[3,38.986]],[\"comment/3\",[]],[\"name/4\",[4,38.986]],[\"comment/4\",[]],[\"name/5\",[5,24.323]],[\"comment/5\",[]],[\"name/6\",[6,38.986]],[\"comment/6\",[]],[\"name/7\",[7,38.986]],[\"comment/7\",[]],[\"name/8\",[8,38.986]],[\"comment/8\",[]],[\"name/9\",[5,24.323]],[\"comment/9\",[]],[\"name/10\",[9,38.986]],[\"comment/10\",[]],[\"name/11\",[10,33.878]],[\"comment/11\",[]],[\"name/12\",[11,38.986]],[\"comment/12\",[]],[\"name/13\",[12,38.986]],[\"comment/13\",[]],[\"name/14\",[13,38.986]],[\"comment/14\",[]],[\"name/15\",[2,33.878]],[\"comment/15\",[]],[\"name/16\",[14,33.878]],[\"comment/16\",[]],[\"name/17\",[15,33.878]],[\"comment/17\",[]],[\"name/18\",[16,33.878]],[\"comment/18\",[]],[\"name/19\",[17,33.878]],[\"comment/19\",[]],[\"name/20\",[18,33.878]],[\"comment/20\",[]],[\"name/21\",[19,38.986]],[\"comment/21\",[]],[\"name/22\",[20,38.986]],[\"comment/22\",[]],[\"name/23\",[21,38.986]],[\"comment/23\",[]],[\"name/24\",[22,38.986]],[\"comment/24\",[]],[\"name/25\",[23,38.986]],[\"comment/25\",[]],[\"name/26\",[24,33.878]],[\"comment/26\",[]],[\"name/27\",[25,38.986]],[\"comment/27\",[]],[\"name/28\",[26,38.986]],[\"comment/28\",[]],[\"name/29\",[27,38.986]],[\"comment/29\",[]],[\"name/30\",[28,38.986]],[\"comment/30\",[]],[\"name/31\",[29,38.986]],[\"comment/31\",[]],[\"name/32\",[30,38.986]],[\"comment/32\",[]],[\"name/33\",[31,38.986]],[\"comment/33\",[]],[\"name/34\",[32,38.986]],[\"comment/34\",[]],[\"name/35\",[33,38.986]],[\"comment/35\",[]],[\"name/36\",[34,38.986]],[\"comment/36\",[]],[\"name/37\",[35,38.986]],[\"comment/37\",[]],[\"name/38\",[36,38.986]],[\"comment/38\",[]],[\"name/39\",[37,38.986]],[\"comment/39\",[]],[\"name/40\",[38,38.986]],[\"comment/40\",[]],[\"name/41\",[39,38.986]],[\"comment/41\",[]],[\"name/42\",[40,38.986]],[\"comment/42\",[]],[\"name/43\",[41,38.986]],[\"comment/43\",[]],[\"name/44\",[42,38.986]],[\"comment/44\",[]],[\"name/45\",[43,38.986]],[\"comment/45\",[]],[\"name/46\",[44,38.986]],[\"comment/46\",[]],[\"name/47\",[45,38.986]],[\"comment/47\",[]],[\"name/48\",[46,38.986]],[\"comment/48\",[]],[\"name/49\",[47,38.986]],[\"comment/49\",[]],[\"name/50\",[48,38.986]],[\"comment/50\",[]],[\"name/51\",[49,38.986]],[\"comment/51\",[]],[\"name/52\",[50,38.986]],[\"comment/52\",[]],[\"name/53\",[51,38.986]],[\"comment/53\",[]],[\"name/54\",[52,38.986]],[\"comment/54\",[]],[\"name/55\",[53,38.986]],[\"comment/55\",[]],[\"name/56\",[54,38.986]],[\"comment/56\",[]],[\"name/57\",[14,33.878]],[\"comment/57\",[]],[\"name/58\",[15,33.878]],[\"comment/58\",[]],[\"name/59\",[17,33.878]],[\"comment/59\",[]],[\"name/60\",[18,33.878]],[\"comment/60\",[]],[\"name/61\",[16,33.878]],[\"comment/61\",[]],[\"name/62\",[24,33.878]],[\"comment/62\",[]],[\"name/63\",[55,38.986]],[\"comment/63\",[]],[\"name/64\",[56,38.986]],[\"comment/64\",[]],[\"name/65\",[5,24.323]],[\"comment/65\",[]],[\"name/66\",[57,38.986]],[\"comment/66\",[]],[\"name/67\",[5,24.323]],[\"comment/67\",[]],[\"name/68\",[58,38.986]],[\"comment/68\",[]],[\"name/69\",[10,33.878]],[\"comment/69\",[]],[\"name/70\",[5,24.323]],[\"comment/70\",[]],[\"name/71\",[59,38.986]],[\"comment/71\",[]],[\"name/72\",[5,24.323]],[\"comment/72\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":5,\"name\":{\"5\":{},\"9\":{},\"65\":{},\"67\":{},\"70\":{},\"72\":{}},\"comment\":{}}],[\"alltoggles\",{\"_index\":37,\"name\":{\"39\":{}},\"comment\":{}}],[\"attrs\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"booldetail\",{\"_index\":33,\"name\":{\"35\":{}},\"comment\":{}}],[\"boolvalue\",{\"_index\":29,\"name\":{\"31\":{}},\"comment\":{}}],[\"clientsdkkey\",{\"_index\":17,\"name\":{\"19\":{},\"59\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{},\"15\":{}},\"comment\":{}}],[\"errorinitialized\",{\"_index\":46,\"name\":{\"48\":{}},\"comment\":{}}],[\"eventsurl\",{\"_index\":15,\"name\":{\"17\":{},\"58\":{}},\"comment\":{}}],[\"extendattrs\",{\"_index\":9,\"name\":{\"10\":{}},\"comment\":{}}],[\"featureprobe\",{\"_index\":12,\"name\":{\"13\":{}},\"comment\":{}}],[\"fetchtoggles\",{\"_index\":43,\"name\":{\"45\":{}},\"comment\":{}}],[\"fpconfig\",{\"_index\":53,\"name\":{\"55\":{}},\"comment\":{}}],[\"fpdetail\",{\"_index\":47,\"name\":{\"49\":{}},\"comment\":{}}],[\"fpstorageprovider\",{\"_index\":55,\"name\":{\"63\":{}},\"comment\":{}}],[\"fpuser\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"get\",{\"_index\":10,\"name\":{\"11\":{},\"69\":{}},\"comment\":{}}],[\"getattrs\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"getitem\",{\"_index\":57,\"name\":{\"66\":{}},\"comment\":{}}],[\"getkey\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"getuser\",{\"_index\":38,\"name\":{\"40\":{}},\"comment\":{}}],[\"identifyuser\",{\"_index\":39,\"name\":{\"41\":{}},\"comment\":{}}],[\"ihttprequest\",{\"_index\":58,\"name\":{\"68\":{}},\"comment\":{}}],[\"initializeplatform\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"jsondetail\",{\"_index\":36,\"name\":{\"38\":{}},\"comment\":{}}],[\"jsonvalue\",{\"_index\":32,\"name\":{\"34\":{}},\"comment\":{}}],[\"key\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"logout\",{\"_index\":40,\"name\":{\"42\":{}},\"comment\":{}}],[\"newfortest\",{\"_index\":13,\"name\":{\"14\":{}},\"comment\":{}}],[\"numberdetail\",{\"_index\":34,\"name\":{\"36\":{}},\"comment\":{}}],[\"numbervalue\",{\"_index\":30,\"name\":{\"32\":{}},\"comment\":{}}],[\"post\",{\"_index\":59,\"name\":{\"71\":{}},\"comment\":{}}],[\"readypromise\",{\"_index\":22,\"name\":{\"24\":{}},\"comment\":{}}],[\"reason\",{\"_index\":52,\"name\":{\"54\":{}},\"comment\":{}}],[\"refreshinterval\",{\"_index\":16,\"name\":{\"18\":{},\"61\":{}},\"comment\":{}}],[\"remoteurl\",{\"_index\":54,\"name\":{\"56\":{}},\"comment\":{}}],[\"ruleindex\",{\"_index\":49,\"name\":{\"51\":{}},\"comment\":{}}],[\"sendevents\",{\"_index\":44,\"name\":{\"46\":{}},\"comment\":{}}],[\"setitem\",{\"_index\":56,\"name\":{\"64\":{}},\"comment\":{}}],[\"stablerollout\",{\"_index\":11,\"name\":{\"12\":{}},\"comment\":{}}],[\"start\",{\"_index\":26,\"name\":{\"28\":{}},\"comment\":{}}],[\"status\",{\"_index\":23,\"name\":{\"25\":{}},\"comment\":{}}],[\"stop\",{\"_index\":27,\"name\":{\"29\":{}},\"comment\":{}}],[\"storage\",{\"_index\":25,\"name\":{\"27\":{}},\"comment\":{}}],[\"stringdetail\",{\"_index\":35,\"name\":{\"37\":{}},\"comment\":{}}],[\"stringvalue\",{\"_index\":31,\"name\":{\"33\":{}},\"comment\":{}}],[\"successinitialized\",{\"_index\":45,\"name\":{\"47\":{}},\"comment\":{}}],[\"timeoutinterval\",{\"_index\":24,\"name\":{\"26\":{},\"62\":{}},\"comment\":{}}],[\"timeouttimer\",{\"_index\":21,\"name\":{\"23\":{}},\"comment\":{}}],[\"timer\",{\"_index\":20,\"name\":{\"22\":{}},\"comment\":{}}],[\"toggledetail\",{\"_index\":42,\"name\":{\"44\":{}},\"comment\":{}}],[\"toggles\",{\"_index\":19,\"name\":{\"21\":{}},\"comment\":{}}],[\"togglesurl\",{\"_index\":14,\"name\":{\"16\":{},\"57\":{}},\"comment\":{}}],[\"togglevalue\",{\"_index\":41,\"name\":{\"43\":{}},\"comment\":{}}],[\"user\",{\"_index\":18,\"name\":{\"20\":{},\"60\":{}},\"comment\":{}}],[\"value\",{\"_index\":48,\"name\":{\"50\":{}},\"comment\":{}}],[\"variationindex\",{\"_index\":50,\"name\":{\"52\":{}},\"comment\":{}}],[\"version\",{\"_index\":51,\"name\":{\"53\":{}},\"comment\":{}}],[\"waituntilready\",{\"_index\":28,\"name\":{\"30\":{}},\"comment\":{}}],[\"with\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"kinds\":{\"64\":\"Function\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\"},\"rows\":[{\"kind\":64,\"name\":\"initializePlatform\",\"url\":\"functions/initializePlatform.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":128,\"name\":\"FPUser\",\"url\":\"classes/FPUser.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FPUser.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":1024,\"name\":\"key\",\"url\":\"classes/FPUser.html#key\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FPUser\"},{\"kind\":1024,\"name\":\"attrs\",\"url\":\"classes/FPUser.html#attrs\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FPUser\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FPUser.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"with\",\"url\":\"classes/FPUser.html#with\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"getKey\",\"url\":\"classes/FPUser.html#getKey\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"getAttrs\",\"url\":\"classes/FPUser.html#getAttrs\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/FPUser.html#getAttrs.getAttrs-1.__type-1\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"FPUser.getAttrs.getAttrs\"},{\"kind\":2048,\"name\":\"extendAttrs\",\"url\":\"classes/FPUser.html#extendAttrs\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/FPUser.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":2048,\"name\":\"stableRollout\",\"url\":\"classes/FPUser.html#stableRollout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FPUser\"},{\"kind\":128,\"name\":\"FeatureProbe\",\"url\":\"classes/FeatureProbe.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":2048,\"name\":\"newForTest\",\"url\":\"classes/FeatureProbe.html#newForTest\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/FeatureProbe.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"togglesUrl\",\"url\":\"classes/FeatureProbe.html#togglesUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"eventsUrl\",\"url\":\"classes/FeatureProbe.html#eventsUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"realtimeUrl\",\"url\":\"classes/FeatureProbe.html#realtimeUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"realtimePath\",\"url\":\"classes/FeatureProbe.html#realtimePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"refreshInterval\",\"url\":\"classes/FeatureProbe.html#refreshInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"clientSdkKey\",\"url\":\"classes/FeatureProbe.html#clientSdkKey\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"user\",\"url\":\"classes/FeatureProbe.html#user\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"toggles\",\"url\":\"classes/FeatureProbe.html#toggles\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"timer\",\"url\":\"classes/FeatureProbe.html#timer\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"timeoutTimer\",\"url\":\"classes/FeatureProbe.html#timeoutTimer\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"readyPromise\",\"url\":\"classes/FeatureProbe.html#readyPromise\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/FeatureProbe.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"timeoutInterval\",\"url\":\"classes/FeatureProbe.html#timeoutInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"storage\",\"url\":\"classes/FeatureProbe.html#storage\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":1024,\"name\":\"socket\",\"url\":\"classes/FeatureProbe.html#socket\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"start\",\"url\":\"classes/FeatureProbe.html#start\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"stop\",\"url\":\"classes/FeatureProbe.html#stop\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"waitUntilReady\",\"url\":\"classes/FeatureProbe.html#waitUntilReady\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"boolValue\",\"url\":\"classes/FeatureProbe.html#boolValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"numberValue\",\"url\":\"classes/FeatureProbe.html#numberValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"stringValue\",\"url\":\"classes/FeatureProbe.html#stringValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"jsonValue\",\"url\":\"classes/FeatureProbe.html#jsonValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"boolDetail\",\"url\":\"classes/FeatureProbe.html#boolDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"numberDetail\",\"url\":\"classes/FeatureProbe.html#numberDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"stringDetail\",\"url\":\"classes/FeatureProbe.html#stringDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"jsonDetail\",\"url\":\"classes/FeatureProbe.html#jsonDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"allToggles\",\"url\":\"classes/FeatureProbe.html#allToggles\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"getUser\",\"url\":\"classes/FeatureProbe.html#getUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"identifyUser\",\"url\":\"classes/FeatureProbe.html#identifyUser\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"logout\",\"url\":\"classes/FeatureProbe.html#logout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"connectSocket\",\"url\":\"classes/FeatureProbe.html#connectSocket\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"toggleValue\",\"url\":\"classes/FeatureProbe.html#toggleValue\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"toggleDetail\",\"url\":\"classes/FeatureProbe.html#toggleDetail\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"fetchToggles\",\"url\":\"classes/FeatureProbe.html#fetchToggles\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"sendEvents\",\"url\":\"classes/FeatureProbe.html#sendEvents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"successInitialized\",\"url\":\"classes/FeatureProbe.html#successInitialized\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":2048,\"name\":\"errorInitialized\",\"url\":\"classes/FeatureProbe.html#errorInitialized\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"FeatureProbe\"},{\"kind\":256,\"name\":\"FPDetail\",\"url\":\"interfaces/FPDetail.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"value\",\"url\":\"interfaces/FPDetail.html#value\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":1024,\"name\":\"ruleIndex\",\"url\":\"interfaces/FPDetail.html#ruleIndex\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":1024,\"name\":\"variationIndex\",\"url\":\"interfaces/FPDetail.html#variationIndex\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":1024,\"name\":\"version\",\"url\":\"interfaces/FPDetail.html#version\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":1024,\"name\":\"reason\",\"url\":\"interfaces/FPDetail.html#reason\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPDetail\"},{\"kind\":256,\"name\":\"FPConfig\",\"url\":\"interfaces/FPConfig.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"remoteUrl\",\"url\":\"interfaces/FPConfig.html#remoteUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"togglesUrl\",\"url\":\"interfaces/FPConfig.html#togglesUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"eventsUrl\",\"url\":\"interfaces/FPConfig.html#eventsUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"realtimeUrl\",\"url\":\"interfaces/FPConfig.html#realtimeUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"realtimePath\",\"url\":\"interfaces/FPConfig.html#realtimePath\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"clientSdkKey\",\"url\":\"interfaces/FPConfig.html#clientSdkKey\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"user\",\"url\":\"interfaces/FPConfig.html#user\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"refreshInterval\",\"url\":\"interfaces/FPConfig.html#refreshInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":1024,\"name\":\"timeoutInterval\",\"url\":\"interfaces/FPConfig.html#timeoutInterval\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPConfig\"},{\"kind\":256,\"name\":\"FPStorageProvider\",\"url\":\"interfaces/FPStorageProvider.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"setItem\",\"url\":\"interfaces/FPStorageProvider.html#setItem\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPStorageProvider\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/FPStorageProvider.html#__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-interface\",\"parent\":\"FPStorageProvider\"},{\"kind\":1024,\"name\":\"getItem\",\"url\":\"interfaces/FPStorageProvider.html#getItem\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"FPStorageProvider\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/FPStorageProvider.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-interface\",\"parent\":\"FPStorageProvider\"},{\"kind\":256,\"name\":\"IHttpRequest\",\"url\":\"interfaces/IHttpRequest.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"get\",\"url\":\"interfaces/IHttpRequest.html#get\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IHttpRequest\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IHttpRequest.html#__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-interface\",\"parent\":\"IHttpRequest\"},{\"kind\":1024,\"name\":\"post\",\"url\":\"interfaces/IHttpRequest.html#post\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IHttpRequest\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IHttpRequest.html#__type-2\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-interface\",\"parent\":\"IHttpRequest\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,39.766]],[\"comment/0\",[]],[\"name/1\",[1,39.766]],[\"comment/1\",[]],[\"name/2\",[2,34.657]],[\"comment/2\",[]],[\"name/3\",[3,39.766]],[\"comment/3\",[]],[\"name/4\",[4,39.766]],[\"comment/4\",[]],[\"name/5\",[5,25.102]],[\"comment/5\",[]],[\"name/6\",[6,39.766]],[\"comment/6\",[]],[\"name/7\",[7,39.766]],[\"comment/7\",[]],[\"name/8\",[8,39.766]],[\"comment/8\",[]],[\"name/9\",[5,25.102]],[\"comment/9\",[]],[\"name/10\",[9,39.766]],[\"comment/10\",[]],[\"name/11\",[10,34.657]],[\"comment/11\",[]],[\"name/12\",[11,39.766]],[\"comment/12\",[]],[\"name/13\",[12,39.766]],[\"comment/13\",[]],[\"name/14\",[13,39.766]],[\"comment/14\",[]],[\"name/15\",[2,34.657]],[\"comment/15\",[]],[\"name/16\",[14,34.657]],[\"comment/16\",[]],[\"name/17\",[15,34.657]],[\"comment/17\",[]],[\"name/18\",[16,34.657]],[\"comment/18\",[]],[\"name/19\",[17,34.657]],[\"comment/19\",[]],[\"name/20\",[18,34.657]],[\"comment/20\",[]],[\"name/21\",[19,34.657]],[\"comment/21\",[]],[\"name/22\",[20,34.657]],[\"comment/22\",[]],[\"name/23\",[21,39.766]],[\"comment/23\",[]],[\"name/24\",[22,39.766]],[\"comment/24\",[]],[\"name/25\",[23,39.766]],[\"comment/25\",[]],[\"name/26\",[24,39.766]],[\"comment/26\",[]],[\"name/27\",[25,39.766]],[\"comment/27\",[]],[\"name/28\",[26,34.657]],[\"comment/28\",[]],[\"name/29\",[27,39.766]],[\"comment/29\",[]],[\"name/30\",[28,39.766]],[\"comment/30\",[]],[\"name/31\",[29,39.766]],[\"comment/31\",[]],[\"name/32\",[30,39.766]],[\"comment/32\",[]],[\"name/33\",[31,39.766]],[\"comment/33\",[]],[\"name/34\",[32,39.766]],[\"comment/34\",[]],[\"name/35\",[33,39.766]],[\"comment/35\",[]],[\"name/36\",[34,39.766]],[\"comment/36\",[]],[\"name/37\",[35,39.766]],[\"comment/37\",[]],[\"name/38\",[36,39.766]],[\"comment/38\",[]],[\"name/39\",[37,39.766]],[\"comment/39\",[]],[\"name/40\",[38,39.766]],[\"comment/40\",[]],[\"name/41\",[39,39.766]],[\"comment/41\",[]],[\"name/42\",[40,39.766]],[\"comment/42\",[]],[\"name/43\",[41,39.766]],[\"comment/43\",[]],[\"name/44\",[42,39.766]],[\"comment/44\",[]],[\"name/45\",[43,39.766]],[\"comment/45\",[]],[\"name/46\",[44,39.766]],[\"comment/46\",[]],[\"name/47\",[45,39.766]],[\"comment/47\",[]],[\"name/48\",[46,39.766]],[\"comment/48\",[]],[\"name/49\",[47,39.766]],[\"comment/49\",[]],[\"name/50\",[48,39.766]],[\"comment/50\",[]],[\"name/51\",[49,39.766]],[\"comment/51\",[]],[\"name/52\",[50,39.766]],[\"comment/52\",[]],[\"name/53\",[51,39.766]],[\"comment/53\",[]],[\"name/54\",[52,39.766]],[\"comment/54\",[]],[\"name/55\",[53,39.766]],[\"comment/55\",[]],[\"name/56\",[54,39.766]],[\"comment/56\",[]],[\"name/57\",[55,39.766]],[\"comment/57\",[]],[\"name/58\",[56,39.766]],[\"comment/58\",[]],[\"name/59\",[57,39.766]],[\"comment/59\",[]],[\"name/60\",[58,39.766]],[\"comment/60\",[]],[\"name/61\",[14,34.657]],[\"comment/61\",[]],[\"name/62\",[15,34.657]],[\"comment/62\",[]],[\"name/63\",[16,34.657]],[\"comment/63\",[]],[\"name/64\",[17,34.657]],[\"comment/64\",[]],[\"name/65\",[19,34.657]],[\"comment/65\",[]],[\"name/66\",[20,34.657]],[\"comment/66\",[]],[\"name/67\",[18,34.657]],[\"comment/67\",[]],[\"name/68\",[26,34.657]],[\"comment/68\",[]],[\"name/69\",[59,39.766]],[\"comment/69\",[]],[\"name/70\",[60,39.766]],[\"comment/70\",[]],[\"name/71\",[5,25.102]],[\"comment/71\",[]],[\"name/72\",[61,39.766]],[\"comment/72\",[]],[\"name/73\",[5,25.102]],[\"comment/73\",[]],[\"name/74\",[62,39.766]],[\"comment/74\",[]],[\"name/75\",[10,34.657]],[\"comment/75\",[]],[\"name/76\",[5,25.102]],[\"comment/76\",[]],[\"name/77\",[63,39.766]],[\"comment/77\",[]],[\"name/78\",[5,25.102]],[\"comment/78\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":5,\"name\":{\"5\":{},\"9\":{},\"71\":{},\"73\":{},\"76\":{},\"78\":{}},\"comment\":{}}],[\"alltoggles\",{\"_index\":40,\"name\":{\"42\":{}},\"comment\":{}}],[\"attrs\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"booldetail\",{\"_index\":36,\"name\":{\"38\":{}},\"comment\":{}}],[\"boolvalue\",{\"_index\":32,\"name\":{\"34\":{}},\"comment\":{}}],[\"clientsdkkey\",{\"_index\":19,\"name\":{\"21\":{},\"65\":{}},\"comment\":{}}],[\"connectsocket\",{\"_index\":44,\"name\":{\"46\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{},\"15\":{}},\"comment\":{}}],[\"errorinitialized\",{\"_index\":50,\"name\":{\"52\":{}},\"comment\":{}}],[\"eventsurl\",{\"_index\":15,\"name\":{\"17\":{},\"62\":{}},\"comment\":{}}],[\"extendattrs\",{\"_index\":9,\"name\":{\"10\":{}},\"comment\":{}}],[\"featureprobe\",{\"_index\":12,\"name\":{\"13\":{}},\"comment\":{}}],[\"fetchtoggles\",{\"_index\":47,\"name\":{\"49\":{}},\"comment\":{}}],[\"fpconfig\",{\"_index\":57,\"name\":{\"59\":{}},\"comment\":{}}],[\"fpdetail\",{\"_index\":51,\"name\":{\"53\":{}},\"comment\":{}}],[\"fpstorageprovider\",{\"_index\":59,\"name\":{\"69\":{}},\"comment\":{}}],[\"fpuser\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"get\",{\"_index\":10,\"name\":{\"11\":{},\"75\":{}},\"comment\":{}}],[\"getattrs\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"getitem\",{\"_index\":61,\"name\":{\"72\":{}},\"comment\":{}}],[\"getkey\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"getuser\",{\"_index\":41,\"name\":{\"43\":{}},\"comment\":{}}],[\"identifyuser\",{\"_index\":42,\"name\":{\"44\":{}},\"comment\":{}}],[\"ihttprequest\",{\"_index\":62,\"name\":{\"74\":{}},\"comment\":{}}],[\"initializeplatform\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"jsondetail\",{\"_index\":39,\"name\":{\"41\":{}},\"comment\":{}}],[\"jsonvalue\",{\"_index\":35,\"name\":{\"37\":{}},\"comment\":{}}],[\"key\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"logout\",{\"_index\":43,\"name\":{\"45\":{}},\"comment\":{}}],[\"newfortest\",{\"_index\":13,\"name\":{\"14\":{}},\"comment\":{}}],[\"numberdetail\",{\"_index\":37,\"name\":{\"39\":{}},\"comment\":{}}],[\"numbervalue\",{\"_index\":33,\"name\":{\"35\":{}},\"comment\":{}}],[\"post\",{\"_index\":63,\"name\":{\"77\":{}},\"comment\":{}}],[\"readypromise\",{\"_index\":24,\"name\":{\"26\":{}},\"comment\":{}}],[\"realtimepath\",{\"_index\":17,\"name\":{\"19\":{},\"64\":{}},\"comment\":{}}],[\"realtimeurl\",{\"_index\":16,\"name\":{\"18\":{},\"63\":{}},\"comment\":{}}],[\"reason\",{\"_index\":56,\"name\":{\"58\":{}},\"comment\":{}}],[\"refreshinterval\",{\"_index\":18,\"name\":{\"20\":{},\"67\":{}},\"comment\":{}}],[\"remoteurl\",{\"_index\":58,\"name\":{\"60\":{}},\"comment\":{}}],[\"ruleindex\",{\"_index\":53,\"name\":{\"55\":{}},\"comment\":{}}],[\"sendevents\",{\"_index\":48,\"name\":{\"50\":{}},\"comment\":{}}],[\"setitem\",{\"_index\":60,\"name\":{\"70\":{}},\"comment\":{}}],[\"socket\",{\"_index\":28,\"name\":{\"30\":{}},\"comment\":{}}],[\"stablerollout\",{\"_index\":11,\"name\":{\"12\":{}},\"comment\":{}}],[\"start\",{\"_index\":29,\"name\":{\"31\":{}},\"comment\":{}}],[\"status\",{\"_index\":25,\"name\":{\"27\":{}},\"comment\":{}}],[\"stop\",{\"_index\":30,\"name\":{\"32\":{}},\"comment\":{}}],[\"storage\",{\"_index\":27,\"name\":{\"29\":{}},\"comment\":{}}],[\"stringdetail\",{\"_index\":38,\"name\":{\"40\":{}},\"comment\":{}}],[\"stringvalue\",{\"_index\":34,\"name\":{\"36\":{}},\"comment\":{}}],[\"successinitialized\",{\"_index\":49,\"name\":{\"51\":{}},\"comment\":{}}],[\"timeoutinterval\",{\"_index\":26,\"name\":{\"28\":{},\"68\":{}},\"comment\":{}}],[\"timeouttimer\",{\"_index\":23,\"name\":{\"25\":{}},\"comment\":{}}],[\"timer\",{\"_index\":22,\"name\":{\"24\":{}},\"comment\":{}}],[\"toggledetail\",{\"_index\":46,\"name\":{\"48\":{}},\"comment\":{}}],[\"toggles\",{\"_index\":21,\"name\":{\"23\":{}},\"comment\":{}}],[\"togglesurl\",{\"_index\":14,\"name\":{\"16\":{},\"61\":{}},\"comment\":{}}],[\"togglevalue\",{\"_index\":45,\"name\":{\"47\":{}},\"comment\":{}}],[\"user\",{\"_index\":20,\"name\":{\"22\":{},\"66\":{}},\"comment\":{}}],[\"value\",{\"_index\":52,\"name\":{\"54\":{}},\"comment\":{}}],[\"variationindex\",{\"_index\":54,\"name\":{\"56\":{}},\"comment\":{}}],[\"version\",{\"_index\":55,\"name\":{\"57\":{}},\"comment\":{}}],[\"waituntilready\",{\"_index\":31,\"name\":{\"33\":{}},\"comment\":{}}],[\"with\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css index e509385..8f6ed2c 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -825,15 +825,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { padding-left: 5.5rem; } -#tsd-sidebar-links a { - margin-top: 0; - margin-bottom: 0.5rem; - line-height: 1.25rem; -} -#tsd-sidebar-links a:last-of-type { - margin-bottom: 0; -} - a.tsd-index-link { margin: 0.25rem 0; font-size: 1rem; @@ -987,8 +978,7 @@ a.tsd-index-link { right: -40px; } #tsd-search .field input, -#tsd-search .title, -#tsd-toolbar-links a { +#tsd-search .title { transition: opacity 0.2s; } #tsd-search .results { @@ -1032,8 +1022,7 @@ a.tsd-index-link { top: 0; opacity: 1; } -#tsd-search.has-focus .title, -#tsd-search.has-focus #tsd-toolbar-links a { +#tsd-search.has-focus .title { z-index: 0; opacity: 0; } @@ -1047,22 +1036,6 @@ a.tsd-index-link { display: block; } -#tsd-toolbar-links { - position: absolute; - top: 0; - right: 2rem; - height: 100%; - display: flex; - align-items: center; - justify-content: flex-end; -} -#tsd-toolbar-links a { - margin-left: 1.5rem; -} -#tsd-toolbar-links a:hover { - text-decoration: underline; -} - .tsd-signature { margin: 0 0 1rem 0; padding: 1rem 0.5rem; @@ -1151,7 +1124,6 @@ ul.tsd-type-parameter-list h5 { display: flex; justify-content: space-between; height: 2.5rem; - margin: 0 auto; } .tsd-page-toolbar .table-cell { position: relative; @@ -1161,11 +1133,6 @@ ul.tsd-type-parameter-list h5 { .tsd-page-toolbar .table-cell:first-child { width: 100%; } -.tsd-page-toolbar .tsd-toolbar-icon { - box-sizing: border-box; - line-height: 0; - padding: 12px 0; -} .tsd-page-toolbar--hide { transform: translateY(-100%); diff --git a/docs/assets/widgets.png b/docs/assets/widgets.png new file mode 100644 index 0000000..c738053 Binary files /dev/null and b/docs/assets/widgets.png differ diff --git a/docs/assets/widgets@2x.png b/docs/assets/widgets@2x.png new file mode 100644 index 0000000..4bbbd57 Binary files /dev/null and b/docs/assets/widgets@2x.png differ diff --git a/docs/classes/FPUser.html b/docs/classes/FPUser.html index 95e8566..3edb882 100644 --- a/docs/classes/FPUser.html +++ b/docs/classes/FPUser.html @@ -1,18 +1,16 @@ -FPUser | FeatureProbe Client Side SDK for JavaScript (1.2.0)
+FPUser | FeatureProbe Client Side SDK for JavaScript (1.2.1)
-
+
  • The search index is not available
  • FeatureProbe Client Side SDK for JavaScript (1.2.1) +
    @@ -24,7 +22,7 @@

    Hierarchy

    • FPUser
    +
  • Defined in src/FPUser.ts:5
  • @@ -62,30 +60,30 @@

    Parameters

    Optional key: string

    Returns FPUser

    +
  • Defined in src/FPUser.ts:9
  • Properties

    -
    attrs: {
        [key: string]: string;
    }
    +
    attrs: { [key: string]: string }

    Type declaration

    • [key: string]: string
    +
  • Defined in src/FPUser.ts:7
  • key: string
    +
  • Defined in src/FPUser.ts:6
  • Methods

    Returns FPUser

    +
  • Defined in src/FPUser.ts:53
    • @@ -118,20 +116,20 @@
      attrName: string

    Returns undefined | string

    +
  • Defined in src/FPUser.ts:67
    • - +
    • Get all attributes of the FPUser client.

      -

      Returns {
          [key: string]: string;
      }

      +

      Returns { [key: string]: string }

      • [key: string]: string
    +
  • Defined in src/FPUser.ts:42
  • +
  • Defined in src/FPUser.ts:31
    • @@ -158,7 +156,7 @@
      key: string

    Returns FPUser

    +
  • Defined in src/FPUser.ts:78
    • @@ -179,7 +177,7 @@
      attrValue: string

    Returns FPUser

    +
  • Defined in src/FPUser.ts:23
  • -
    +
  • The search index is not available
  • FeatureProbe Client Side SDK for JavaScript (1.2.1) +
    @@ -26,7 +24,7 @@

    Hierarchy

    • FeatureProbe
    +
  • Defined in src/FeatureProbe.ts:28
  • @@ -41,7 +39,10 @@

    Properties

    +
  • Defined in src/FeatureProbe.ts:45
  • Properties

    clientSdkKey: string
    +
  • Defined in src/FeatureProbe.ts:34
  • eventsUrl: string
    +
  • Defined in src/FeatureProbe.ts:30
  • readyPromise: null | Promise<void>
    +
  • Defined in src/FeatureProbe.ts:39
  • +
    + +
    realtimePath: string
    +
    + +
    realtimeUrl: string
    refreshInterval: number
    +
  • Defined in src/FeatureProbe.ts:33
  • +
    + +
    socket?: Socket<DefaultEventsMap, DefaultEventsMap>
    status: string
    +
  • Defined in src/FeatureProbe.ts:40
  • +
  • Defined in src/FeatureProbe.ts:42
  • timeoutInterval: number
    +
  • Defined in src/FeatureProbe.ts:41
  • timeoutTimer?: any
    +
  • Defined in src/FeatureProbe.ts:38
  • timer?: any
    +
  • Defined in src/FeatureProbe.ts:37
  • -
    toggles: undefined | {
        [key: string]: FPDetail;
    }
    +
  • Defined in src/FeatureProbe.ts:36
  • togglesUrl: string
    +
  • Defined in src/FeatureProbe.ts:29
  • user: FPUser
    +
  • Defined in src/FeatureProbe.ts:35
  • Methods

      - +
    • Returns an object of all available toggles' details to the current user.

      -

      Returns undefined | {
          [key: string]: FPDetail;
      }

    +
  • Defined in src/FeatureProbe.ts:275
    • @@ -190,7 +207,7 @@
      defaultValue: boolean

    Returns FPDetail

    +
  • Defined in src/FeatureProbe.ts:229
    • @@ -211,7 +228,15 @@
      defaultValue: boolean

    Returns boolean

    +
  • Defined in src/FeatureProbe.ts:177
  • +
    + +
    +
  • Defined in src/FeatureProbe.ts:486
  • +
  • Defined in src/FeatureProbe.ts:410
  • +
  • Defined in src/FeatureProbe.ts:285
    • @@ -272,11 +297,11 @@
      user:

    Returns void

    +
  • Defined in src/FeatureProbe.ts:295
    • - +
    • Determines the return json value of a toggle for the current user, along with information about how it was calculated.

      @@ -288,16 +313,16 @@
      key: string

      The unique key of the toggle.

    • -
      defaultValue: object
      +
      defaultValue: Record<string, unknown>

      The default value of the toggle, to be used if the value is not available from FeatureProbe.

    Returns FPDetail

    +
  • Defined in src/FeatureProbe.ts:268
    • - +
    • Determines the return json value of a toggle for the current user.

      @@ -309,12 +334,12 @@
      key: string

      The unique key of the toggle.

    • -
      defaultValue: object
      +
      defaultValue: Record<string, unknown>

      The default value of the toggle, to be used if the value is not available from FeatureProbe.

    -

    Returns object

    +
  • Defined in src/FeatureProbe.ts:216
  • +
  • Defined in src/FeatureProbe.ts:304
    • @@ -345,7 +370,7 @@
      defaultValue: number

    Returns FPDetail

    +
  • Defined in src/FeatureProbe.ts:242
    • @@ -366,7 +391,7 @@
      defaultValue: number

    Returns number

    +
  • Defined in src/FeatureProbe.ts:190
    • @@ -431,7 +456,7 @@

      Parameters

      key: string

    Returns Promise<void>

    +
  • Defined in src/FeatureProbe.ts:438
  • +
  • Defined in src/FeatureProbe.ts:93
  • +
  • Defined in src/FeatureProbe.ts:124
    • @@ -473,7 +498,7 @@
      defaultValue: string

    Returns FPDetail

    +
  • Defined in src/FeatureProbe.ts:255
    • @@ -494,7 +519,7 @@
      defaultValue: string

    Returns string

    +
  • Defined in src/FeatureProbe.ts:203
  • +
  • Defined in src/FeatureProbe.ts:473
    • @@ -519,7 +544,7 @@
      defaultValue: any
      valueType: string

    Returns FPDetail

    +
  • Defined in src/FeatureProbe.ts:371
    • @@ -536,7 +561,7 @@
      defaultValue: any
      valueType: string

    Returns any

    +
  • Defined in src/FeatureProbe.ts:351
  • +
  • Defined in src/FeatureProbe.ts:137
    • - +
    • Parameters

      • -
        toggles: {
            [key: string]: any;
        }
        +
        toggles: { [key: string]: any }
        • [key: string]: any

      Returns FeatureProbe

    +
  • Defined in src/FeatureProbe.ts:309
  • -
    +
  • The search index is not available
  • FeatureProbe Client Side SDK for JavaScript (1.2.1) +

    Returns void

    +
  • Defined in src/index.ts:12
  • -
    +
  • The search index is not available
  • FeatureProbe Client Side SDK for JavaScript (1.2.1) +
    -

    FeatureProbe Client Side SDK for JavaScript (1.2.0)

    +

    FeatureProbe Client Side SDK for JavaScript (1.2.1)

    Index

    @@ -50,7 +48,7 @@

    Theme

    -
    -
    +
    • Preparing search index...
    • -
    • The search index is not available
    FeatureProbe Client Side SDK for JavaScript (1.2.0) -
    +
  • The search index is not available
  • FeatureProbe Client Side SDK for JavaScript (1.2.1) +
    @@ -20,7 +18,7 @@

    Hierarchy

    • FPConfig
    +
  • Defined in src/types.ts:51
  • @@ -30,6 +28,8 @@
    +
  • Defined in src/types.ts:80
  • eventsUrl?: string
    -

    The specific URL to post events, once set, remoteUrl will be ignored.

    +

    The specific URL to post events, if not set, will generate from remoteUrl.

    +
  • Defined in src/types.ts:65
  • +
    + +
    realtimePath?: string
    +

    The specific path to receive realtime events, if not set, default value will be used.

    +
    +
    + +
    realtimeUrl?: string
    +

    The specific URL to receive realtime events, if not set, will generate from remoteUrl.

    +
    refreshInterval?: number

    Milliseconds for SDK to check for update.

    +
  • Defined in src/types.ts:90
  • remoteUrl?: string

    The unified URL to connect FeatureProbe Server.

    +
  • Defined in src/types.ts:55
  • timeoutInterval?: number

    Milliseconds for SDK to initialize, SDK will emit an error event when milliseconds reach.

    +
  • Defined in src/types.ts:95
  • togglesUrl?: string
    -

    The specific URL to get toggles, once set, remoteUrl will be ignored.

    +

    The specific URL to get toggles, if not set, will generate from remoteUrl.

    +
  • Defined in src/types.ts:60
  • user: FPUser

    The User with attributes like name, age is used when toggle evaluation.

    +
  • Defined in src/types.ts:85
  • -
    +
  • The search index is not available
  • FeatureProbe Client Side SDK for JavaScript (1.2.1) +
    +
  • Defined in src/types.ts:48
  • ruleIndex: null | number

    The sequence number of the rule in the UI configuration that hit the rule.

    +
  • Defined in src/types.ts:33
  • -
    value: string | number | boolean | object
    +
    value: string | number | boolean | Record<string, unknown>

    The value corresponding to the rule in the UI platform.

    +
  • Defined in src/types.ts:28
  • variationIndex: null | number

    The sequence number of the variation in the UI platform.

    +
  • Defined in src/types.ts:38
  • version: null | number

    The version of the toggle.

    +
  • Defined in src/types.ts:43
  • -
    +
  • The search index is not available
  • FeatureProbe Client Side SDK for JavaScript (1.2.1) +
    @@ -20,7 +18,7 @@

    Hierarchy

    • FPStorageProvider
    +
  • Defined in src/types.ts:98
  • @@ -54,7 +52,7 @@
    key: string

    Returns Promise<any>

    +
  • Defined in src/types.ts:117
  • setItem: ((key: string, data: any) => Promise<void>)
    @@ -80,7 +78,7 @@
    data: any

    Returns Promise<void>

    +
  • Defined in src/types.ts:109
  • -
    +
  • The search index is not available
  • FeatureProbe Client Side SDK for JavaScript (1.2.1) +
    @@ -20,7 +18,7 @@

    Hierarchy

    • IHttpRequest
    +
  • Defined in src/types.ts:120
  • @@ -35,13 +33,13 @@

    Properties

    Properties

    -
    get: ((url: string, headers: Record<string, string>, data: Record<string, string>, successCb: ((json: any) => void), errorCb: ((e: string) => void)) => void)
    +
    get: ((url: string, headers: Record<string, string>, data: Record<string, string>, successCb: ((json: unknown) => void), errorCb: ((e: string) => void)) => void)

    Type declaration

      • -
      • (url: string, headers: Record<string, string>, data: Record<string, string>, successCb: ((json: any) => void), errorCb: ((e: string) => void)): void
      • +
      • (url: string, headers: Record<string, string>, data: Record<string, string>, successCb: ((json: unknown) => void), errorCb: ((e: string) => void)): void
      • Parameters

        @@ -53,17 +51,17 @@
        headers: RecordRecord<string, string>
      • -
        successCb: ((json: any) => void)
        +
        successCb: ((json: unknown) => void)
          • -
          • (json: any): void
          • +
          • (json: unknown): void
          • Parameters

            • -
              json: any
            +
            json: unknown

    Returns void

  • errorCb: ((e: string) => void)
    @@ -80,16 +78,16 @@
    e: string
  • Returns void

    Returns void

    +
  • Defined in src/types.ts:121
  • -
    post: ((url: string, headers: Record<string, string>, data: any, successCb: (() => void), errorCb: ((e: string) => void)) => void)
    +
    post: ((url: string, headers: Record<string, string>, data: string, successCb: (() => void), errorCb: ((e: string) => void)) => void)

    Type declaration

      • -
      • (url: string, headers: Record<string, string>, data: any, successCb: (() => void), errorCb: ((e: string) => void)): void
      • +
      • (url: string, headers: Record<string, string>, data: string, successCb: (() => void), errorCb: ((e: string) => void)): void
      • Parameters

        @@ -99,7 +97,7 @@
        url: string
      • headers: Record<string, string>
      • -
        data: any
      • +
        data: string
      • successCb: (() => void)
          @@ -123,7 +121,7 @@
          e: string

    Returns void

    Returns void

    +
  • Defined in src/types.ts:128