sailfish/docs/en/site/assets/javascripts/bundle.b88e97c5.min.js

30 lines
108 KiB
JavaScript

(()=>{var Zi=Object.create;var Ct=Object.defineProperty;var ea=Object.getOwnPropertyDescriptor;var ta=Object.getOwnPropertyNames,At=Object.getOwnPropertySymbols,ra=Object.getPrototypeOf,xr=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable;var on=(e,t,r)=>t in e?Ct(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$=(e,t)=>{for(var r in t||(t={}))xr.call(t,r)&&on(e,r,t[r]);if(At)for(var r of At(t))an.call(t,r)&&on(e,r,t[r]);return e};var na=e=>Ct(e,"__esModule",{value:!0});var sn=(e,t)=>{var r={};for(var n in e)xr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&At)for(var n of At(e))t.indexOf(n)<0&&an.call(e,n)&&(r[n]=e[n]);return r};var bt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var oa=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ta(t))!xr.call(e,o)&&(r||o!=="default")&&Ct(e,o,{get:()=>t[o],enumerable:!(n=ea(t,o))||n.enumerable});return e},Ke=(e,t)=>oa(na(Ct(e!=null?Zi(ra(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var un=bt((Sr,cn)=>{(function(e,t){typeof Sr=="object"&&typeof cn!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Sr,function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(_){return!!(_&&_!==document&&_.nodeName!=="HTML"&&_.nodeName!=="BODY"&&"classList"in _&&"contains"in _.classList)}function s(_){var je=_.type,de=_.tagName;return!!(de==="INPUT"&&a[je]&&!_.readOnly||de==="TEXTAREA"&&!_.readOnly||_.isContentEditable)}function u(_){_.classList.contains("focus-visible")||(_.classList.add("focus-visible"),_.setAttribute("data-focus-visible-added",""))}function f(_){!_.hasAttribute("data-focus-visible-added")||(_.classList.remove("focus-visible"),_.removeAttribute("data-focus-visible-added"))}function p(_){_.metaKey||_.altKey||_.ctrlKey||(c(r.activeElement)&&u(r.activeElement),n=!0)}function l(_){n=!1}function d(_){!c(_.target)||(n||s(_.target))&&u(_.target)}function h(_){!c(_.target)||(_.target.classList.contains("focus-visible")||_.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),f(_.target))}function b(_){document.visibilityState==="hidden"&&(o&&(n=!0),j())}function j(){document.addEventListener("mousemove",F),document.addEventListener("mousedown",F),document.addEventListener("mouseup",F),document.addEventListener("pointermove",F),document.addEventListener("pointerdown",F),document.addEventListener("pointerup",F),document.addEventListener("touchmove",F),document.addEventListener("touchstart",F),document.addEventListener("touchend",F)}function K(){document.removeEventListener("mousemove",F),document.removeEventListener("mousedown",F),document.removeEventListener("mouseup",F),document.removeEventListener("pointermove",F),document.removeEventListener("pointerdown",F),document.removeEventListener("pointerup",F),document.removeEventListener("touchmove",F),document.removeEventListener("touchstart",F),document.removeEventListener("touchend",F)}function F(_){_.target.nodeName&&_.target.nodeName.toLowerCase()==="html"||(n=!1,K())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",l,!0),document.addEventListener("pointerdown",l,!0),document.addEventListener("touchstart",l,!0),document.addEventListener("visibilitychange",b,!0),j(),r.addEventListener("focus",d,!0),r.addEventListener("blur",h,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var fn=bt(wr=>{(function(e){var t=function(){try{return!!Symbol.iterator}catch(u){return!1}},r=t(),n=function(u){var f={next:function(){var p=u.shift();return{done:p===void 0,value:p}}};return r&&(f[Symbol.iterator]=function(){return f}),f},o=function(u){return encodeURIComponent(u).replace(/%20/g,"+")},i=function(u){return decodeURIComponent(String(u).replace(/\+/g," "))},a=function(){var u=function(p){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var l=typeof p;if(l!=="undefined")if(l==="string")p!==""&&this._fromString(p);else if(p instanceof u){var d=this;p.forEach(function(K,F){d.append(F,K)})}else if(p!==null&&l==="object")if(Object.prototype.toString.call(p)==="[object Array]")for(var h=0;h<p.length;h++){var b=p[h];if(Object.prototype.toString.call(b)==="[object Array]"||b.length!==2)this.append(b[0],b[1]);else throw new TypeError("Expected [string, any] as entry at index "+h+" of URLSearchParams's input")}else for(var j in p)p.hasOwnProperty(j)&&this.append(j,p[j]);else throw new TypeError("Unsupported input's type for URLSearchParams")},f=u.prototype;f.append=function(p,l){p in this._entries?this._entries[p].push(String(l)):this._entries[p]=[String(l)]},f.delete=function(p){delete this._entries[p]},f.get=function(p){return p in this._entries?this._entries[p][0]:null},f.getAll=function(p){return p in this._entries?this._entries[p].slice(0):[]},f.has=function(p){return p in this._entries},f.set=function(p,l){this._entries[p]=[String(l)]},f.forEach=function(p,l){var d;for(var h in this._entries)if(this._entries.hasOwnProperty(h)){d=this._entries[h];for(var b=0;b<d.length;b++)p.call(l,d[b],h,this)}},f.keys=function(){var p=[];return this.forEach(function(l,d){p.push(d)}),n(p)},f.values=function(){var p=[];return this.forEach(function(l){p.push(l)}),n(p)},f.entries=function(){var p=[];return this.forEach(function(l,d){p.push([d,l])}),n(p)},r&&(f[Symbol.iterator]=f.entries),f.toString=function(){var p=[];return this.forEach(function(l,d){p.push(o(d)+"="+o(l))}),p.join("&")},e.URLSearchParams=u},c=function(){try{var u=e.URLSearchParams;return new u("?a=1").toString()==="a=1"&&typeof u.prototype.set=="function"&&typeof u.prototype.entries=="function"}catch(f){return!1}};c()||a();var s=e.URLSearchParams.prototype;typeof s.sort!="function"&&(s.sort=function(){var u=this,f=[];this.forEach(function(l,d){f.push([d,l]),u._entries||u.delete(d)}),f.sort(function(l,d){return l[0]<d[0]?-1:l[0]>d[0]?1:0}),u._entries&&(u._entries={});for(var p=0;p<f.length;p++)this.append(f[p][0],f[p][1])}),typeof s._fromString!="function"&&Object.defineProperty(s,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(u){if(this._entries)this._entries={};else{var f=[];this.forEach(function(h,b){f.push(b)});for(var p=0;p<f.length;p++)this.delete(f[p])}u=u.replace(/^\?/,"");for(var l=u.split("&"),d,p=0;p<l.length;p++)d=l[p].split("="),this.append(i(d[0]),d.length>1?i(d[1]):"")}})})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:wr);(function(e){var t=function(){try{var o=new e.URL("b","http://a");return o.pathname="c d",o.href==="http://a/c%20d"&&o.searchParams}catch(i){return!1}},r=function(){var o=e.URL,i=function(s,u){typeof s!="string"&&(s=String(s)),u&&typeof u!="string"&&(u=String(u));var f=document,p;if(u&&(e.location===void 0||u!==e.location.href)){u=u.toLowerCase(),f=document.implementation.createHTMLDocument(""),p=f.createElement("base"),p.href=u,f.head.appendChild(p);try{if(p.href.indexOf(u)!==0)throw new Error(p.href)}catch(_){throw new Error("URL unable to set base "+u+" due to "+_)}}var l=f.createElement("a");l.href=s,p&&(f.body.appendChild(l),l.href=l.href);var d=f.createElement("input");if(d.type="url",d.value=s,l.protocol===":"||!/:/.test(l.href)||!d.checkValidity()&&!u)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:l});var h=new e.URLSearchParams(this.search),b=!0,j=!0,K=this;["append","delete","set"].forEach(function(_){var je=h[_];h[_]=function(){je.apply(h,arguments),b&&(j=!1,K.search=h.toString(),j=!0)}}),Object.defineProperty(this,"searchParams",{value:h,enumerable:!0});var F=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==F&&(F=this.search,j&&(b=!1,this.searchParams._fromString(this.search),b=!0))}})},a=i.prototype,c=function(s){Object.defineProperty(a,s,{get:function(){return this._anchorElement[s]},set:function(u){this._anchorElement[s]=u},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(s){c(s)}),Object.defineProperty(a,"search",{get:function(){return this._anchorElement.search},set:function(s){this._anchorElement.search=s,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(a,{toString:{get:function(){var s=this;return function(){return s.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(s){this._anchorElement.href=s,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(s){this._anchorElement.pathname=s},enumerable:!0},origin:{get:function(){var s={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],u=this._anchorElement.port!=s&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(u?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(s){},enumerable:!0},username:{get:function(){return""},set:function(s){},enumerable:!0}}),i.createObjectURL=function(s){return o.createObjectURL.apply(o,arguments)},i.revokeObjectURL=function(s){return o.revokeObjectURL.apply(o,arguments)},e.URL=i};if(t()||r(),e.location!==void 0&&!("origin"in e.location)){var n=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:n,enumerable:!0})}catch(o){setInterval(function(){e.location.origin=n()},100)}}})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:wr)});var Rn=bt((Fs,Ht)=>{/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var pn,ln,mn,dn,hn,bn,vn,gn,yn,Rt,Er,xn,Sn,wn,et,En,On,_n,Tn,Mn,Ln,An,Cn,kt;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Ht=="object"&&typeof Ht.exports=="object"?e(r(t,r(Ht.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,a){return n[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])};pn=function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(n,o);function i(){this.constructor=n}n.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},ln=Object.assign||function(n){for(var o,i=1,a=arguments.length;i<a;i++){o=arguments[i];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(n[c]=o[c])}return n},mn=function(n,o){var i={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&o.indexOf(a)<0&&(i[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(n);c<a.length;c++)o.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(n,a[c])&&(i[a[c]]=n[a[c]]);return i},dn=function(n,o,i,a){var c=arguments.length,s=c<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,i):a,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(n,o,i,a);else for(var f=n.length-1;f>=0;f--)(u=n[f])&&(s=(c<3?u(s):c>3?u(o,i,s):u(o,i))||s);return c>3&&s&&Object.defineProperty(o,i,s),s},hn=function(n,o){return function(i,a){o(i,a,n)}},bn=function(n,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,o)},vn=function(n,o,i,a){function c(s){return s instanceof i?s:new i(function(u){u(s)})}return new(i||(i=Promise))(function(s,u){function f(d){try{l(a.next(d))}catch(h){u(h)}}function p(d){try{l(a.throw(d))}catch(h){u(h)}}function l(d){d.done?s(d.value):c(d.value).then(f,p)}l((a=a.apply(n,o||[])).next())})},gn=function(n,o){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,c,s,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(l){return function(d){return p([l,d])}}function p(l){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,c&&(s=l[0]&2?c.return:l[0]?c.throw||((s=c.return)&&s.call(c),0):c.next)&&!(s=s.call(c,l[1])).done)return s;switch(c=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,c=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(s=i.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){i.label=l[1];break}if(l[0]===6&&i.label<s[1]){i.label=s[1],s=l;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(l);break}s[2]&&i.ops.pop(),i.trys.pop();continue}l=o.call(n,i)}catch(d){l=[6,d],c=0}finally{a=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},yn=function(n,o){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&kt(o,n,i)},kt=Object.create?function(n,o,i,a){a===void 0&&(a=i),Object.defineProperty(n,a,{enumerable:!0,get:function(){return o[i]}})}:function(n,o,i,a){a===void 0&&(a=i),n[a]=o[i]},Rt=function(n){var o=typeof Symbol=="function"&&Symbol.iterator,i=o&&n[o],a=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&a>=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},Er=function(n,o){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var a=i.call(n),c,s=[],u;try{for(;(o===void 0||o-- >0)&&!(c=a.next()).done;)s.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(u)throw u.error}}return s},xn=function(){for(var n=[],o=0;o<arguments.length;o++)n=n.concat(Er(arguments[o]));return n},Sn=function(){for(var n=0,o=0,i=arguments.length;o<i;o++)n+=arguments[o].length;for(var a=Array(n),c=0,o=0;o<i;o++)for(var s=arguments[o],u=0,f=s.length;u<f;u++,c++)a[c]=s[u];return a},wn=function(n,o,i){if(i||arguments.length===2)for(var a=0,c=o.length,s;a<c;a++)(s||!(a in o))&&(s||(s=Array.prototype.slice.call(o,0,a)),s[a]=o[a]);return n.concat(s||Array.prototype.slice.call(o))},et=function(n){return this instanceof et?(this.v=n,this):new et(n)},En=function(n,o,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=i.apply(n,o||[]),c,s=[];return c={},u("next"),u("throw"),u("return"),c[Symbol.asyncIterator]=function(){return this},c;function u(b){a[b]&&(c[b]=function(j){return new Promise(function(K,F){s.push([b,j,K,F])>1||f(b,j)})})}function f(b,j){try{p(a[b](j))}catch(K){h(s[0][3],K)}}function p(b){b.value instanceof et?Promise.resolve(b.value.v).then(l,d):h(s[0][2],b)}function l(b){f("next",b)}function d(b){f("throw",b)}function h(b,j){b(j),s.shift(),s.length&&f(s[0][0],s[0][1])}},On=function(n){var o,i;return o={},a("next"),a("throw",function(c){throw c}),a("return"),o[Symbol.iterator]=function(){return this},o;function a(c,s){o[c]=n[c]?function(u){return(i=!i)?{value:et(n[c](u)),done:c==="return"}:s?s(u):u}:s}},_n=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n[Symbol.asyncIterator],i;return o?o.call(n):(n=typeof Rt=="function"?Rt(n):n[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(s){i[s]=n[s]&&function(u){return new Promise(function(f,p){u=n[s](u),c(f,p,u.done,u.value)})}}function c(s,u,f,p){Promise.resolve(p).then(function(l){s({value:l,done:f})},u)}},Tn=function(n,o){return Object.defineProperty?Object.defineProperty(n,"raw",{value:o}):n.raw=o,n};var r=Object.create?function(n,o){Object.defineProperty(n,"default",{enumerable:!0,value:o})}:function(n,o){n.default=o};Mn=function(n){if(n&&n.__esModule)return n;var o={};if(n!=null)for(var i in n)i!=="default"&&Object.prototype.hasOwnProperty.call(n,i)&&kt(o,n,i);return r(o,n),o},Ln=function(n){return n&&n.__esModule?n:{default:n}},An=function(n,o,i,a){if(i==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof o=="function"?n!==o||!a:!o.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?a:i==="a"?a.call(n):a?a.value:o.get(n)},Cn=function(n,o,i,a,c){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!c)throw new TypeError("Private accessor was defined without a setter");if(typeof o=="function"?n!==o||!c:!o.has(n))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?c.call(n,i):c?c.value=i:o.set(n,i),i},e("__extends",pn),e("__assign",ln),e("__rest",mn),e("__decorate",dn),e("__param",hn),e("__metadata",bn),e("__awaiter",vn),e("__generator",gn),e("__exportStar",yn),e("__createBinding",kt),e("__values",Rt),e("__read",Er),e("__spread",xn),e("__spreadArrays",Sn),e("__spreadArray",wn),e("__await",et),e("__asyncGenerator",En),e("__asyncDelegator",On),e("__asyncValues",_n),e("__makeTemplateObject",Tn),e("__importStar",Mn),e("__importDefault",Ln),e("__classPrivateFieldGet",An),e("__classPrivateFieldSet",Cn)})});var Yr=bt((_t,Kr)=>{/*!
* clipboard.js v2.0.10
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(t,r){typeof _t=="object"&&typeof Kr=="object"?Kr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof _t=="object"?_t.ClipboardJS=r():t.ClipboardJS=r()})(_t,function(){return function(){var e={686:function(n,o,i){"use strict";i.d(o,{default:function(){return Xi}});var a=i(279),c=i.n(a),s=i(370),u=i.n(s),f=i(817),p=i.n(f);function l(I){try{return document.execCommand(I)}catch(M){return!1}}var d=function(M){var w=p()(M);return l("cut"),w},h=d;function b(I){var M=document.documentElement.getAttribute("dir")==="rtl",w=document.createElement("textarea");w.style.fontSize="12pt",w.style.border="0",w.style.padding="0",w.style.margin="0",w.style.position="absolute",w.style[M?"right":"left"]="-9999px";var U=window.pageYOffset||document.documentElement.scrollTop;return w.style.top="".concat(U,"px"),w.setAttribute("readonly",""),w.value=I,w}var j=function(M){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},U="";if(typeof M=="string"){var k=b(M);w.container.appendChild(k),U=p()(k),l("copy"),k.remove()}else U=p()(M),l("copy");return U},K=j;function F(I){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?F=function(w){return typeof w}:F=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},F(I)}var _=function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=M.action,U=w===void 0?"copy":w,k=M.container,N=M.target,Oe=M.text;if(U!=="copy"&&U!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(N!==void 0)if(N&&F(N)==="object"&&N.nodeType===1){if(U==="copy"&&N.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(U==="cut"&&(N.hasAttribute("readonly")||N.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Oe)return K(Oe,{container:k});if(N)return U==="cut"?h(N):K(N,{container:k})},je=_;function de(I){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?de=function(w){return typeof w}:de=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},de(I)}function Ze(I,M){if(!(I instanceof M))throw new TypeError("Cannot call a class as a function")}function nn(I,M){for(var w=0;w<M.length;w++){var U=M[w];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(I,U.key,U)}}function qi(I,M,w){return M&&nn(I.prototype,M),w&&nn(I,w),I}function Qi(I,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(M&&M.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),M&&gr(I,M)}function gr(I,M){return gr=Object.setPrototypeOf||function(U,k){return U.__proto__=k,U},gr(I,M)}function Ki(I){var M=Gi();return function(){var U=Mt(I),k;if(M){var N=Mt(this).constructor;k=Reflect.construct(U,arguments,N)}else k=U.apply(this,arguments);return Yi(this,k)}}function Yi(I,M){return M&&(de(M)==="object"||typeof M=="function")?M:Bi(I)}function Bi(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function Gi(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(I){return!1}}function Mt(I){return Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},Mt(I)}function yr(I,M){var w="data-clipboard-".concat(I);if(!!M.hasAttribute(w))return M.getAttribute(w)}var Ji=function(I){Qi(w,I);var M=Ki(w);function w(U,k){var N;return Ze(this,w),N=M.call(this),N.resolveOptions(k),N.listenClick(U),N}return qi(w,[{key:"resolveOptions",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof k.action=="function"?k.action:this.defaultAction,this.target=typeof k.target=="function"?k.target:this.defaultTarget,this.text=typeof k.text=="function"?k.text:this.defaultText,this.container=de(k.container)==="object"?k.container:document.body}},{key:"listenClick",value:function(k){var N=this;this.listener=u()(k,"click",function(Oe){return N.onClick(Oe)})}},{key:"onClick",value:function(k){var N=k.delegateTarget||k.currentTarget,Oe=this.action(N)||"copy",Lt=je({action:Oe,container:this.container,target:this.target(N),text:this.text(N)});this.emit(Lt?"success":"error",{action:Oe,text:Lt,trigger:N,clearSelection:function(){N&&N.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(k){return yr("action",k)}},{key:"defaultTarget",value:function(k){var N=yr("target",k);if(N)return document.querySelector(N)}},{key:"defaultText",value:function(k){return yr("text",k)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(k){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return K(k,N)}},{key:"cut",value:function(k){return h(k)}},{key:"isSupported",value:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],N=typeof k=="string"?[k]:k,Oe=!!document.queryCommandSupported;return N.forEach(function(Lt){Oe=Oe&&!!document.queryCommandSupported(Lt)}),Oe}}]),w}(c()),Xi=Ji},828:function(n){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(c,s){for(;c&&c.nodeType!==o;){if(typeof c.matches=="function"&&c.matches(s))return c;c=c.parentNode}}n.exports=a},438:function(n,o,i){var a=i(828);function c(f,p,l,d,h){var b=u.apply(this,arguments);return f.addEventListener(l,b,h),{destroy:function(){f.removeEventListener(l,b,h)}}}function s(f,p,l,d,h){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof l=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(b){return c(b,p,l,d,h)}))}function u(f,p,l,d){return function(h){h.delegateTarget=a(h.target,p),h.delegateTarget&&d.call(f,h)}}n.exports=s},879:function(n,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(n,o,i){var a=i(879),c=i(438);function s(l,d,h){if(!l&&!d&&!h)throw new Error("Missing required arguments");if(!a.string(d))throw new TypeError("Second argument must be a String");if(!a.fn(h))throw new TypeError("Third argument must be a Function");if(a.node(l))return u(l,d,h);if(a.nodeList(l))return f(l,d,h);if(a.string(l))return p(l,d,h);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function u(l,d,h){return l.addEventListener(d,h),{destroy:function(){l.removeEventListener(d,h)}}}function f(l,d,h){return Array.prototype.forEach.call(l,function(b){b.addEventListener(d,h)}),{destroy:function(){Array.prototype.forEach.call(l,function(b){b.removeEventListener(d,h)})}}}function p(l,d,h){return c(document.body,l,d,h)}n.exports=s},817:function(n){function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var c=i.hasAttribute("readonly");c||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),c||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var s=window.getSelection(),u=document.createRange();u.selectNodeContents(i),s.removeAllRanges(),s.addRange(u),a=s.toString()}return a}n.exports=o},279:function(n){function o(){}o.prototype={on:function(i,a,c){var s=this.e||(this.e={});return(s[i]||(s[i]=[])).push({fn:a,ctx:c}),this},once:function(i,a,c){var s=this;function u(){s.off(i,u),a.apply(c,arguments)}return u._=a,this.on(i,u,c)},emit:function(i){var a=[].slice.call(arguments,1),c=((this.e||(this.e={}))[i]||[]).slice(),s=0,u=c.length;for(s;s<u;s++)c[s].fn.apply(c[s].ctx,a);return this},off:function(i,a){var c=this.e||(this.e={}),s=c[i],u=[];if(s&&a)for(var f=0,p=s.length;f<p;f++)s[f].fn!==a&&s[f].fn._!==a&&u.push(s[f]);return u.length?c[i]=u:delete c[i],this}},n.exports=o,n.exports.TinyEmitter=o}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}return function(){r.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(o,{a:o}),o}}(),function(){r.d=function(n,o){for(var i in o)r.o(o,i)&&!r.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:o[i]})}}(),function(){r.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)}}(),r(686)}().default})});var Xr=bt((OS,vi)=>{"use strict";/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var ys=/["'&<>]/;vi.exports=xs;function xs(e){var t=""+e,r=ys.exec(t);if(!r)return t;var n,o="",i=0,a=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=n}return a!==i?o+t.substring(a,i):o}});Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:!0}),Array.prototype.flatMap||Object.defineProperty(Array.prototype,"flatMap",{configurable:!0,value:function(e){return Array.prototype.map.apply(this,arguments).flat()},writable:!0});var a_=Ke(un());self.fetch||(self.fetch=function(e,t){return t=t||{},new Promise(function(r,n){var o=new XMLHttpRequest,i=[],a=[],c={},s=function(){return{ok:(o.status/100|0)==2,statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:s,headers:{keys:function(){return i},entries:function(){return a},get:function(f){return c[f.toLowerCase()]},has:function(f){return f.toLowerCase()in c}}}};for(var u in o.open(t.method||"get",e,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(f,p,l){i.push(p=p.toLowerCase()),a.push([p,l]),c[p]=c[p]?c[p]+","+l:l}),r(s())},o.onerror=n,o.withCredentials=t.credentials=="include",t.headers)o.setRequestHeader(u,t.headers[u]);o.send(t.body||null)})});var c_=Ke(fn());var kn=Ke(Rn(),1),{__extends:te,__assign:Us,__rest:Ws,__decorate:Ds,__param:Vs,__metadata:Ns,__awaiter:Hn,__generator:Pt,__exportStar:zs,__createBinding:qs,__values:he,__read:W,__spread:Qs,__spreadArrays:Ks,__spreadArray:D,__await:It,__asyncGenerator:Pn,__asyncDelegator:Ys,__asyncValues:In,__makeTemplateObject:Bs,__importStar:Gs,__importDefault:Js,__classPrivateFieldGet:Xs,__classPrivateFieldSet:Zs}=kn.default;function E(e){return typeof e=="function"}function $t(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var jt=$t(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=r}});function ke(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ae=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var c=he(a),s=c.next();!s.done;s=c.next()){var u=s.value;u.remove(this)}}catch(b){t={error:b}}finally{try{s&&!s.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(E(f))try{f()}catch(b){i=b instanceof jt?b.errors:[b]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var l=he(p),d=l.next();!d.done;d=l.next()){var h=d.value;try{$n(h)}catch(b){i=i!=null?i:[],b instanceof jt?i=D(D([],W(i)),W(b.errors)):i.push(b)}}}catch(b){n={error:b}}finally{try{d&&!d.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}}if(i)throw new jt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)$n(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(r=this._teardowns)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&ke(r,t)},e.prototype.remove=function(t){var r=this._teardowns;r&&ke(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Or=Ae.EMPTY;function Ft(e){return e instanceof Ae||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function $n(e){E(e)?e():e.unsubscribe()}var _e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var tt={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=tt.delegate;return((r==null?void 0:r.setTimeout)||setTimeout).apply(void 0,D([],W(e)))},clearTimeout:function(e){var t=tt.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ut(e){tt.setTimeout(function(){var t=_e.onUnhandledError;if(t)t(e);else throw e})}function fe(){}var jn=function(){return _r("C",void 0,void 0)}();function Fn(e){return _r("E",void 0,e)}function Un(e){return _r("N",e,void 0)}function _r(e,t,r){return{kind:e,value:t,error:r}}var Ye=null;function rt(e){if(_e.useDeprecatedSynchronousErrorHandling){var t=!Ye;if(t&&(Ye={errorThrown:!1,error:null}),e(),t){var r=Ye,n=r.errorThrown,o=r.error;if(Ye=null,n)throw o}}else e()}function Wn(e){_e.useDeprecatedSynchronousErrorHandling&&Ye&&(Ye.errorThrown=!0,Ye.error=e)}var vt=function(e){te(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Ft(r)&&r.add(n)):n.destination=ca,n}return t.create=function(r,n,o){return new nt(r,n,o)},t.prototype.next=function(r){this.isStopped?Mr(Un(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Mr(Fn(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Mr(jn,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ae);var ia=Function.prototype.bind;function Tr(e,t){return ia.call(e,t)}var aa=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Wt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Wt(n)}else Wt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Wt(r)}},e}(),nt=function(e){te(t,e);function t(r,n,o){var i=e.call(this)||this,a;if(E(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0};else{var c;i&&_e.useDeprecatedNextContext?(c=Object.create(r),c.unsubscribe=function(){return i.unsubscribe()},a={next:r.next&&Tr(r.next,c),error:r.error&&Tr(r.error,c),complete:r.complete&&Tr(r.complete,c)}):a=r}return i.destination=new aa(a),i}return t}(vt);function Wt(e){_e.useDeprecatedSynchronousErrorHandling?Wn(e):Ut(e)}function sa(e){throw e}function Mr(e,t){var r=_e.onStoppedNotification;r&&tt.setTimeout(function(){return r(e,t)})}var ca={closed:!0,next:fe,error:sa,complete:fe};var ot=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function be(e){return e}function Dn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Lr(e)}function Lr(e){return e.length===0?be:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var H=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=fa(t)?t:new nt(t,r,n);return rt(function(){var a=o,c=a.operator,s=a.source;i.add(c?c.call(i,s):s?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Vn(r),new r(function(o,i){var a=new nt({next:function(c){try{t(c)}catch(s){i(s),a.unsubscribe()}},error:i,complete:o});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ot]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Lr(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Vn(t),new t(function(n,o){var i;r.subscribe(function(a){return i=a},function(a){return o(a)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function Vn(e){var t;return(t=e!=null?e:_e.Promise)!==null&&t!==void 0?t:Promise}function ua(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function fa(e){return e&&e instanceof vt||ua(e)&&Ft(e)}function pa(e){return E(e==null?void 0:e.lift)}function v(e){return function(t){if(pa(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function g(e,t,r,n,o){return new la(e,t,r,n,o)}var la=function(e){te(t,e);function t(r,n,o,i,a,c){var s=e.call(this,r)||this;return s.onFinalize=a,s.shouldUnsubscribe=c,s._next=n?function(u){try{n(u)}catch(f){r.error(f)}}:e.prototype._next,s._error=i?function(u){try{i(u)}catch(f){r.error(f)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=o?function(){try{o()}catch(u){r.error(u)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t}(vt);var it={schedule:function(e){var t=requestAnimationFrame,r=cancelAnimationFrame,n=it.delegate;n&&(t=n.requestAnimationFrame,r=n.cancelAnimationFrame);var o=t(function(i){r=void 0,e(i)});return new Ae(function(){return r==null?void 0:r(o)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=it.delegate;return((r==null?void 0:r.requestAnimationFrame)||requestAnimationFrame).apply(void 0,D([],W(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=it.delegate;return((r==null?void 0:r.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,D([],W(e)))},delegate:void 0};var Nn=$t(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var O=function(e){te(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new zn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Nn},t.prototype.next=function(r){var n=this;rt(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){var a=n.observers.slice();try{for(var c=he(a),s=c.next();!s.done;s=c.next()){var u=s.value;u.next(r)}}catch(f){o={error:f}}finally{try{s&&!s.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;rt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;rt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=n.hasError,i=n.isStopped,a=n.observers;return o||i?Or:(a.push(r),new Ae(function(){return ke(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?r.error(i):a&&r.complete()},t.prototype.asObservable=function(){var r=new H;return r.source=this,r},t.create=function(r,n){return new zn(r,n)},t}(H);var zn=function(e){te(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Or},t}(O);var gt={now:function(){return(gt.delegate||Date).now()},delegate:void 0};var yt=function(e){te(t,e);function t(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=gt);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,c=n._timestampProvider,s=n._windowTime;o||(i.push(r),!a&&i.push(c.now()+s)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o._infiniteTimeWindow,a=o._buffer,c=a.slice(),s=0;s<c.length&&!r.closed;s+=i?1:2)r.next(c[s]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,o=r._timestampProvider,i=r._buffer,a=r._infiniteTimeWindow,c=(a?1:2)*n;if(n<1/0&&c<i.length&&i.splice(0,i.length-c),!a){for(var s=o.now(),u=0,f=1;f<i.length&&i[f]<=s;f+=2)u=f;u&&i.splice(0,u+1)}},t}(O);var qn=function(e){te(t,e);function t(r,n){return e.call(this)||this}return t.prototype.schedule=function(r,n){return n===void 0&&(n=0),this},t}(Ae);var xt={setInterval:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=xt.delegate;return((r==null?void 0:r.setInterval)||setInterval).apply(void 0,D([],W(e)))},clearInterval:function(e){var t=xt.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var Dt=function(e){te(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o.pending=!1,o}return t.prototype.schedule=function(r,n){if(n===void 0&&(n=0),this.closed)return this;this.state=r;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(i,this.id,n),this},t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),xt.setInterval(r.flush.bind(r,this),o)},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;xt.clearInterval(n)},t.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(r,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(r,n){var o=!1,i;try{this.work(r)}catch(a){o=!0,i=a||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,o=r.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,ke(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(qn);var Ar=function(){function e(t,r){r===void 0&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,t).schedule(n,r)},e.now=gt.now,e}();var Vt=function(e){te(t,e);function t(r,n){n===void 0&&(n=Ar.now);var o=e.call(this,r,n)||this;return o.actions=[],o._active=!1,o._scheduled=void 0,o}return t.prototype.flush=function(r){var n=this.actions;if(this._active){n.push(r);return}var o;this._active=!0;do if(o=r.execute(r.state,r.delay))break;while(r=n.shift());if(this._active=!1,o){for(;r=n.shift();)r.unsubscribe();throw o}},t}(Ar);var ge=new Vt(Dt),Cr=ge;var Qn=function(e){te(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o}return t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r._scheduled||(r._scheduled=it.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);r.actions.some(function(i){return i.id===n})||(it.cancelAnimationFrame(n),r._scheduled=void 0)},t}(Dt);var Kn=function(e){te(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;r=r||o.shift();do if(i=r.execute(r.state,r.delay))break;while((r=o[0])&&r.id===n&&o.shift());if(this._active=!1,i){for(;(r=o[0])&&r.id===n&&o.shift();)r.unsubscribe();throw i}},t}(Vt);var Te=new Kn(Qn);var z=new H(function(e){return e.complete()});function Nt(e){return e&&E(e.schedule)}function Rr(e){return e[e.length-1]}function Fe(e){return E(Rr(e))?e.pop():void 0}function ye(e){return Nt(Rr(e))?e.pop():void 0}function zt(e,t){return typeof Rr(e)=="number"?e.pop():t}var at=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function qt(e){return E(e==null?void 0:e.then)}function Qt(e){return E(e[ot])}function Kt(e){return Symbol.asyncIterator&&E(e==null?void 0:e[Symbol.asyncIterator])}function Yt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function ma(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Bt=ma();function Gt(e){return E(e==null?void 0:e[Bt])}function Jt(e){return Pn(this,arguments,function(){var r,n,o,i;return Pt(this,function(a){switch(a.label){case 0:r=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,It(r.read())];case 3:return n=a.sent(),o=n.value,i=n.done,i?[4,It(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,It(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Xt(e){return E(e==null?void 0:e.getReader)}function V(e){if(e instanceof H)return e;if(e!=null){if(Qt(e))return da(e);if(at(e))return ha(e);if(qt(e))return ba(e);if(Kt(e))return Yn(e);if(Gt(e))return va(e);if(Xt(e))return ga(e)}throw Yt(e)}function da(e){return new H(function(t){var r=e[ot]();if(E(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ha(e){return new H(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function ba(e){return new H(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,Ut)})}function va(e){return new H(function(t){var r,n;try{for(var o=he(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(c){r={error:c}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()})}function Yn(e){return new H(function(t){ya(e,t).catch(function(r){return t.error(r)})})}function ga(e){return Yn(Jt(e))}function ya(e,t){var r,n,o,i;return Hn(this,void 0,void 0,function(){var a,c;return Pt(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),r=In(e),s.label=1;case 1:return[4,r.next()];case 2:if(n=s.sent(),!!n.done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=s.sent(),o={error:c},[3,11];case 6:return s.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function le(e,t,r,n,o){n===void 0&&(n=0),o===void 0&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function Be(e,t){return t===void 0&&(t=0),v(function(r,n){r.subscribe(g(n,function(o){return le(n,e,function(){return n.next(o)},t)},function(){return le(n,e,function(){return n.complete()},t)},function(o){return le(n,e,function(){return n.error(o)},t)}))})}function Zt(e,t){return t===void 0&&(t=0),v(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function Bn(e,t){return V(e).pipe(Zt(t),Be(t))}function Gn(e,t){return V(e).pipe(Zt(t),Be(t))}function Jn(e,t){return new H(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Xn(e,t){return new H(function(r){var n;return le(r,t,function(){n=e[Bt](),le(r,t,function(){var o,i,a;try{o=n.next(),i=o.value,a=o.done}catch(c){r.error(c);return}a?r.complete():r.next(i)},0,!0)}),function(){return E(n==null?void 0:n.return)&&n.return()}})}function er(e,t){if(!e)throw new Error("Iterable cannot be null");return new H(function(r){le(r,t,function(){var n=e[Symbol.asyncIterator]();le(r,t,function(){n.next().then(function(o){o.done?r.complete():r.next(o.value)})},0,!0)})})}function Zn(e,t){return er(Jt(e),t)}function eo(e,t){if(e!=null){if(Qt(e))return Bn(e,t);if(at(e))return Jn(e,t);if(qt(e))return Gn(e,t);if(Kt(e))return er(e,t);if(Gt(e))return Xn(e,t);if(Xt(e))return Zn(e,t)}throw Yt(e)}function re(e,t){return t?eo(e,t):V(e)}function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ye(e);return re(e,r)}function kr(e,t){var r=E(e)?e:function(){return e},n=function(o){return o.error(r())};return new H(t?function(o){return t.schedule(n,0,o)}:n)}function to(e){return e instanceof Date&&!isNaN(e)}function m(e,t){return v(function(r,n){var o=0;r.subscribe(g(n,function(i){n.next(e.call(t,i,o++))}))})}var xa=Array.isArray;function Sa(e,t){return xa(t)?e.apply(void 0,D([],W(t))):e(t)}function Ue(e){return m(function(t){return Sa(e,t)})}var wa=Array.isArray,Ea=Object.getPrototypeOf,Oa=Object.prototype,_a=Object.keys;function ro(e){if(e.length===1){var t=e[0];if(wa(t))return{args:t,keys:null};if(Ta(t)){var r=_a(t);return{args:r.map(function(n){return t[n]}),keys:r}}}return{args:e,keys:null}}function Ta(e){return e&&typeof e=="object"&&Ea(e)===Oa}function no(e,t){return e.reduce(function(r,n,o){return r[n]=t[o],r},{})}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ye(e),n=Fe(e),o=ro(e),i=o.args,a=o.keys;if(i.length===0)return re([],r);var c=new H(Hr(i,r,a?function(s){return no(a,s)}:be));return n?c.pipe(Ue(n)):c}function Hr(e,t,r){return r===void 0&&(r=be),function(n){oo(t,function(){for(var o=e.length,i=new Array(o),a=o,c=o,s=function(f){oo(t,function(){var p=re(e[f],t),l=!1;p.subscribe(g(n,function(d){i[f]=d,l||(l=!0,c--),c||n.next(r(i.slice()))},function(){--a||n.complete()}))},n)},u=0;u<o;u++)s(u)},n)}}function oo(e,t,r){e?le(r,e,t):t()}function io(e,t,r,n,o,i,a,c){var s=[],u=0,f=0,p=!1,l=function(){p&&!s.length&&!u&&t.complete()},d=function(b){return u<n?h(b):s.push(b)},h=function(b){i&&t.next(b),u++;var j=!1;V(r(b,f++)).subscribe(g(t,function(K){o==null||o(K),i?d(K):t.next(K)},function(){j=!0},void 0,function(){if(j)try{u--;for(var K=function(){var F=s.shift();a?le(t,a,function(){return h(F)}):h(F)};s.length&&u<n;)K();l()}catch(F){t.error(F)}}))};return e.subscribe(g(t,d,function(){p=!0,l()})),function(){c==null||c()}}function oe(e,t,r){return r===void 0&&(r=1/0),E(t)?oe(function(n,o){return m(function(i,a){return t(n,i,o,a)})(V(e(n,o)))},r):(typeof t=="number"&&(r=t),v(function(n,o){return io(n,o,e,r)}))}function st(e){return e===void 0&&(e=1/0),oe(be,e)}function ao(){return st(1)}function Ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ao()(re(e,ye(e)))}function P(e){return new H(function(t){V(e()).subscribe(t)})}var Ma=["addListener","removeListener"],La=["addEventListener","removeEventListener"],Aa=["on","off"];function y(e,t,r,n){if(E(r)&&(n=r,r=void 0),n)return y(e,t,r).pipe(Ue(n));var o=W(ka(e)?La.map(function(c){return function(s){return e[c](t,s,r)}}):Ca(e)?Ma.map(so(e,t)):Ra(e)?Aa.map(so(e,t)):[],2),i=o[0],a=o[1];if(!i&&at(e))return oe(function(c){return y(c,t,r)})(V(e));if(!i)throw new TypeError("Invalid event target");return new H(function(c){var s=function(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];return c.next(1<u.length?u:u[0])};return i(s),function(){return a(s)}})}function so(e,t){return function(r){return function(n){return e[r](t,n)}}}function Ca(e){return E(e.addListener)&&E(e.removeListener)}function Ra(e){return E(e.on)&&E(e.off)}function ka(e){return E(e.addEventListener)&&E(e.removeEventListener)}function tr(e,t,r){return r?tr(e,t).pipe(Ue(r)):new H(function(n){var o=function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];return n.next(a.length===1?a[0]:a)},i=e(o);return E(t)?function(){return t(o,i)}:void 0})}function We(e,t,r){e===void 0&&(e=0),r===void 0&&(r=Cr);var n=-1;return t!=null&&(Nt(t)?r=t:n=t),new H(function(o){var i=to(e)?+e-r.now():e;i<0&&(i=0);var a=0;return r.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function C(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ye(e),n=zt(e,1/0),o=e;return o.length?o.length===1?V(o[0]):st(n)(re(o,r)):z}var xe=new H(fe);var Ha=Array.isArray;function ct(e){return e.length===1&&Ha(e[0])?e[0]:e}function T(e,t){return v(function(r,n){var o=0;r.subscribe(g(n,function(i){return e.call(t,i,o++)&&n.next(i)}))})}function St(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Fe(e),n=ct(e);return n.length?new H(function(o){var i=n.map(function(){return[]}),a=n.map(function(){return!1});o.add(function(){i=a=null});for(var c=function(u){V(n[u]).subscribe(g(o,function(f){if(i[u].push(f),i.every(function(l){return l.length})){var p=i.map(function(l){return l.shift()});o.next(r?r.apply(void 0,D([],W(p))):p),i.some(function(l,d){return!l.length&&a[d]})&&o.complete()}},function(){a[u]=!0,!i[u].length&&o.complete()}))},s=0;!o.closed&&s<n.length;s++)c(s);return function(){i=a=null}}):z}function co(e){return v(function(t,r){var n=!1,o=null,i=null,a=!1,c=function(){if(i==null||i.unsubscribe(),i=null,n){n=!1;var u=o;o=null,r.next(u)}a&&r.complete()},s=function(){i=null,a&&r.complete()};t.subscribe(g(r,function(u){n=!0,o=u,i||V(e(u)).subscribe(i=g(r,c,s))},function(){a=!0,(!n||!i||i.closed)&&r.complete()}))})}function He(e,t){return t===void 0&&(t=ge),co(function(){return We(e,t)})}function Me(e,t){return t===void 0&&(t=null),t=t!=null?t:e,v(function(r,n){var o=[],i=0;r.subscribe(g(n,function(a){var c,s,u,f,p=null;i++%t===0&&o.push([]);try{for(var l=he(o),d=l.next();!d.done;d=l.next()){var h=d.value;h.push(a),e<=h.length&&(p=p!=null?p:[],p.push(h))}}catch(K){c={error:K}}finally{try{d&&!d.done&&(s=l.return)&&s.call(l)}finally{if(c)throw c.error}}if(p)try{for(var b=he(p),j=b.next();!j.done;j=b.next()){var h=j.value;ke(o,h),n.next(h)}}catch(K){u={error:K}}finally{try{j&&!j.done&&(f=b.return)&&f.call(b)}finally{if(u)throw u.error}}},function(){var a,c;try{for(var s=he(o),u=s.next();!u.done;u=s.next()){var f=u.value;n.next(f)}}catch(p){a={error:p}}finally{try{u&&!u.done&&(c=s.return)&&c.call(s)}finally{if(a)throw a.error}}n.complete()},void 0,function(){o=null}))})}function De(e){return v(function(t,r){var n=null,o=!1,i;n=t.subscribe(g(r,void 0,void 0,function(a){i=V(e(a,De(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function uo(e,t,r,n,o){return function(i,a){var c=r,s=t,u=0;i.subscribe(g(a,function(f){var p=u++;s=c?e(s,f,p):(c=!0,f),n&&a.next(s)},o&&function(){c&&a.next(s),a.complete()}))}}function Pr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Fe(e);return r?Dn(Pr.apply(void 0,D([],W(e))),Ue(r)):v(function(n,o){Hr(D([n],W(ct(e))))(o)})}function Ve(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Pr.apply(void 0,D([],W(e)))}function Ir(e,t){return E(t)?oe(e,t,1):oe(e,1)}function Je(e,t){return t===void 0&&(t=ge),v(function(r,n){var o=null,i=null,a=null,c=function(){if(o){o.unsubscribe(),o=null;var u=i;i=null,n.next(u)}};function s(){var u=a+e,f=t.now();if(f<u){o=this.schedule(void 0,u-f),n.add(o);return}c()}r.subscribe(g(n,function(u){i=u,a=t.now(),o||(o=t.schedule(s,e),n.add(o))},function(){c(),n.complete()},void 0,function(){i=o=null}))})}function Pe(e){return v(function(t,r){var n=!1;t.subscribe(g(r,function(o){n=!0,r.next(o)},function(){n||r.next(e),r.complete()}))})}function ie(e){return e<=0?function(){return z}:v(function(t,r){var n=0;t.subscribe(g(r,function(o){++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function fo(){return v(function(e,t){e.subscribe(g(t,fe))})}function Z(e){return m(function(){return e})}function $r(e,t){return t?function(r){return Ge(t.pipe(ie(1),fo()),r.pipe($r(e)))}:oe(function(r,n){return e(r,n).pipe(ie(1),Z(r))})}function Ie(e,t){t===void 0&&(t=ge);var r=We(e,t);return $r(function(){return r})}function Y(e,t){return t===void 0&&(t=be),e=e!=null?e:Pa,v(function(r,n){var o,i=!0;r.subscribe(g(n,function(a){var c=t(a);(i||!e(o,c))&&(i=!1,o=c,n.next(a))}))})}function Pa(e,t){return e===t}function J(e,t){return Y(function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}function rr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(r){return Ge(r,L.apply(void 0,D([],W(e))))}}function R(e){return v(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}function pe(e){return e<=0?function(){return z}:v(function(t,r){var n=[];t.subscribe(g(r,function(o){n.push(o),e<n.length&&n.shift()},function(){var o,i;try{for(var a=he(n),c=a.next();!c.done;c=a.next()){var s=c.value;r.next(s)}}catch(u){o={error:u}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}r.complete()},void 0,function(){n=null}))})}function po(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ye(e),n=zt(e,1/0);return e=ct(e),v(function(o,i){st(n)(re(D([o],W(e)),r)).subscribe(i)})}function Xe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return po.apply(void 0,D([],W(e)))}function wt(e){var t,r=1/0,n;return e!=null&&(typeof e=="object"?(t=e.count,r=t===void 0?1/0:t,n=e.delay):r=e),r<=0?function(){return z}:v(function(o,i){var a=0,c,s=function(){if(c==null||c.unsubscribe(),c=null,n!=null){var f=typeof n=="number"?We(n):V(n(a)),p=g(i,function(){p.unsubscribe(),u()});f.subscribe(p)}else u()},u=function(){var f=!1;c=o.subscribe(g(i,void 0,function(){++a<r?c?s():f=!0:i.complete()})),f&&s()};u()})}function ut(e){return v(function(t,r){var n=!1,o=null;t.subscribe(g(r,function(i){n=!0,o=i})),e.subscribe(g(r,function(){if(n){n=!1;var i=o;o=null,r.next(i)}},fe))})}function jr(e,t){return v(uo(e,t,arguments.length>=2,!0))}function ae(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new O}:t,n=e.resetOnError,o=n===void 0?!0:n,i=e.resetOnComplete,a=i===void 0?!0:i,c=e.resetOnRefCountZero,s=c===void 0?!0:c;return function(u){var f=null,p=null,l=null,d=0,h=!1,b=!1,j=function(){p==null||p.unsubscribe(),p=null},K=function(){j(),f=l=null,h=b=!1},F=function(){var _=f;K(),_==null||_.unsubscribe()};return v(function(_,je){d++,!b&&!h&&j();var de=l=l!=null?l:r();je.add(function(){d--,d===0&&!b&&!h&&(p=Fr(F,s))}),de.subscribe(je),f||(f=new nt({next:function(Ze){return de.next(Ze)},error:function(Ze){b=!0,j(),p=Fr(K,o,Ze),de.error(Ze)},complete:function(){h=!0,j(),p=Fr(K,a),de.complete()}}),re(_).subscribe(f))})(u)}}function Fr(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return t===!0?(e(),null):t===!1?null:t.apply(void 0,D([],W(r))).pipe(ie(1)).subscribe(function(){return e()})}function X(e,t,r){var n,o,i,a=!1;return e&&typeof e=="object"?(i=(n=e.bufferSize)!==null&&n!==void 0?n:1/0,t=(o=e.windowTime)!==null&&o!==void 0?o:1/0,a=!!e.refCount,r=e.scheduler):i=e!=null?e:1/0,ae({connector:function(){return new yt(i,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function $e(e){return T(function(t,r){return e<=r})}function Et(e){return v(function(t,r){var n=!1,o=g(r,function(){o==null||o.unsubscribe(),n=!0},fe);V(e).subscribe(o),t.subscribe(g(r,function(i){return n&&r.next(i)}))})}function q(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ye(e);return v(function(n,o){(r?Ge(e,n,r):Ge(e,n)).subscribe(o)})}function x(e,t){return v(function(r,n){var o=null,i=0,a=!1,c=function(){return a&&!o&&n.complete()};r.subscribe(g(n,function(s){o==null||o.unsubscribe();var u=0,f=i++;V(e(s,f)).subscribe(o=g(n,function(p){return n.next(t?t(s,p,f,u++):p)},function(){o=null,c()}))},function(){a=!0,c()}))})}function Ur(e,t){return E(t)?x(function(){return e},t):x(function(){return e})}function se(e){return v(function(t,r){V(e).subscribe(g(r,function(){return r.complete()},fe)),!r.closed&&t.subscribe(r)})}function Wr(e,t){return t===void 0&&(t=!1),v(function(r,n){var o=0;r.subscribe(g(n,function(i){var a=e(i,o++);(a||t)&&n.next(i),!a&&n.complete()}))})}function S(e,t,r){var n=E(e)||t||r?{next:e,error:t,complete:r}:e;return n?v(function(o,i){var a;(a=n.subscribe)===null||a===void 0||a.call(n);var c=!0;o.subscribe(g(i,function(s){var u;(u=n.next)===null||u===void 0||u.call(n,s),i.next(s)},function(){var s;c=!1,(s=n.complete)===null||s===void 0||s.call(n),i.complete()},function(s){var u;c=!1,(u=n.error)===null||u===void 0||u.call(n,s),i.error(s)},function(){var s,u;c&&((s=n.unsubscribe)===null||s===void 0||s.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):be}var Dr={leading:!0,trailing:!1};function Ot(e,t){return t===void 0&&(t=Dr),v(function(r,n){var o=t.leading,i=t.trailing,a=!1,c=null,s=null,u=!1,f=function(){s==null||s.unsubscribe(),s=null,i&&(d(),u&&n.complete())},p=function(){s=null,u&&n.complete()},l=function(h){return s=V(e(h)).subscribe(g(n,f,p))},d=function(){if(a){a=!1;var h=c;c=null,n.next(h),!u&&l(h)}};r.subscribe(g(n,function(h){a=!0,c=h,!(s&&!s.closed)&&(o?d():l(h))},function(){u=!0,!(i&&a&&s&&!s.closed)&&n.complete()}))})}function Vr(e,t,r){t===void 0&&(t=ge),r===void 0&&(r=Dr);var n=We(e,t);return Ot(function(){return n},r)}function Le(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Fe(e);return v(function(n,o){for(var i=e.length,a=new Array(i),c=e.map(function(){return!1}),s=!1,u=function(p){V(e[p]).subscribe(g(o,function(l){a[p]=l,!s&&!c[p]&&(c[p]=!0,(s=c.every(be))&&(c=null))},fe))},f=0;f<i;f++)u(f);n.subscribe(g(o,function(p){if(s){var l=D([p],W(a));o.next(r?r.apply(void 0,D([],W(l))):l)}}))})}function lo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return v(function(r,n){St.apply(void 0,D([r],W(e))).subscribe(n)})}function Nr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return lo.apply(void 0,D([],W(e)))}function mo(){let e=new yt(1);return y(document,"DOMContentLoaded",{once:!0}).subscribe(()=>e.next(document)),e}function G(e,t=document){return Array.from(t.querySelectorAll(e))}function Q(e,t=document){let r=ue(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function ue(e,t=document){return t.querySelector(e)||void 0}function Ne(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function nr(e){return C(y(document.body,"focusin"),y(document.body,"focusout")).pipe(Je(1),m(()=>{let t=Ne();return typeof t!="undefined"?e.contains(t):!1}),q(e===Ne()),Y())}function ze(e){return{x:e.offsetLeft,y:e.offsetTop}}function ho(e){return C(y(window,"load"),y(window,"resize")).pipe(He(0,Te),m(()=>ze(e)),q(ze(e)))}function bo(e){return{x:e.scrollLeft,y:e.scrollTop}}function or(e){return C(y(e,"scroll"),y(window,"resize")).pipe(He(0,Te),m(()=>bo(e)),q(bo(e)))}var go=function(){if(typeof Map!="undefined")return Map;function e(t,r){var n=-1;return t.some(function(o,i){return o[0]===r?(n=i,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];r.call(n,a[1],a[0])}},t}()}(),zr=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,ir=function(){return typeof global!="undefined"&&global.Math===Math?global:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Ia=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ir):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),$a=2;function ja(e,t){var r=!1,n=!1,o=0;function i(){r&&(r=!1,e()),n&&c()}function a(){Ia(i)}function c(){var s=Date.now();if(r){if(s-o<$a)return;n=!0}else r=!0,n=!1,setTimeout(a,t);o=s}return c}var Fa=20,Ua=["top","right","bottom","left","width","height","size","weight"],Wa=typeof MutationObserver!="undefined",Da=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=ja(this.refresh.bind(this),Fa)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!zr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Wa?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!zr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=Ua.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),yo=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},ft=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ir},xo=sr(0,0,0,0);function ar(e){return parseFloat(e)||0}function vo(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,o){var i=e["border-"+o+"-width"];return n+ar(i)},0)}function Va(e){for(var t=["top","right","bottom","left"],r={},n=0,o=t;n<o.length;n++){var i=o[n],a=e["padding-"+i];r[i]=ar(a)}return r}function Na(e){var t=e.getBBox();return sr(0,0,t.width,t.height)}function za(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return xo;var n=ft(e).getComputedStyle(e),o=Va(n),i=o.left+o.right,a=o.top+o.bottom,c=ar(n.width),s=ar(n.height);if(n.boxSizing==="border-box"&&(Math.round(c+i)!==t&&(c-=vo(n,"left","right")+i),Math.round(s+a)!==r&&(s-=vo(n,"top","bottom")+a)),!Qa(e)){var u=Math.round(c+i)-t,f=Math.round(s+a)-r;Math.abs(u)!==1&&(c-=u),Math.abs(f)!==1&&(s-=f)}return sr(o.left,o.top,c,s)}var qa=function(){return typeof SVGGraphicsElement!="undefined"?function(e){return e instanceof ft(e).SVGGraphicsElement}:function(e){return e instanceof ft(e).SVGElement&&typeof e.getBBox=="function"}}();function Qa(e){return e===ft(e).document.documentElement}function Ka(e){return zr?qa(e)?Na(e):za(e):xo}function Ya(e){var t=e.x,r=e.y,n=e.width,o=e.height,i=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,a=Object.create(i.prototype);return yo(a,{x:t,y:r,width:n,height:o,top:r,right:t+n,bottom:o+r,left:t}),a}function sr(e,t,r,n){return{x:e,y:t,width:r,height:n}}var Ba=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=sr(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Ka(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),Ga=function(){function e(t,r){var n=Ya(r);yo(this,{target:t,contentRect:n})}return e}(),Ja=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new go,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(t instanceof ft(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Ba(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(t instanceof ft(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;!r.has(t)||(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(!!this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new Ga(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),So=typeof WeakMap!="undefined"?new WeakMap:new go,wo=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Da.getInstance(),n=new Ja(t,r,this);So.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){wo.prototype[e]=function(){var t;return(t=So.get(this))[e].apply(t,arguments)}});var Xa=function(){return typeof ir.ResizeObserver!="undefined"?ir.ResizeObserver:wo}(),Eo=Xa;var Oo=new O,Za=P(()=>L(new Eo(e=>{for(let t of e)Oo.next(t)}))).pipe(x(e=>C(xe,L(e)).pipe(R(()=>e.disconnect()))),X(1));function Ce(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ve(e){return Za.pipe(S(t=>t.observe(e)),x(t=>Oo.pipe(T(({target:r})=>r===e),R(()=>t.unobserve(e)),m(()=>Ce(e)))),q(Ce(e)))}function cr(e){return{width:e.scrollWidth,height:e.scrollHeight}}var es=new O,Ev=P(()=>L(new IntersectionObserver(e=>{for(let t of e)es.next(t)},{threshold:1}))).pipe(x(e=>C(xe,L(e)).pipe(R(()=>e.disconnect()))),X(1));function _o(e,t=16){return or(e).pipe(m(({y:r})=>{let n=Ce(e),o=cr(e);return r>=o.height-n.height-t}),Y())}var ur={drawer:Q("[data-md-toggle=drawer]"),search:Q("[data-md-toggle=search]")};function To(e){return ur[e].checked}function qe(e,t){ur[e].checked!==t&&ur[e].click()}function pt(e){let t=ur[e];return y(t,"change").pipe(m(()=>t.checked),q(t.checked))}function ts(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function Mo(){return y(window,"keydown").pipe(T(e=>!(e.metaKey||e.ctrlKey)),m(e=>({mode:To("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),T(({mode:e,type:t})=>{if(e==="global"){let r=Ne();if(typeof r!="undefined")return!ts(r,t)}return!0}),ae())}function Se(){return new URL(location.href)}function fr(e){location.href=e.href}function Lo(){return new O}function Ao(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let r of t)Ao(e,r)}function A(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?n.setAttribute(o,t[o]):t[o]&&n.setAttribute(o,"");for(let o of r)Ao(n,o);return n}function Co(e,t){let r=t;if(e.length>r){for(;e[r]!==" "&&--r>0;);return`${e.substring(0,r)}...`}return e}function pr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function Ro(){return location.hash.substring(1)}function ko(e){let t=A("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function rs(){return y(window,"hashchange").pipe(m(Ro),q(Ro()),T(e=>e.length>0),X(1))}function Ho(){return rs().pipe(m(e=>ue(`[id="${e}"]`)),T(e=>typeof e!="undefined"))}function qr(e){let t=matchMedia(e);return tr(r=>t.addListener(()=>r(t.matches))).pipe(q(t.matches))}function Po(){let e=matchMedia("print");return C(y(window,"beforeprint").pipe(Z(!0)),y(window,"afterprint").pipe(Z(!1))).pipe(q(e.matches))}function Qr(e,t){return e.pipe(x(r=>r?t():z))}function lr(e,t={credentials:"same-origin"}){return re(fetch(`${e}`,t)).pipe(T(r=>r.status===200),De(()=>z))}function Re(e,t){return lr(e,t).pipe(x(r=>r.json()),X(1))}function Io(e,t){let r=new DOMParser;return lr(e,t).pipe(x(n=>n.text()),m(n=>r.parseFromString(n,"text/xml")),X(1))}function $o(e){let t=A("script",{src:e});return P(()=>(document.head.appendChild(t),C(y(t,"load"),y(t,"error").pipe(x(()=>kr(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(Z(void 0),R(()=>document.head.removeChild(t)),ie(1))))}function jo(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function Fo(){return C(y(window,"scroll",{passive:!0}),y(window,"resize",{passive:!0})).pipe(m(jo),q(jo()))}function Uo(){return{width:innerWidth,height:innerHeight}}function Wo(){return y(window,"resize",{passive:!0}).pipe(m(Uo),q(Uo()))}function Do(){return B([Fo(),Wo()]).pipe(m(([e,t])=>({offset:e,size:t})),X(1))}function mr(e,{viewport$:t,header$:r}){let n=t.pipe(J("size")),o=B([n,r]).pipe(m(()=>ze(e)));return B([r,t,o]).pipe(m(([{height:i},{offset:a,size:c},{x:s,y:u}])=>({offset:{x:a.x-s,y:a.y-u+i},size:c})))}function Vo(e,{tx$:t}){let r=y(e,"message").pipe(m(({data:n})=>n));return t.pipe(Ot(()=>r,{leading:!0,trailing:!0}),S(n=>e.postMessage(n)),Ur(r),ae())}var ns=Q("#__config"),lt=JSON.parse(ns.textContent);lt.base=`${new URL(lt.base,Se())}`;function me(){return lt}function ce(e){return lt.features.includes(e)}function ee(e,t){return typeof t!="undefined"?lt.translations[e].replace("#",t.toString()):lt.translations[e]}function we(e,t=document){return Q(`[data-md-component=${e}]`,t)}function ne(e,t=document){return G(`[data-md-component=${e}]`,t)}var Zo=Ke(Yr());function No(e){return A("aside",{class:"md-annotation",tabIndex:0},A("div",{class:"md-annotation__inner md-tooltip"},A("div",{class:"md-tooltip__inner md-typeset"})),A("span",{class:"md-annotation__index"},A("span",{"data-md-annotation-id":e})))}function zo(e){return A("button",{class:"md-clipboard md-icon",title:ee("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function Br(e,t){let r=t&2,n=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).reduce((a,c)=>[...a,A("del",null,c)," "],[]).slice(0,-1),i=new URL(e.location);return ce("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[c])=>`${a} ${c}`.trim(),"")),A("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},A("article",{class:["md-search-result__article",...r?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},r>0&&A("div",{class:"md-search-result__icon md-icon"}),A("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&A("p",{class:"md-search-result__teaser"},Co(e.text,320)),e.tags&&e.tags.map(a=>A("span",{class:"md-tag"},a)),n>0&&o.length>0&&A("p",{class:"md-search-result__terms"},ee("search.result.term.missing"),": ",o)))}function qo(e){let t=e[0].score,r=[...e],n=r.findIndex(u=>!u.location.includes("#")),[o]=r.splice(n,1),i=r.findIndex(u=>u.score<t);i===-1&&(i=r.length);let a=r.slice(0,i),c=r.slice(i),s=[Br(o,2|+(!n&&i===0)),...a.map(u=>Br(u,1)),...c.length?[A("details",{class:"md-search-result__more"},A("summary",{tabIndex:-1},c.length>0&&c.length===1?ee("search.result.more.one"):ee("search.result.more.other",c.length)),c.map(u=>Br(u,1)))]:[]];return A("li",{class:"md-search-result__item"},s)}function Qo(e){return A("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>A("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?pr(r):r)))}function Ko(e){return A("div",{class:"md-typeset__scrollwrap"},A("div",{class:"md-typeset__table"},e))}function os(e){let t=me(),r=new URL(`../${e.version}/`,t.base);return A("li",{class:"md-version__item"},A("a",{href:r.toString(),class:"md-version__link"},e.title))}function Yo(e,t){return A("div",{class:"md-version"},A("button",{class:"md-version__current","aria-label":ee("select.version.title")},t.title),A("ul",{class:"md-version__list"},e.map(os)))}function is(e,t){let r=P(()=>B([ho(e),or(t)])).pipe(m(([{x:n,y:o},i])=>{let{width:a}=Ce(e);return{x:n-i.x+a/2,y:o-i.y}}));return nr(e).pipe(x(n=>r.pipe(m(o=>({active:n,offset:o})),ie(+!n||1/0))))}function Bo(e,t){return P(()=>{let r=new O;r.subscribe({next({offset:i}){e.style.setProperty("--md-tooltip-x",`${i.x}px`),e.style.setProperty("--md-tooltip-y",`${i.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),r.pipe(Vr(500,Te),m(()=>t.getBoundingClientRect()),m(({x:i})=>i)).subscribe({next(i){i?e.style.setProperty("--md-tooltip-0",`${-i}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}});let n=Q(":scope > :last-child",e),o=y(n,"mousedown",{once:!0});return r.pipe(x(({active:i})=>i?o:z),S(i=>i.preventDefault())).subscribe(()=>e.blur()),is(e,t).pipe(S(i=>r.next(i)),R(()=>r.complete()),m(i=>$({ref:e},i)))})}function as(e){let t=[];for(let r of G(".c, .c1, .cm",e)){let n,o=r.firstChild;for(;n=/\((\d+)\)/.exec(o.textContent);){let i=o.splitText(n.index);o=i.splitText(n[0].length),t.push(i)}}return t}function Go(e,t){t.append(...Array.from(e.childNodes))}function Jo(e,t,{print$:r}){let n=new Map;for(let o of as(t)){let[,i]=o.textContent.match(/\((\d+)\)/);ue(`li:nth-child(${i})`,e)&&(n.set(+i,No(+i)),o.replaceWith(n.get(+i)))}return n.size===0?z:P(()=>{let o=new O;return r.pipe(se(o.pipe(pe(1)))).subscribe(i=>{e.hidden=!i;for(let[a,c]of n){let s=Q(".md-typeset",c),u=Q(`li:nth-child(${a})`,e);i?Go(s,u):Go(u,s)}}),C(...[...n].map(([,i])=>Bo(i,t))).pipe(R(()=>o.complete()),ae())})}var ss=0;function ei(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return ei(t)}}function Xo(e){return ve(e).pipe(m(({width:t})=>({scrollable:cr(e).width>t})),J("scrollable"))}function ti(e,t){let{matches:r}=matchMedia("(hover)");return P(()=>{let n=new O;if(n.subscribe(({scrollable:i})=>{i&&r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),Zo.default.isSupported()){let i=e.closest("pre");i.id=`__code_${++ss}`,i.insertBefore(zo(i.id),e)}let o=e.closest([":not(td):not(.code) > .highlight",".highlighttable"].join(", "));if(o instanceof HTMLElement){let i=ei(o);if(typeof i!="undefined"&&(o.classList.contains("annotate")||ce("content.code.annotate"))){let a=Jo(i,e,t);return Xo(e).pipe(S(c=>n.next(c)),R(()=>n.complete()),m(c=>$({ref:e},c)),Xe(ve(o).pipe(se(n.pipe(pe(1))),m(({width:c,height:s})=>c&&s),Y(),x(c=>c?a:z))))}}return Xo(e).pipe(S(i=>n.next(i)),R(()=>n.complete()),m(i=>$({ref:e},i)))})}var ri=".node circle,.node ellipse,.node path,.node polygon,.node rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}marker{fill:var(--md-mermaid-edge-color)!important}.edgeLabel .label rect{fill:transparent}.label{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.label foreignObject{line-height:normal;overflow:visible}.label div .edgeLabel{color:var(--md-mermaid-label-fg-color)}.edgeLabel,.edgeLabel rect,.label div .edgeLabel{background-color:var(--md-mermaid-label-bg-color)}.edgeLabel,.edgeLabel rect{fill:var(--md-mermaid-label-bg-color);color:var(--md-mermaid-edge-color)}.edgePath .path,.flowchart-link{stroke:var(--md-mermaid-edge-color)}.edgePath .arrowheadPath{fill:var(--md-mermaid-edge-color);stroke:none}.cluster rect{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}g.classGroup line,g.classGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.classGroup text{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.classLabel .box{fill:var(--md-mermaid-label-bg-color);background-color:var(--md-mermaid-label-bg-color);opacity:1}.classLabel .label{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node .divider{stroke:var(--md-mermaid-node-fg-color)}.relation{stroke:var(--md-mermaid-edge-color)}.cardinality{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.cardinality text{fill:inherit!important}#compositionEnd,#compositionStart,#dependencyEnd,#dependencyStart,#extensionEnd,#extensionStart{fill:var(--md-mermaid-edge-color)!important;stroke:var(--md-mermaid-edge-color)!important}#aggregationEnd,#aggregationStart{fill:var(--md-mermaid-label-bg-color)!important;stroke:var(--md-mermaid-edge-color)!important}g.stateGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.stateGroup .state-title{fill:var(--md-mermaid-label-fg-color)!important;font-family:var(--md-mermaid-font-family)}g.stateGroup .composit{fill:var(--md-mermaid-label-bg-color)}.nodeLabel{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node circle.state-end,.node circle.state-start,.start-state{fill:var(--md-mermaid-edge-color);stroke:none}.end-state-inner,.end-state-outer{fill:var(--md-mermaid-edge-color)}.end-state-inner,.node circle.state-end{stroke:var(--md-mermaid-label-bg-color)}.transition{stroke:var(--md-mermaid-edge-color)}[id^=state-fork] rect,[id^=state-join] rect{fill:var(--md-mermaid-edge-color)!important;stroke:none!important}.statediagram-cluster.statediagram-cluster .inner{fill:var(--md-default-bg-color)}.statediagram-cluster rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.statediagram-state rect.divider{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}.entityBox{fill:var(--md-mermaid-label-bg-color);stroke:var(--md-mermaid-node-fg-color)}.entityLabel{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.relationshipLabelBox{fill:var(--md-mermaid-label-bg-color);fill-opacity:1;background-color:var(--md-mermaid-label-bg-color);opacity:1}.relationshipLabel{fill:var(--md-mermaid-label-fg-color)}.relationshipLine{stroke:var(--md-mermaid-edge-color)}#ONE_OR_MORE_END *,#ONE_OR_MORE_START *,#ONLY_ONE_END *,#ONLY_ONE_START *,#ZERO_OR_MORE_END *,#ZERO_OR_MORE_START *,#ZERO_OR_ONE_END *,#ZERO_OR_ONE_START *{stroke:var(--md-mermaid-edge-color)!important}#ZERO_OR_MORE_END circle,#ZERO_OR_MORE_START circle,.actor{fill:var(--md-mermaid-label-bg-color)}.actor{stroke:var(--md-mermaid-node-fg-color)}text.actor>tspan{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}line{stroke:var(--md-default-fg-color--lighter)}.messageLine0,.messageLine1{stroke:var(--md-mermaid-edge-color)}.loopText>tspan,.messageText{fill:var(--md-mermaid-edge-color);stroke:none;font-family:var(--md-mermaid-font-family)!important}#arrowhead path{fill:var(--md-mermaid-edge-color);stroke:none}.loopLine{stroke:var(--md-mermaid-node-fg-color)}.labelBox,.loopLine{fill:var(--md-mermaid-node-bg-color)}.labelBox{stroke:none}.labelText,.labelText>span{fill:var(--md-mermaid-node-fg-color);font-family:var(--md-mermaid-font-family)}";var Gr,us=0;function fs(){return typeof mermaid=="undefined"?$o("https://unpkg.com/mermaid@8.13.3/dist/mermaid.min.js"):L(void 0)}function ni(e){return e.classList.remove("mermaid"),Gr||(Gr=fs().pipe(S(()=>mermaid.initialize({startOnLoad:!1,themeCSS:ri})),Z(void 0),X(1))),Gr.subscribe(()=>{e.classList.add("mermaid");let t=`__mermaid_${us++}`,r=A("div",{class:"mermaid"});mermaid.mermaidAPI.render(t,e.textContent,n=>{let o=r.attachShadow({mode:"closed"});o.innerHTML=n,e.replaceWith(r)})}),Gr.pipe(Z({ref:e}))}function ps(e,{target$:t,print$:r}){let n=!0;return C(t.pipe(m(o=>o.closest("details:not([open])")),T(o=>e===o),Z({action:"open",reveal:!0})),r.pipe(T(o=>o||!n),S(()=>n=e.open),m(o=>({action:o?"open":"close"}))))}function oi(e,t){return P(()=>{let r=new O;return r.subscribe(({action:n,reveal:o})=>{n==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),ps(e,t).pipe(S(n=>r.next(n)),R(()=>r.complete()),m(n=>$({ref:e},n)))})}var ii=A("table");function ai(e){return e.replaceWith(ii),ii.replaceWith(Ko(e)),L({ref:e})}function ls(e){let t=G(":scope > input",e);return C(...t.map(r=>y(r,"change").pipe(Z({active:Q(`label[for=${r.id}]`)})))).pipe(q({active:Q(`label[for=${t[0].id}]`)}))}function si(e){let t=Q(".tabbed-labels",e);return P(()=>{let r=new O;return B([r,ve(e)]).pipe(He(1,Te),se(r.pipe(pe(1)))).subscribe({next([{active:n}]){let o=ze(n),{width:i}=Ce(n);e.style.setProperty("--md-indicator-x",`${o.x}px`),e.style.setProperty("--md-indicator-width",`${i}px`),t.scrollTo({behavior:"smooth",left:o.x})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),ls(e).pipe(S(n=>r.next(n)),R(()=>r.complete()),m(n=>$({ref:e},n)))})}function ci(e,{target$:t,print$:r}){return C(...G("pre:not(.mermaid) > code",e).map(n=>ti(n,{print$:r})),...G("pre.mermaid",e).map(n=>ni(n)),...G("table:not([class])",e).map(n=>ai(n)),...G("details",e).map(n=>oi(n,{target$:t,print$:r})),...G("[data-tabs]",e).map(n=>si(n)))}function ms(e,{alert$:t}){return t.pipe(x(r=>C(L(!0),L(!1).pipe(Ie(2e3))).pipe(m(n=>({message:r,active:n})))))}function ui(e,t){let r=Q(".md-typeset",e);return P(()=>{let n=new O;return n.subscribe(({message:o,active:i})=>{r.textContent=o,i?e.setAttribute("data-md-state","open"):e.removeAttribute("data-md-state")}),ms(e,t).pipe(S(o=>n.next(o)),R(()=>n.complete()),m(o=>$({ref:e},o)))})}function ds({viewport$:e}){if(!ce("header.autohide"))return L(!1);let t=e.pipe(m(({offset:{y:o}})=>o),Me(2,1),m(([o,i])=>[o<i,i]),J(0)),r=B([e,t]).pipe(T(([{offset:o},[,i]])=>Math.abs(i-o.y)>100),m(([,[o]])=>o),Y()),n=pt("search");return B([e,n]).pipe(m(([{offset:o},i])=>o.y>400&&!i),Y(),x(o=>o?r:L(!1)),q(!1))}function fi(e,t){return P(()=>{let r=getComputedStyle(e);return L(r.position==="sticky"||r.position==="-webkit-sticky")}).pipe(Ve(ve(e),ds(t)),m(([r,{height:n},o])=>({height:r?n:0,sticky:r,hidden:o})),Y((r,n)=>r.sticky===n.sticky&&r.height===n.height&&r.hidden===n.hidden),X(1))}function pi(e,{header$:t,main$:r}){return P(()=>{let n=new O;return n.pipe(J("active"),Ve(t)).subscribe(([{active:o},{hidden:i}])=>{o?e.setAttribute("data-md-state",i?"hidden":"shadow"):e.removeAttribute("data-md-state")}),r.subscribe(n),t.pipe(se(n.pipe(pe(1))),m(o=>$({ref:e},o)))})}function hs(e,{viewport$:t,header$:r}){return mr(e,{viewport$:t,header$:r}).pipe(m(({offset:{y:n}})=>{let{height:o}=Ce(e);return{active:n>=o}}),J("active"))}function li(e,t){return P(()=>{let r=new O;r.subscribe(({active:o})=>{o?e.setAttribute("data-md-state","active"):e.removeAttribute("data-md-state")});let n=ue("article h1");return typeof n=="undefined"?z:hs(n,t).pipe(S(o=>r.next(o)),R(()=>r.complete()),m(o=>$({ref:e},o)))})}function mi(e,{viewport$:t,header$:r}){let n=r.pipe(m(({height:i})=>i),Y()),o=n.pipe(x(()=>ve(e).pipe(m(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),J("bottom"))));return B([n,o,t]).pipe(m(([i,{top:a,bottom:c},{offset:{y:s},size:{height:u}}])=>(u=Math.max(0,u-Math.max(0,a-s,i)-Math.max(0,u+s-c)),{offset:a-i,height:u,active:a-i<=s})),Y((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function bs(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)};return L(...e).pipe(oe(r=>y(r,"change").pipe(Z(r))),q(e[Math.max(0,t.index)]),m(r=>({index:e.indexOf(r),color:{scheme:r.getAttribute("data-md-color-scheme"),primary:r.getAttribute("data-md-color-primary"),accent:r.getAttribute("data-md-color-accent")}})),X(1))}function di(e){return P(()=>{let t=new O;t.subscribe(n=>{for(let[o,i]of Object.entries(n.color))document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;o<r.length;o++){let i=r[o].nextElementSibling;i instanceof HTMLElement&&(i.hidden=n.index!==o)}__md_set("__palette",n)});let r=G("input",e);return bs(r).pipe(S(n=>t.next(n)),R(()=>t.complete()),m(n=>$({ref:e},n)))})}var Jr=Ke(Yr());function vs(e){e.setAttribute("data-md-copying","");let t=e.innerText;return e.removeAttribute("data-md-copying"),t}function hi({alert$:e}){Jr.default.isSupported()&&new H(t=>{new Jr.default("[data-clipboard-target], [data-clipboard-text]",{text:r=>r.getAttribute("data-clipboard-text")||vs(Q(r.getAttribute("data-clipboard-target")))}).on("success",r=>t.next(r))}).pipe(S(t=>{t.trigger.focus()}),Z(ee("clipboard.copied"))).subscribe(e)}function gs(e){if(e.length<2)return[""];let[t,r]=[...e].sort((o,i)=>o.length-i.length).map(o=>o.replace(/[^/]+$/,"")),n=0;if(t===r)n=t.length;else for(;t.charCodeAt(n)===r.charCodeAt(n);)n++;return e.map(o=>o.replace(t.slice(0,n),""))}function dr(e){let t=__md_get("__sitemap",sessionStorage,e);if(t)return L(t);{let r=me();return Io(new URL("sitemap.xml",e||r.base)).pipe(m(n=>gs(G("loc",n).map(o=>o.textContent))),Pe([]),S(n=>__md_set("__sitemap",n,sessionStorage,e)))}}function bi({document$:e,location$:t,viewport$:r}){let n=me();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",y(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ue("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=dr().pipe(m(u=>u.map(f=>`${new URL(f,n.base)}`)),x(u=>y(document.body,"click").pipe(T(f=>!f.metaKey&&!f.ctrlKey),x(f=>{if(f.target instanceof Element){let p=f.target.closest("a");if(p&&!p.target){let l=new URL(p.href);if(l.search="",l.hash="",l.pathname!==location.pathname&&u.includes(l.toString()))return f.preventDefault(),L({url:new URL(p.href)})}}return xe}))),ae()),a=y(window,"popstate").pipe(T(u=>u.state!==null),m(u=>({url:new URL(location.href),offset:u.state})),ae());C(i,a).pipe(Y((u,f)=>u.url.href===f.url.href),m(({url:u})=>u)).subscribe(t);let c=t.pipe(J("pathname"),x(u=>lr(u.href).pipe(De(()=>(fr(u),xe)))),ae());i.pipe(ut(c)).subscribe(({url:u})=>{history.pushState({},"",`${u}`)});let s=new DOMParser;c.pipe(x(u=>u.text()),m(u=>s.parseFromString(u,"text/html"))).subscribe(e),e.pipe($e(1)).subscribe(u=>{for(let f of["title","link[rel=canonical]","meta[name=author]","meta[name=description]","[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=logo]","[data-md-component=skip]",...ce("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let p=ue(f),l=ue(f,u);typeof p!="undefined"&&typeof l!="undefined"&&p.replaceWith(l)}}),e.pipe($e(1),m(()=>we("container")),x(u=>L(...G("script",u))),Ir(u=>{let f=A("script");if(u.src){for(let p of u.getAttributeNames())f.setAttribute(p,u.getAttribute(p));return u.replaceWith(f),new H(p=>{f.onload=()=>p.complete()})}else return f.textContent=u.textContent,u.replaceWith(f),z})).subscribe(),C(i,a).pipe(ut(e)).subscribe(({url:u,offset:f})=>{u.hash&&!f?ko(u.hash):window.scrollTo(0,(f==null?void 0:f.y)||0)}),r.pipe(Et(i),Je(250),J("offset")).subscribe(({offset:u})=>{history.replaceState(u,"")}),C(i,a).pipe(Me(2,1),T(([u,f])=>u.url.pathname===f.url.pathname),m(([,u])=>u)).subscribe(({offset:u})=>{window.scrollTo(0,(u==null?void 0:u.y)||0)})}var Ss=Ke(Xr());var gi=Ke(Xr());function Zr(e,t){let r=new RegExp(e.separator,"img"),n=(o,i,a)=>`${i}<mark data-md-highlight>${a}</mark>`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator})(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(r,"|")})`,"img");return a=>(t?(0,gi.default)(a):a).replace(i,n).replace(/<\/mark>(\s+)<mark[^>]*>/img,"$1")}}function yi(e){return e.split(/"([^"]+)"/g).map((t,r)=>r&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}function mt(e){return e.type===1}function xi(e){return e.type===2}function dt(e){return e.type===3}function Es({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[ee("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=ee("search.config.separator"));let n={pipeline:ee("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:ce("search.suggest")};return{config:e,docs:t,options:n}}function Si(e,t){let r=me(),n=new Worker(e),o=new O,i=Vo(n,{tx$:o}).pipe(m(a=>{if(dt(a))for(let c of a.data.items)for(let s of c)s.location=`${new URL(s.location,r.base)}`;return a}),ae());return re(t).pipe(m(a=>({type:0,data:Es(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function wi(){let e=me(),t=Re(new URL("../versions.json",e.base)),r=t.pipe(m(n=>{let[,o]=e.base.match(/([^/]+)\/?$/);return n.find(({version:i,aliases:a})=>i===o||a.includes(o))||n[0]}));B([t,r]).pipe(m(([n,o])=>new Map(n.filter(i=>i!==o).map(i=>[`${new URL(`../${i.version}/`,e.base)}`,i]))),x(n=>y(document.body,"click").pipe(T(o=>!o.metaKey&&!o.ctrlKey),x(o=>{if(o.target instanceof Element){let i=o.target.closest("a");if(i&&!i.target&&n.has(i.href))return o.preventDefault(),L(i.href)}return z}),x(o=>{let{version:i}=n.get(o);return dr(new URL(o)).pipe(m(a=>{let s=Se().href.replace(e.base,"");return a.includes(s)?new URL(`../${i}/${s}`,e.base):new URL(o)}))})))).subscribe(n=>fr(n)),B([t,r]).subscribe(([n,o])=>{var a;if(Q(".md-header__topic").appendChild(Yo(n,o)),__md_get("__outdated",sessionStorage)===null){let c=((a=e.version)==null?void 0:a.default)||"latest",s=!o.aliases.includes(c);if(__md_set("__outdated",s,sessionStorage),s)for(let u of ne("outdated"))u.hidden=!1}})}function Os(e,{rx$:t}){let r=(__search==null?void 0:__search.transform)||yi,{searchParams:n}=Se();n.has("q")&&qe("search",!0);let o=t.pipe(T(mt),ie(1),m(()=>n.get("q")||""));pt("search").pipe(T(c=>!c),ie(1)).subscribe(()=>{let c=new URL(location.href);c.searchParams.delete("q"),history.replaceState({},"",`${c}`)}),o.subscribe(c=>{c&&(e.value=c)});let i=nr(e),a=C(y(e,"keyup"),y(e,"focus").pipe(Ie(1)),o).pipe(m(()=>r(e.value)),q(""),Y());return B([a,i]).pipe(m(([c,s])=>({value:c,focus:s})),X(1))}function Ei(e,{tx$:t,rx$:r}){let n=new O;return n.pipe(J("value"),m(({value:o})=>({type:2,data:o}))).subscribe(t.next.bind(t)),n.pipe(J("focus")).subscribe(({focus:o})=>{o?(qe("search",o),e.placeholder=""):e.placeholder=ee("search.placeholder")}),y(e.form,"reset").pipe(se(n.pipe(pe(1)))).subscribe(()=>e.focus()),Os(e,{tx$:t,rx$:r}).pipe(S(o=>n.next(o)),R(()=>n.complete()),m(o=>$({ref:e},o)))}function Oi(e,{rx$:t},{query$:r}){let n=new O,o=_o(e.parentElement).pipe(T(Boolean)),i=Q(":scope > :first-child",e),a=Q(":scope > :last-child",e),c=t.pipe(T(mt),ie(1));return n.pipe(Le(r),Et(c)).subscribe(([{items:u},{value:f}])=>{if(f)switch(u.length){case 0:i.textContent=ee("search.result.none");break;case 1:i.textContent=ee("search.result.one");break;default:i.textContent=ee("search.result.other",pr(u.length))}else i.textContent=ee("search.result.placeholder")}),n.pipe(S(()=>a.innerHTML=""),x(({items:u})=>C(L(...u.slice(0,10)),L(...u.slice(10)).pipe(Me(4),Nr(o),x(([f])=>L(...f)))))).subscribe(u=>a.appendChild(qo(u))),t.pipe(T(dt),m(({data:u})=>u)).pipe(S(u=>n.next(u)),R(()=>n.complete()),m(u=>$({ref:e},u)))}function _s(e,{query$:t}){return t.pipe(m(({value:r})=>{let n=Se();return n.hash="",n.searchParams.delete("h"),n.searchParams.set("q",r),{url:n}}))}function _i(e,t){let r=new O;return r.subscribe(({url:n})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${n}`}),y(e,"click").subscribe(n=>n.preventDefault()),_s(e,t).pipe(S(n=>r.next(n)),R(()=>r.complete()),m(n=>$({ref:e},n)))}function Ti(e,{rx$:t},{keyboard$:r}){let n=new O,o=we("search-query"),i=C(y(o,"keydown"),y(o,"focus")).pipe(Be(ge),m(()=>o.value),Y());return n.pipe(Ve(i),m(([{suggestions:c},s])=>{let u=s.split(/([\s-]+)/);if((c==null?void 0:c.length)&&u[u.length-1]){let f=c[c.length-1];f.startsWith(u[u.length-1])&&(u[u.length-1]=f)}else u.length=0;return u})).subscribe(c=>e.innerHTML=c.join("").replace(/\s/g,"&nbsp;")),r.pipe(T(({mode:c})=>c==="search")).subscribe(c=>{switch(c.type){case"ArrowRight":e.innerText.length&&o.selectionStart===o.value.length&&(o.value=e.innerText);break}}),t.pipe(T(dt),m(({data:c})=>c)).pipe(S(c=>n.next(c)),R(()=>n.complete()),m(()=>({ref:e})))}function Mi(e,{index$:t,keyboard$:r}){let n=me();try{let o=(__search==null?void 0:__search.worker)||n.search,i=Si(o,t),a=we("search-query",e),c=we("search-result",e),{tx$:s,rx$:u}=i;s.pipe(T(xi),ut(u.pipe(T(mt))),ie(1)).subscribe(s.next.bind(s)),r.pipe(T(({mode:l})=>l==="search")).subscribe(l=>{let d=Ne();switch(l.type){case"Enter":if(d===a){let h=new Map;for(let b of G(":first-child [href]",c)){let j=b.firstElementChild;h.set(b,parseFloat(j.getAttribute("data-md-score")))}if(h.size){let[[b]]=[...h].sort(([,j],[,K])=>K-j);b.click()}l.claim()}break;case"Escape":case"Tab":qe("search",!1),a.blur();break;case"ArrowUp":case"ArrowDown":if(typeof d=="undefined")a.focus();else{let h=[a,...G(":not(details) > [href], summary, details[open] [href]",c)],b=Math.max(0,(Math.max(0,h.indexOf(d))+h.length+(l.type==="ArrowUp"?-1:1))%h.length);h[b].focus()}l.claim();break;default:a!==Ne()&&a.focus()}}),r.pipe(T(({mode:l})=>l==="global")).subscribe(l=>{switch(l.type){case"f":case"s":case"/":a.focus(),a.select(),l.claim();break}});let f=Ei(a,i),p=Oi(c,i,{query$:f});return C(f,p).pipe(Xe(...ne("search-share",e).map(l=>_i(l,{query$:f})),...ne("search-suggest",e).map(l=>Ti(l,i,{keyboard$:r}))))}catch(o){return e.hidden=!0,xe}}function Li(e,{index$:t,location$:r}){return B([t,r.pipe(q(Se()),T(n=>!!n.searchParams.get("h")))]).pipe(m(([n,o])=>Zr(n.config,!0)(o.searchParams.get("h"))),m(n=>{var a;let o=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let c=i.nextNode();c;c=i.nextNode())if((a=c.parentElement)==null?void 0:a.offsetHeight){let s=c.textContent,u=n(s);u.length>s.length&&o.set(c,u)}for(let[c,s]of o){let{childNodes:u}=A("span",null,s);c.replaceWith(...Array.from(u))}return{ref:e,nodes:o}}))}function Ts(e,{viewport$:t,main$:r}){let n=e.parentElement,o=n.offsetTop-n.parentElement.offsetTop;return B([r,t]).pipe(m(([{offset:i,height:a},{offset:{y:c}}])=>(a=a+Math.min(o,Math.max(0,c-i))-o,{height:a,locked:c>=i+o})),Y((i,a)=>i.height===a.height&&i.locked===a.locked))}function en(e,n){var o=n,{header$:t}=o,r=sn(o,["header$"]);let i=Q(".md-sidebar__scrollwrap",e),{y:a}=ze(i);return P(()=>{let c=new O;return c.pipe(He(0,Te),Le(t)).subscribe({next([{height:s},{height:u}]){i.style.height=`${s-2*a}px`,e.style.top=`${u}px`},complete(){i.style.height="",e.style.top=""}}),Ts(e,r).pipe(S(s=>c.next(s)),R(()=>c.complete()),m(s=>$({ref:e},s)))})}function Ai(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return St(Re(`${r}/releases/latest`).pipe(m(n=>({version:n.tag_name})),Pe({})),Re(r).pipe(m(n=>({stars:n.stargazers_count,forks:n.forks_count})),Pe({}))).pipe(m(([n,o])=>$($({},n),o)))}else{let r=`https://api.github.com/users/${e}`;return Re(r).pipe(m(n=>({repositories:n.public_repos})),Pe({}))}}function Ci(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Re(r).pipe(m(({star_count:n,forks_count:o})=>({stars:n,forks:o})),Pe({}))}function Ri(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,r,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return Ai(r,n);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return Ci(o,i);default:return z}}var Ms;function Ls(e){return Ms||(Ms=P(()=>{let t=__md_get("__source",sessionStorage);return t?L(t):Ri(e.href).pipe(S(r=>__md_set("__source",r,sessionStorage)))}).pipe(De(()=>z),T(t=>Object.keys(t).length>0),m(t=>({facts:t})),X(1)))}function ki(e){let t=Q(":scope > :last-child",e);return P(()=>{let r=new O;return r.subscribe(({facts:n})=>{t.appendChild(Qo(n)),t.setAttribute("data-md-state","done")}),Ls(e).pipe(S(n=>r.next(n)),R(()=>r.complete()),m(n=>$({ref:e},n)))})}function As(e,{viewport$:t,header$:r}){return ve(document.body).pipe(x(()=>mr(e,{header$:r,viewport$:t})),m(({offset:{y:n}})=>({hidden:n>=10})),J("hidden"))}function Hi(e,t){return P(()=>{let r=new O;return r.subscribe({next({hidden:n}){n?e.setAttribute("data-md-state","hidden"):e.removeAttribute("data-md-state")},complete(){e.removeAttribute("data-md-state")}}),(ce("navigation.tabs.sticky")?L({hidden:!1}):As(e,t)).pipe(S(n=>r.next(n)),R(()=>r.complete()),m(n=>$({ref:e},n)))})}function Cs(e,{viewport$:t,header$:r}){let n=new Map,o=G("[href^=\\#]",e);for(let c of o){let s=decodeURIComponent(c.hash.substring(1)),u=ue(`[id="${s}"]`);typeof u!="undefined"&&n.set(c,u)}let i=r.pipe(J("height"),m(({height:c})=>{let s=we("main"),u=Q(":scope > :first-child",s);return c+.8*(u.offsetTop-s.offsetTop)}),ae());return ve(document.body).pipe(J("height"),x(c=>P(()=>{let s=[];return L([...n].reduce((u,[f,p])=>{for(;s.length&&n.get(s[s.length-1]).tagName>=p.tagName;)s.pop();let l=p.offsetTop;for(;!l&&p.parentElement;)p=p.parentElement,l=p.offsetTop;return u.set([...s=[...s,f]].reverse(),l)},new Map))}).pipe(m(s=>new Map([...s].sort(([,u],[,f])=>u-f))),Ve(i),x(([s,u])=>t.pipe(jr(([f,p],{offset:{y:l},size:d})=>{let h=l+d.height>=Math.floor(c.height);for(;p.length;){let[,b]=p[0];if(b-u<l||h)f=[...f,p.shift()];else break}for(;f.length;){let[,b]=f[f.length-1];if(b-u>=l&&!h)p=[f.pop(),...p];else break}return[f,p]},[[],[...s]]),Y((f,p)=>f[0]===p[0]&&f[1]===p[1])))))).pipe(m(([c,s])=>({prev:c.map(([u])=>u),next:s.map(([u])=>u)})),q({prev:[],next:[]}),Me(2,1),m(([c,s])=>c.prev.length<s.prev.length?{prev:s.prev.slice(Math.max(0,c.prev.length-1),s.prev.length),next:[]}:{prev:s.prev.slice(-1),next:s.next.slice(0,s.next.length-c.next.length)}))}function Pi(e,{viewport$:t,header$:r,target$:n}){return P(()=>{let o=new O;return o.subscribe(({prev:i,next:a})=>{for(let[c]of a)c.removeAttribute("data-md-state"),c.classList.remove("md-nav__link--active");for(let[c,[s]]of i.entries())s.setAttribute("data-md-state","blur"),s.classList.toggle("md-nav__link--active",c===i.length-1)}),ce("navigation.tracking")&&t.pipe(se(o.pipe(pe(1))),J("offset"),Je(250),$e(1),se(n.pipe($e(1))),wt({delay:250}),Le(o)).subscribe(([,{prev:i}])=>{let a=Se(),c=i[i.length-1];if(c&&c.length){let[s]=c,{hash:u}=new URL(s.href);a.hash!==u&&(a.hash=u,history.replaceState({},"",`${a}`))}else a.hash="",history.replaceState({},"",`${a}`)}),Cs(e,{viewport$:t,header$:r}).pipe(S(i=>o.next(i)),R(()=>o.complete()),m(i=>$({ref:e},i)))})}function Rs(e,{viewport$:t,main$:r,target$:n}){let o=t.pipe(m(({offset:{y:a}})=>a),Me(2,1),m(([a,c])=>a>c&&c>0),Y()),i=r.pipe(m(({active:a})=>a));return B([i,o]).pipe(m(([a,c])=>!(a&&c)),Y(),se(n.pipe($e(1))),rr(!0),wt({delay:250}),m(a=>({hidden:a})))}function Ii(e,{viewport$:t,header$:r,main$:n,target$:o}){let i=new O;return i.subscribe({next({hidden:a}){a?(e.setAttribute("data-md-state","hidden"),e.setAttribute("tabindex","-1"),e.blur()):(e.removeAttribute("data-md-state"),e.removeAttribute("tabindex"))},complete(){e.style.top="",e.setAttribute("data-md-state","hidden"),e.removeAttribute("tabindex")}}),r.pipe(se(i.pipe(rr(0),pe(1))),J("height")).subscribe(({height:a})=>{e.style.top=`${a+16}px`}),Rs(e,{viewport$:t,main$:n,target$:o}).pipe(S(a=>i.next(a)),R(()=>i.complete()),m(a=>$({ref:e},a)))}function $i({document$:e,tablet$:t}){e.pipe(x(()=>L(...G("[data-md-state=indeterminate]"))),S(r=>{r.indeterminate=!0,r.checked=!1}),oe(r=>y(r,"change").pipe(Wr(()=>r.hasAttribute("data-md-state")),Z(r))),Le(t)).subscribe(([r,n])=>{r.removeAttribute("data-md-state"),n&&(r.checked=!1)})}function ks(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function ji({document$:e}){e.pipe(x(()=>L(...G("[data-md-scrollfix]"))),S(t=>t.removeAttribute("data-md-scrollfix")),T(ks),oe(t=>y(t,"touchstart").pipe(Z(t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function Fi({viewport$:e,tablet$:t}){B([pt("search"),t]).pipe(m(([r,n])=>r&&!n),x(r=>L(r).pipe(Ie(r?400:100))),Le(e)).subscribe(([r,{offset:{y:n}}])=>{if(r)document.body.setAttribute("data-md-state","lock"),document.body.style.top=`-${n}px`;else{let o=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-state"),document.body.style.top="",o&&window.scrollTo(0,o)}})}Object.entries||(Object.entries=function(e){let t=[];for(let r of Object.keys(e))t.push([r,e[r]]);return t});Object.values||(Object.values=function(e){let t=[];for(let r of Object.keys(e))t.push(e[r]);return t});typeof Element!="undefined"&&(Element.prototype.scrollTo||(Element.prototype.scrollTo=function(e,t){typeof e=="object"?(this.scrollLeft=e.left,this.scrollTop=e.top):(this.scrollLeft=e,this.scrollTop=t)}),Element.prototype.replaceWith||(Element.prototype.replaceWith=function(...e){let t=this.parentNode;if(t){e.length===0&&t.removeChild(this);for(let r=e.length-1;r>=0;r--){let n=e[r];typeof n!="object"?n=document.createTextNode(n):n.parentNode&&n.parentNode.removeChild(n),r?t.insertBefore(this.previousSibling,n):t.replaceChild(n,this)}}}));document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var ht=mo(),br=Lo(),Tt=Ho(),tn=Mo(),Ee=Do(),vr=qr("(min-width: 960px)"),Wi=qr("(min-width: 1220px)"),Di=Po(),Vi=me(),Ni=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Re(new URL("search/search_index.json",Vi.base)):xe,rn=new O;hi({alert$:rn});ce("navigation.instant")&&bi({document$:ht,location$:br,viewport$:Ee});var Ui;((Ui=Vi.version)==null?void 0:Ui.provider)==="mike"&&wi();C(br,Tt).pipe(Ie(125)).subscribe(()=>{qe("drawer",!1),qe("search",!1)});tn.pipe(T(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ue("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let r=ue("[href][rel=next]");typeof r!="undefined"&&r.click();break}});$i({document$:ht,tablet$:vr});ji({document$:ht});Fi({viewport$:Ee,tablet$:vr});var Qe=fi(we("header"),{viewport$:Ee}),hr=ht.pipe(m(()=>we("main")),x(e=>mi(e,{viewport$:Ee,header$:Qe})),X(1)),Hs=C(...ne("dialog").map(e=>ui(e,{alert$:rn})),...ne("header").map(e=>pi(e,{viewport$:Ee,header$:Qe,main$:hr})),...ne("palette").map(e=>di(e)),...ne("search").map(e=>Mi(e,{index$:Ni,keyboard$:tn})),...ne("source").map(e=>ki(e))),Ps=P(()=>C(...ne("content").map(e=>ci(e,{target$:Tt,print$:Di})),...ne("content").map(e=>ce("search.highlight")?Li(e,{index$:Ni,location$:br}):z),...ne("header-title").map(e=>li(e,{viewport$:Ee,header$:Qe})),...ne("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Qr(Wi,()=>en(e,{viewport$:Ee,header$:Qe,main$:hr})):Qr(vr,()=>en(e,{viewport$:Ee,header$:Qe,main$:hr}))),...ne("tabs").map(e=>Hi(e,{viewport$:Ee,header$:Qe})),...ne("toc").map(e=>Pi(e,{viewport$:Ee,header$:Qe,target$:Tt})),...ne("top").map(e=>Ii(e,{viewport$:Ee,header$:Qe,main$:hr,target$:Tt})))),zi=ht.pipe(x(()=>Ps),Xe(Hs),X(1));zi.subscribe();window.document$=ht;window.location$=br;window.target$=Tt;window.keyboard$=tn;window.viewport$=Ee;window.tablet$=vr;window.screen$=Wi;window.print$=Di;window.alert$=rn;window.component$=zi;})();
//# sourceMappingURL=bundle.b88e97c5.min.js.map