(()=>{var Kt=Object.create,sr=Object.defineProperty,Yt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty,Xt=Object.getOwnPropertyNames,Gt=Object.getOwnPropertyDescriptor;var Zt=e=>sr(e,"__esModule",{value:!0});var be=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var Bt=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Xt(r))!Jt.call(e,n)&&n!=="default"&&sr(e,n,{get:()=>r[n],enumerable:!(t=Gt(r,n))||t.enumerable});return e},_r=e=>e&&e.__esModule?e:Bt(Zt(sr(e!=null?Kt(Yt(e)):{},"default",{value:e,enumerable:!0})),e);var He=be(D=>{(function(){var e,r,t,n,o,i,a,l,c,s,u,f,h,v,m,p,b,S,w,H;H=150,s=20,w=150,c=.75,D.score=function(d,g,E){var O,y,x,A;return y=E.preparedQuery,O=E.allowErrors,O||o(d,y.core_lw,y.core_up)?(A=d.toLowerCase(),x=r(d,A,y),Math.ceil(x)):0},D.isMatch=o=function(d,g,E){var O,y,x,A,P,R,M;if(x=d.length,A=g.length,!x||A>x)return!1;for(O=-1,y=-1;++y-1)return m(d,g,ae,G,te,q,z);for(ve=new Array(q),P=new Array(q),ar=S(q,z),j=Math.ceil(c*q)+5,X=j,M=!0,_=-1;++_ne&&(ne=Re),R=0,G[_]===or)if(ir=l(F,d,g),R=A>0?A:h(d,g,ae,G,F,_,ir),x=nr+f(F,_,ir,y,R),x>ne)ne=x,X=j;else{if(fe&&--X<=0)return Math.max(ne,ve[q-1])*ar;fe=!1}nr=Re,A=P[_],P[_]=R,ve[_]=ne}}return ne=ve[q-1],ne*ar},D.isWordStart=l=function(d,g,E){var O,y;return d===0?!0:(O=g[d],y=g[d-1],i(y)||O!==E[d]&&y===E[d-1])},D.isWordEnd=a=function(d,g,E,O){var y,x;return d===O-1?!0:(y=g[d],x=g[d+1],i(x)||y===E[d]&&x!==E[d+1])},i=function(d){return d===" "||d==="."||d==="-"||d==="_"||d==="/"||d==="\\"},b=function(d){var g;return dy?O:y)+10):x+H*y},D.scoreConsecutives=h=function(d,g,E,O,y,x,A){var P,R,M,F,_,z,j;for(R=d.length,F=E.length,M=R-y,_=F-x,P=M<_?M:_,z=0,j=0,E[x]===d[y]&&z++;++j-1&&(_=l(M,d,g),_&&(y=M))),R=-1,F=0;++R1&&M>1))return t;for(y=0,j=0,X=0,_=0,A=-1,P=-1;++P-1){j++;continue}else break;for(;++A12*P)return!1;for(x=-1;++xO)return!1;return!0}}).call(D)});var rr=be(Fe=>{(function(){var e,r,t,n,o,i,a,l,c,s;s=He(),i=s.isMatch,e=s.computeScore,l=s.scoreSize,c=20,t=2.5,Fe.score=function(u,f,h){var v,m,p,b;return m=h.preparedQuery,v=h.allowErrors,v||i(u,m.core_lw,m.core_up)?(b=u.toLowerCase(),p=e(u,b,m),p=a(u,b,p,h),Math.ceil(p)):0},a=function(u,f,h,v){var m,p,b,S,w,H,d,g,E,O;if(h===0)return 0;for(E=v.preparedQuery,O=v.useExtensionBonus,g=v.pathSeparator,w=u.length-1;u[w]===g;)w--;if(b=u.lastIndexOf(g,w),d=w-b,H=1,O&&(H+=o(f,E.ext,b,w,2),h*=H),b===-1)return h;for(S=E.depth;b>-1&&S-- >0;)b=u.lastIndexOf(g,b-1);return p=b===-1?h:H*e(u.slice(b+1,w+1),f.slice(b+1,w+1),E),m=.5*c/(c+r(u,w+1,g)),m*p+(1-m)*h*l(0,t*d)},Fe.countDir=r=function(u,f,h){var v,m;if(f<1)return 0;for(v=0,m=-1;++mh)))return 0;for(S=f.length,p=v-w,p0?.9*o(u,f,h,w-2,m-1):b/p}}).call(Fe)});var Tr=be((_t,Mt)=>{(function(){var e,r,t,n,o,i,a,l;l=rr(),t=l.countDir,o=l.getExtension,Mt.exports=e=function(){function c(s,u){var f,h,v;if(v=u??{},f=v.optCharRegEx,h=v.pathSeparator,!(s&&s.length))return null;this.query=s,this.query_lw=s.toLowerCase(),this.core=r(s,f),this.core_lw=this.core.toLowerCase(),this.core_up=a(this.core),this.depth=t(s,s.length,h),this.ext=o(this.query_lw),this.charCodes=n(this.query_lw)}return c}(),i=/[ _\-:\/\\]/g,r=function(c,s){return s==null&&(s=i),c.replace(s,"")},a=function(c){var s,u,f,h;for(u="",f=0,h=c.length;f{(function(){var e,r,t,n,o;n=He(),r=rr(),e=Tr(),t=function(i){return i.candidate},o=function(i,a){return a.score-i.score},Lt.exports=function(i,a,l){var c,s,u,f,h,v,m,p,b,S,w,H,d;for(p=[],u=l.key,h=l.maxResults,f=l.maxInners,w=l.usePathScoring,b=f!=null&&f>0?f:i.length+1,c=u!=null,m=w?r:n,H=0,d=i.length;H0&&(p.push({candidate:s,score:v}),!--b))));H++);return p.sort(o),i=p.map(t),h!=null&&(i=i.slice(0,h)),i}}).call(It)});var Pt=be(tr=>{(function(){var e,r,t,n,o,i,a,l,c,s;s=He(),t=s.isMatch,n=s.isWordStart,c=s.scoreConsecutives,l=s.scoreCharacter,a=s.scoreAcronyms,tr.match=o=function(u,f,h){var v,m,p,b,S,w;return v=h.allowErrors,S=h.preparedQuery,b=h.pathSeparator,v||t(u,S.core_lw,S.core_up)?(w=u.toLowerCase(),p=r(u,w,S),p.length===0||u.indexOf(b)>-1&&(m=e(u,w,S,b),p=i(p,m)),p):[]},tr.wrap=function(u,f,h){var v,m,p,b,S,w,H,d,g;if(h.wrap!=null&&(g=h.wrap,w=g.tagClass,d=g.tagOpen,H=g.tagClose),w==null&&(w="highlight"),d==null&&(d=''),H==null&&(H=""),u===f)return d+u+H;if(p=o(u,f,h),p.length===0)return u;for(b="",v=-1,S=0;++vS&&(b+=u.substring(S,m),S=m);++vS&&(b+=d,b+=u.substring(S,m),b+=H,S=m)}return S<=u.length-1&&(b+=u.substring(S)),b},e=function(u,f,h,v){var m,p,b;for(b=u.length-1;u[b]===v;)b--;if(m=u.lastIndexOf(v,b),m===-1)return[];for(p=h.depth;p-- >0;)if(m=u.lastIndexOf(v,m-1),m===-1)return[];return m++,b++,r(u.slice(m,b),f.slice(m,b),h,m)},i=function(u,f){var h,v,m,p,b,S,w;if(b=u.length,S=f.length,S===0)return u.slice();if(b===0)return f.slice();for(m=-1,p=0,v=f[p],w=[];++m0?g:c(u,f,_,z,y,x,G),H=X+l(y,x,G,w,O)),te=q[x],g=E[x],j>te?R=p:(j=te,R=S),H>j?(j=H,R=m):O=0,q[x]=j,E[x]=O,fe[++F]=j>0?R:b;for(y=A-1,x=M-1,F=y*M+x,d=!0,P=[];d&&y>=0&&x>=0;)switch(fe[F]){case S:y--,F-=M;break;case p:x--,F--;break;case m:P.push(y+v),x--,y--,F-=M+1;break;default:d=!1}return P.reverse(),P}}).call(tr)});var Ar=be((Ht,Ft)=>{(function(){var e,r,t,n,o,i,a,l;t=Ct(),n=Pt(),l=He(),i=rr(),e=Tr(),a=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",Ft.exports={filter:function(c,s,u){return u==null&&(u={}),(s!=null?s.length:void 0)&&(c!=null?c.length:void 0)?(u=o(u,s),t(c,s,u)):[]},score:function(c,s,u){return u==null&&(u={}),(c!=null?c.length:void 0)&&(s!=null?s.length:void 0)?(u=o(u,s),u.usePathScoring?i.score(c,s,u):l.score(c,s,u)):0},match:function(c,s,u){var f,h,v;return u==null&&(u={}),c?s?c===s?function(){v=[];for(var m=0,p=c.length;0<=p?mp;0<=p?m++:m--)v.push(m);return v}.apply(this):(u=o(u,s),n.match(c,s,u)):[]:[]},wrap:function(c,s,u){return u==null&&(u={}),c?s?(u=o(u,s),n.wrap(c,s,u)):[]:[]},prepareQuery:function(c,s){return s==null&&(s={}),s=o(s,c),s.preparedQuery}},o=function(c,s){return c.allowErrors==null&&(c.allowErrors=!1),c.usePathScoring==null&&(c.usePathScoring=!0),c.useExtensionBonus==null&&(c.useExtensionBonus=!1),c.pathSeparator==null&&(c.pathSeparator=r),c.optCharRegEx==null&&(c.optCharRegEx=null),c.wrap==null&&(c.wrap=null),c.preparedQuery==null&&(c.preparedQuery=a&&a.query===s?a:a=new e(s,c)),c}}).call(Ht)});var ur=function(e,r){return ur=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])},ur(e,r)};function k(e,r){ur(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}function Mr(e,r,t,n){function o(i){return i instanceof t?i:new t(function(a){a(i)})}return new(t||(t=Promise))(function(i,a){function l(u){try{s(n.next(u))}catch(f){a(f)}}function c(u){try{s(n.throw(u))}catch(f){a(f)}}function s(u){u.done?i(u.value):o(u.value).then(l,c)}s((n=n.apply(e,r||[])).next())})}function Ir(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(s){return function(u){return c([s,u])}}function c(s){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,o=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function cr(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),o,i=[],a;try{for(;(r===void 0||r-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i}function W(){for(var e=[],r=0;r0?e.prototype.requestAsyncId.call(this,t,n,o):(t.actions.push(this),t.scheduled||(t.scheduled=xe.requestAnimationFrame(function(){return t.flush(void 0)})))},r.prototype.recycleAsyncId=function(t,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,o);t.actions.length===0&&(xe.cancelAnimationFrame(n),t.scheduled=void 0)},r}(Ue);var $r=function(e){k(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var n=this.actions,o,i=-1;t=t||n.shift();var a=n.length;do if(o=t.execute(t.state,t.delay))break;while(++ir==="focus"),ce(e===Er()))}var Mn=new ie,Cc=nt(()=>Te(new ResizeObserver(e=>{for(let r of e)Mn.next(r)}))).pipe(ee(e=>at.pipe(ce(e)).pipe(Ze(()=>e.disconnect()))),Be(1));function yt(e){return{width:e.offsetWidth,height:e.offsetHeight}}function xt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function gt(e){return{x:e.scrollLeft,y:e.scrollTop}}function In(e){return K($(e,"scroll"),$(window,"resize")).pipe(U(()=>gt(e)),ce(gt(e)))}function wt(e,r=16){return In(e).pipe(U(({y:t})=>{let n=yt(e),o=xt(e);return t>=o.height-n.height-r}),Ae())}var Qc={drawer:re("[data-md-toggle=drawer]"),search:re("[data-md-toggle=search]")};function St(){return new URL(location.href)}function Ln(e,r={credentials:"same-origin"}){return me(fetch(e,r)).pipe(he(t=>t.status===200))}function Et(e,r){return Ln(e,r).pipe(ee(t=>t.json()),Be(1))}function Or(e,r=document){return re(`[data-mdx-component=${e}]`,r)}function Ot(e,r=document){return vt(`[data-mdx-component=${e}]`,r)}var Cn=re("#__config"),Pe=JSON.parse(Cn.textContent);Pe.base=new URL(Pe.base,St()).toString().replace(/\/$/,"");function Tt(){return Pe}function le(e,r){return typeof r!="undefined"?Pe.translations[e].replace("#",r.toString()):Pe.translations[e]}function At(e){let r=bt(e),t=K($(e,"keyup"),$(e,"focus").pipe(ft(1))).pipe(U(()=>e.value),ce(e.value),Ae());return r.pipe(he(n=>!n),Ce(t)).subscribe(([,n])=>{let o=document.location.pathname;ga("send","pageview",`${o}?q=[icon]+${n}`)}),Je([t,r]).pipe(U(([n,o])=>({ref:e,value:n,focus:o})))}var Nt=_r(Ar());function Rt(e,r){if(typeof r=="string"||typeof r=="number")e.innerHTML+=r.toString();else if(r instanceof Node)e.appendChild(r);else if(Array.isArray(r))for(let t of r)Rt(e,t)}function _e(e,r,...t){let n=document.createElement(e);if(r)for(let o of Object.keys(r))typeof r[o]!="boolean"?n.setAttribute(o,r[o]):r[o]&&n.setAttribute(o,"");for(let o of t)Rt(n,o);return n}function kt(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function jt(e,r){switch(r){case 0:e.textContent=le("search.result.none");break;case 1:e.textContent=le("search.result.one");break;default:e.textContent=le("search.result.other",kt(r))}}function zt(e){e.textContent=le("search.result.placeholder")}function Wt(e,r){e.appendChild(r)}function Ut(e){e.innerHTML=""}var qt=_r(Ar());function Pn(e,r){return qt.wrap(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function Vt(e,r){return _e("li",{class:"mdx-icon-search-result__item"},_e("span",{class:"twemoji"},_e("img",{src:e.url})),_e("button",{class:"md-clipboard--inline",title:le("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},_e("code",null,`:${Pn(e,r)}:`)))}function Hn(e,{index$:r,query$:t}){return Je([t.pipe(pt("value")),r.pipe(U(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(U(([{value:n},o])=>Nt.filter(o,n)),ee(n=>r.pipe(U(({icons:o,emojis:i})=>({data:n.map(a=>{let l=a in o.data?o:i;return{shortcode:a,url:[l.base,l.data[a]].join("")}})})))))}function $t(e,{index$:r,query$:t}){let n=new ie,o=wt(e).pipe(he(Boolean)),i=re(":scope > :first-child",e);n.pipe(gr(br),Ce(t)).subscribe(([{data:l},{value:c}])=>{c?jt(i,l.length):zt(i)});let a=re(":scope > :last-child",e);return n.pipe(gr(br),er(()=>Ut(a)),ee(({data:l})=>K(Te(...l.slice(0,10)),Te(...l.slice(10)).pipe(ut(10),dt(o),ee(([c])=>Te(...c))))),Ce(t)).subscribe(([l,{value:c}])=>{Wt(a,Vt(l,c))}),Hn(e,{query$:t,index$:r}).pipe(er(n),Ze(()=>n.complete()),U(l=>({ref:e,...l})))}function Dt(e){let r=Tt(),t=Et(`${r.base}/overrides/assets/javascripts/icon_search_index.json`),n=Or("icon-search-query",e),o=Or("icon-search-result",e),i=At(n);return K(i,$t(o,{index$:t,query$:i}))}function Qt(){$(document.body,"click").subscribe(e=>{if(e.target instanceof HTMLElement){let r=e.target.closest("a[href^=http]");r instanceof HTMLLinkElement&&ga("send","event","outbound","click",r.href)}})}Qt();window.document$.pipe(ee(()=>K(...Ot("icon-search").map(e=>Dt(e))))).subscribe();})(); /*! ***************************************************************************** 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. ***************************************************************************** */ //# sourceMappingURL=bundle.c0db31d2.min.js