(()=>{var Jt=Object.create,sr=Object.defineProperty,Xt=Object.getPrototypeOf,Gt=Object.prototype.hasOwnProperty,Zt=Object.getOwnPropertyNames,Bt=Object.getOwnPropertyDescriptor;var Mr=Object.assign,en=e=>sr(e,"__esModule",{value:!0});var ve=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var rn=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Zt(r))!Gt.call(e,n)&&n!=="default"&&sr(e,n,{get:()=>r[n],enumerable:!(t=Bt(r,n))||t.enumerable});return e},Ir=e=>e&&e.__esModule?e:rn(en(sr(e!=null?Jt(Xt(e)):{},"default",{value:e,enumerable:!0})),e);var Fe=ve(K=>{(function(){var e,r,t,n,o,i,a,l,c,u,s,f,d,v,h,m,b,w,S,R;R=150,u=20,S=150,c=.75,K.score=function(p,g,E){var O,y,x,A;return y=E.preparedQuery,O=E.allowErrors,O||o(p,y.core_lw,y.core_up)?(A=p.toLowerCase(),x=r(p,A,y),Math.ceil(x)):0},K.isMatch=o=function(p,g,E){var O,y,x,A,P,F,M;if(x=p.length,A=g.length,!x||A>x)return!1;for(O=-1,y=-1;++y-1)return h(p,g,ue,B,ne,V,U);for(he=new Array(V),P=new Array(V),ur=w(V,U),k=Math.ceil(c*V)+5,Z=k,M=!0,_=-1;++_oe&&(oe=je),F=0,B[_]===ir)if(ar=l(H,p,g),F=A>0?A:d(p,g,ue,B,H,_,ar),x=or+f(H,_,ar,y,F),x>oe)oe=x,Z=k;else{if(fe&&--Z<=0)return Math.max(oe,he[V-1])*ur;fe=!1}or=je,A=P[_],P[_]=F,he[_]=oe}}return oe=he[V-1],oe*ur},K.isWordStart=l=function(p,g,E){var O,y;return p===0?!0:(O=g[p],y=g[p-1],i(y)||O!==E[p]&&y===E[p-1])},K.isWordEnd=a=function(p,g,E,O){var y,x;return p===O-1?!0:(y=g[p],x=g[p+1],i(x)||y===E[p]&&x!==E[p+1])},i=function(p){return p===" "||p==="."||p==="-"||p==="_"||p==="/"||p==="\\"},b=function(p){var g;return py?O:y)+10):x+R*y},K.scoreConsecutives=d=function(p,g,E,O,y,x,A){var P,F,M,H,_,U,k;for(F=p.length,H=E.length,M=F-y,_=H-x,P=M<_?M:_,U=0,k=0,E[x]===p[y]&&U++;++k-1&&(_=l(M,p,g),_&&(y=M))),F=-1,H=0;++F1&&M>1))return t;for(y=0,k=0,Z=0,_=0,A=-1,P=-1;++P-1){k++;continue}else break;for(;++A12*P)return!1;for(x=-1;++xO)return!1;return!0}}).call(K)});var tr=ve(Re=>{(function(){var e,r,t,n,o,i,a,l,c,u;u=Fe(),i=u.isMatch,e=u.computeScore,l=u.scoreSize,c=20,t=2.5,Re.score=function(s,f,d){var v,h,m,b;return h=d.preparedQuery,v=d.allowErrors,v||i(s,h.core_lw,h.core_up)?(b=s.toLowerCase(),m=e(s,b,h),m=a(s,b,m,d),Math.ceil(m)):0},a=function(s,f,d,v){var h,m,b,w,S,R,p,g,E,O;if(d===0)return 0;for(E=v.preparedQuery,O=v.useExtensionBonus,g=v.pathSeparator,S=s.length-1;s[S]===g;)S--;if(b=s.lastIndexOf(g,S),p=S-b,R=1,O&&(R+=o(f,E.ext,b,S,2),d*=R),b===-1)return d;for(w=E.depth;b>-1&&w-- >0;)b=s.lastIndexOf(g,b-1);return m=b===-1?d:R*e(s.slice(b+1,S+1),f.slice(b+1,S+1),E),h=.5*c/(c+r(s,S+1,g)),h*m+(1-h)*d*l(0,t*p)},Re.countDir=r=function(s,f,d){var v,h;if(f<1)return 0;for(v=0,h=-1;++hd)))return 0;for(w=f.length,m=v-S,m0?.9*o(s,f,d,S-2,h-1):b/m}}).call(Re)});var Ar=ve((It,Lt)=>{(function(){var e,r,t,n,o,i,a,l;l=tr(),t=l.countDir,o=l.getExtension,Lt.exports=e=function(){function c(u,s){var f,d,v;if(v=s!=null?s:{},f=v.optCharRegEx,d=v.pathSeparator,!(u&&u.length))return null;this.query=u,this.query_lw=u.toLowerCase(),this.core=r(u,f),this.core_lw=this.core.toLowerCase(),this.core_up=a(this.core),this.depth=t(u,u.length,d),this.ext=o(this.query_lw),this.charCodes=n(this.query_lw)}return c}(),i=/[ _\-:\/\\]/g,r=function(c,u){return u==null&&(u=i),c.replace(u,"")},a=function(c){var u,s,f,d;for(s="",f=0,d=c.length;f{(function(){var e,r,t,n,o;n=Fe(),r=tr(),e=Ar(),t=function(i){return i.candidate},o=function(i,a){return a.score-i.score},Pt.exports=function(i,a,l){var c,u,s,f,d,v,h,m,b,w,S,R,p;for(m=[],s=l.key,d=l.maxResults,f=l.maxInners,S=l.usePathScoring,b=f!=null&&f>0?f:i.length+1,c=s!=null,h=S?r:n,R=0,p=i.length;R0&&(m.push({candidate:u,score:v}),!--b))));R++);return m.sort(o),i=m.map(t),d!=null&&(i=i.slice(0,d)),i}}).call(Ct)});var Ft=ve(nr=>{(function(){var e,r,t,n,o,i,a,l,c,u;u=Fe(),t=u.isMatch,n=u.isWordStart,c=u.scoreConsecutives,l=u.scoreCharacter,a=u.scoreAcronyms,nr.match=o=function(s,f,d){var v,h,m,b,w,S;return v=d.allowErrors,w=d.preparedQuery,b=d.pathSeparator,v||t(s,w.core_lw,w.core_up)?(S=s.toLowerCase(),m=r(s,S,w),m.length===0||s.indexOf(b)>-1&&(h=e(s,S,w,b),m=i(m,h)),m):[]},nr.wrap=function(s,f,d){var v,h,m,b,w,S,R,p,g;if(d.wrap!=null&&(g=d.wrap,S=g.tagClass,p=g.tagOpen,R=g.tagClose),S==null&&(S="highlight"),p==null&&(p=''),R==null&&(R=""),s===f)return p+s+R;if(m=o(s,f,d),m.length===0)return s;for(b="",v=-1,w=0;++vw&&(b+=s.substring(w,h),w=h);++vw&&(b+=p,b+=s.substring(w,h),b+=R,w=h)}return w<=s.length-1&&(b+=s.substring(w)),b},e=function(s,f,d,v){var h,m,b;for(b=s.length-1;s[b]===v;)b--;if(h=s.lastIndexOf(v,b),h===-1)return[];for(m=d.depth;m-- >0;)if(h=s.lastIndexOf(v,h-1),h===-1)return[];return h++,b++,r(s.slice(h,b),f.slice(h,b),d,h)},i=function(s,f){var d,v,h,m,b,w,S;if(b=s.length,w=f.length,w===0)return s.slice();if(b===0)return f.slice();for(h=-1,m=0,v=f[m],S=[];++h0?g:c(s,f,_,U,y,x,B),R=Z+l(y,x,B,S,O)),ne=V[x],g=E[x],k>ne?F=m:(k=ne,F=w),R>k?(k=R,F=h):O=0,V[x]=k,E[x]=O,fe[++H]=k>0?F:b;for(y=A-1,x=M-1,H=y*M+x,p=!0,P=[];p&&y>=0&&x>=0;)switch(fe[H]){case w:y--,H-=M;break;case m:x--,H--;break;case h:P.push(y+v),x--,y--,H-=M+1;break;default:p=!1}return P.reverse(),P}}).call(nr)});var _r=ve((Rt,jt)=>{(function(){var e,r,t,n,o,i,a,l;t=Ht(),n=Ft(),l=Fe(),i=tr(),e=Ar(),a=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",jt.exports={filter:function(c,u,s){return s==null&&(s={}),(u!=null?u.length:void 0)&&(c!=null?c.length:void 0)?(s=o(s,u),t(c,u,s)):[]},score:function(c,u,s){return s==null&&(s={}),(c!=null?c.length:void 0)&&(u!=null?u.length:void 0)?(s=o(s,u),s.usePathScoring?i.score(c,u,s):l.score(c,u,s)):0},match:function(c,u,s){var f,d,v;return s==null&&(s={}),c?u?c===u?function(){v=[];for(var h=0,m=c.length;0<=m?hm;0<=m?h++:h--)v.push(h);return v}.apply(this):(s=o(s,u),n.match(c,u,s)):[]:[]},wrap:function(c,u,s){return s==null&&(s={}),c?u?(s=o(s,u),n.wrap(c,u,s)):[]:[]},prepareQuery:function(c,u){return u==null&&(u={}),u=o(u,c),u.preparedQuery}},o=function(c,u){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===u?a:a=new e(u,c)),c}}).call(Rt)});var cr=function(e,r){return cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])},cr(e,r)};function z(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");cr(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}function Lr(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(s){try{u(n.next(s))}catch(f){a(f)}}function c(s){try{u(n.throw(s))}catch(f){a(f)}}function u(s){s.done?i(s.value):o(s.value).then(l,c)}u((n=n.apply(e,r||[])).next())})}function Cr(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(u){return function(s){return c([u,s])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,o=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[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 j(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(e,r){for(var t=0,n=r.length,o=e.length;t0?e.prototype.requestAsyncId.call(this,t,n,o):(t.actions.push(this),t.scheduled||(t.scheduled=ye.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&&(ye.cancelAnimationFrame(n),t.scheduled=void 0)},r}(qe);var Qr=function(e){z(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"),Ae(e===Er()))}var Ln=new ae,_c=at(()=>Oe(new ResizeObserver(e=>{for(let r of e)Ln.next(r)}))).pipe(re(e=>ct.pipe(Ae(e)).pipe(Be(()=>e.disconnect()))),er(1));function wt(e){return{width:e.offsetWidth,height:e.offsetHeight}}function St(e){return{width:e.scrollWidth,height:e.scrollHeight}}function Et(e){return{x:e.scrollLeft,y:e.scrollTop}}function Cn(e){return Y(Q(e,"scroll"),Q(window,"resize")).pipe(q(()=>Et(e)),Ae(Et(e)))}function Ot(e,r=16){return Cn(e).pipe(q(({y:t})=>{let n=wt(e),o=St(e);return t>=o.height-n.height-r}),Te())}var Vc={drawer:te("[data-md-toggle=drawer]"),search:te("[data-md-toggle=search]")};function Tt(){return new URL(location.href)}function Pn(e,r={credentials:"same-origin"}){return pe(fetch(e.toString(),r)).pipe(de(t=>t.status===200))}function At(e,r){return Pn(e,r).pipe(re(t=>t.json()),er(1))}function Or(e,r=document){return te(`[data-mdx-component=${e}]`,r)}function _t(e,r=document){return xt(`[data-mdx-component=${e}]`,r)}var Hn=te("#__config"),He=JSON.parse(Hn.textContent);He.base=new URL(He.base,Tt()).toString().replace(/\/$/,"");function Tr(){return He}function le(e,r){return typeof r!="undefined"?He.translations[e].replace("#",r.toString()):He.translations[e]}function Mt(e){let r=gt(e),t=Y(Q(e,"keyup"),Q(e,"focus").pipe(dt(1))).pipe(q(()=>e.value),Te());return r.pipe(de(n=>!n),Pe(t)).subscribe(([,n])=>{let o=document.location.pathname;n.length&&ga("send","pageview",`${o}?q=[icon]+${n}`)}),Xe([t,r]).pipe(q(([n,o])=>({ref:e,value:n,focus:o})))}var Dt=Ir(_r());function kt(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)kt(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)kt(n,o);return n}function zt(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function Wt(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",zt(r))}}function Ut(e){e.textContent=le("search.result.placeholder")}function qt(e,r){e.appendChild(r)}function Vt(e){e.innerHTML=""}var Nt=Ir(_r());function Fn(e,r){return Nt.wrap(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function $t(e,r){return _e("li",{class:"mdx-iconsearch-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,`:${Fn(e,r)}:`)))}function Rn(e,{index$:r,query$:t}){return Xe([t.pipe(ht("value")),r.pipe(q(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(q(([{value:n},o])=>Dt.filter(o,n)),re(n=>r.pipe(q(({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 Qt(e,{index$:r,query$:t}){let n=new ae,o=Ot(e).pipe(de(Boolean)),i=te(":scope > :first-child",e);n.pipe(gr(br),Pe(t)).subscribe(([{data:l},{value:c}])=>{c?Wt(i,l.length):Ut(i)});let a=te(":scope > :last-child",e);return n.pipe(gr(br),rr(()=>Vt(a)),re(({data:l})=>Y(Oe(...l.slice(0,10)),Oe(...l.slice(10)).pipe(ft(10),bt(o),re(([c])=>Oe(...c))))),Pe(t)).subscribe(([l,{value:c}])=>{qt(a,$t(l,c))}),Rn(e,{query$:t,index$:r}).pipe(rr(n),Be(()=>n.complete()),q(l=>Mr({ref:e},l)))}function Kt(e){let r=Tr(),t=At(`${r.base}/overrides/assets/javascripts/iconsearch_index.json`),n=Or("iconsearch-query",e),o=Or("iconsearch-result",e),i=Mt(n);return Y(i,Qt(o,{index$:t,query$:i}))}function Yt(){Q(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)}})}Yt();document$.pipe(re(()=>Y(..._t("iconsearch").map(e=>Kt(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.cf78cd63.min.js.map