(()=>{var Yt=Object.create,sr=Object.defineProperty,Jt=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty,Gt=Object.getOwnPropertyNames,Zt=Object.getOwnPropertyDescriptor;var Mr=Object.assign,Bt=e=>sr(e,"__esModule",{value:!0});var ve=(e,r)=>()=>(r||(r={exports:{}},e(r.exports,r)),r.exports);var en=(e,r,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Gt(r))!Xt.call(e,n)&&n!=="default"&&sr(e,n,{get:()=>r[n],enumerable:!(t=Zt(r,n))||t.enumerable});return e},Ir=e=>e&&e.__esModule?e:en(Bt(sr(e!=null?Yt(Jt(e)):{},"default",{value:e,enumerable:!0})),e);var He=ve(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 T,y,x,A;return y=E.preparedQuery,T=E.allowErrors,T||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 T,y,x,A,P,R,M;if(x=d.length,A=g.length,!x||A>x)return!1;for(T=-1,y=-1;++y-1)return m(d,g,ae,G,te,q,z);for(he=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(le&&--X<=0)return Math.max(ne,he[q-1])*ar;le=!1}nr=Re,A=P[_],P[_]=R,he[_]=ne}}return ne=he[q-1],ne*ar},D.isWordStart=l=function(d,g,E){var T,y;return d===0?!0:(T=g[d],y=g[d-1],i(y)||T!==E[d]&&y===E[d-1])},D.isWordEnd=a=function(d,g,E,T){var y,x;return d===T-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?T:y)+10):x+H*y},D.scoreConsecutives=h=function(d,g,E,T,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;++xT)return!1;return!0}}).call(D)});var rr=ve(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,T;if(h===0)return 0;for(E=v.preparedQuery,T=v.useExtensionBonus,g=v.pathSeparator,w=u.length-1;u[w]===g;)w--;if(b=u.lastIndexOf(g,w),d=w-b,H=1,T&&(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 Ar=ve((Mt,It)=>{(function(){var e,r,t,n,o,i,a,l;l=rr(),t=l.countDir,o=l.getExtension,It.exports=e=function(){function c(s,u){var f,h,v;if(v=u!=null?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=Ar(),t=function(i){return i.candidate},o=function(i,a){return a.score-i.score},Ct.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(Lt)});var Ht=ve(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,T)),te=q[x],g=E[x],j>te?R=p:(j=te,R=S),H>j?(j=H,R=m):T=0,q[x]=j,E[x]=T,le[++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(le[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 _r=ve((Ft,Rt)=>{(function(){var e,r,t,n,o,i,a,l;t=Pt(),n=Ht(),l=He(),i=rr(),e=Ar(),a=null,r=(typeof process!="undefined"&&process!==null?process.platform:void 0)==="win32"?"\\":"/",Rt.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(Ft)});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 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(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 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(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 U(){for(var e=[],r=0;r0?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}(We);var Qr=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"),Ae(e===Er()))}var In=new ie,Pc=it(()=>Te(new ResizeObserver(e=>{for(let r of e)In.next(r)}))).pipe(ee(e=>ut.pipe(Ae(e)).pipe(Ze(()=>e.disconnect()))),Be(1));function gt(e){return{width:e.offsetWidth,height:e.offsetHeight}}function wt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function St(e){return{x:e.scrollLeft,y:e.scrollTop}}function Ln(e){return K($(e,"scroll"),$(window,"resize")).pipe(W(()=>St(e)),Ae(St(e)))}function Et(e,r=16){return Ln(e).pipe(W(({y:t})=>{let n=gt(e),o=wt(e);return t>=o.height-n.height-r}),Oe())}var Kc={drawer:re("[data-md-toggle=drawer]"),search:re("[data-md-toggle=search]")};function Tt(){return new URL(location.href)}function Cn(e,r={credentials:"same-origin"}){return pe(fetch(e.toString(),r)).pipe(de(t=>t.status===200))}function Ot(e,r){return Cn(e,r).pipe(ee(t=>t.json()),Be(1))}function Tr(e,r=document){return re(`[data-mdx-component=${e}]`,r)}function At(e,r=document){return yt(`[data-mdx-component=${e}]`,r)}var Pn=re("#__config"),Pe=JSON.parse(Pn.textContent);Pe.base=new URL(Pe.base,Tt()).toString().replace(/\/$/,"");function Or(){return Pe}function ce(e,r){return typeof r!="undefined"?Pe.translations[e].replace("#",r.toString()):Pe.translations[e]}function _t(e){let r=xt(e),t=K($(e,"keyup"),$(e,"focus").pipe(mt(1))).pipe(W(()=>e.value),Oe());return r.pipe(de(n=>!n),Ce(t)).subscribe(([,n])=>{let o=document.location.pathname;n.length&&ga("send","pageview",`${o}?q=[icon]+${n}`)}),Je([t,r]).pipe(W(([n,o])=>({ref:e,value:n,focus:o})))}var $t=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 jt(e){if(e>999){let r=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(r)}k`}else return e.toString()}function zt(e,r){switch(r){case 0:e.textContent=ce("search.result.none");break;case 1:e.textContent=ce("search.result.one");break;default:e.textContent=ce("search.result.other",jt(r))}}function Ut(e){e.textContent=ce("search.result.placeholder")}function Wt(e,r){e.appendChild(r)}function qt(e){e.innerHTML=""}var Vt=Ir(_r());function Hn(e,r){return Vt.wrap(e.shortcode,r,{wrap:{tagOpen:"",tagClose:""}})}function Nt(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:ce("clipboard.copy"),"data-clipboard-text":`:${e.shortcode}:`},_e("code",null,`:${Hn(e,r)}:`)))}function Fn(e,{index$:r,query$:t}){return Je([t.pipe(dt("value")),r.pipe(W(({icons:n,emojis:o})=>[...Object.keys(n.data),...Object.keys(o.data)]))]).pipe(W(([{value:n},o])=>$t.filter(o,n)),ee(n=>r.pipe(W(({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 Dt(e,{index$:r,query$:t}){let n=new ie,o=Et(e).pipe(de(Boolean)),i=re(":scope > :first-child",e);n.pipe(gr(br),Ce(t)).subscribe(([{data:l},{value:c}])=>{c?zt(i,l.length):Ut(i)});let a=re(":scope > :last-child",e);return n.pipe(gr(br),er(()=>qt(a)),ee(({data:l})=>K(Te(...l.slice(0,10)),Te(...l.slice(10)).pipe(lt(10),vt(o),ee(([c])=>Te(...c))))),Ce(t)).subscribe(([l,{value:c}])=>{Wt(a,Nt(l,c))}),Fn(e,{query$:t,index$:r}).pipe(er(n),Ze(()=>n.complete()),W(l=>Mr({ref:e},l)))}function Qt(e){let r=Or(),t=Ot(`${r.base}/overrides/assets/javascripts/iconsearch_index.json`),n=Tr("iconsearch-query",e),o=Tr("iconsearch-result",e),i=_t(n);return K(i,Dt(o,{index$:t,query$:i}))}function Kt(){$(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)}})}Kt();document$.pipe(ee(()=>K(...At("iconsearch").map(e=>Qt(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.c978d37b.min.js.map