@hyper.fun/fa-crosshairs
Version:
👉 https://hyper.fun/c/fa-crosshairs/1.3.0
1 lines • 6.22 kB
JavaScript
;(self.webpackChunk=self.webpackChunk||[]).push([["txY32pVDBMaK2vH6-xuPV","1OX8mUcrfswRZzf4Gp36t"],{P9TkC_hOMFWRr5mPRrI7N:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r("ecJZrCUavPQ0qrIs5M2s9"),o=r.n(n),s=r("4bBhMbFEbuJAc-2yCqCUW"),c=r.n(s)()(o());c.push([t.id,"",""]);const a=c},"4bBhMbFEbuJAc-2yCqCUW":t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var c={};if(n)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(c[i]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&c[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),e.push(u))}},e}},ecJZrCUavPQ0qrIs5M2s9:t=>{t.exports=function(t){return t[1]}},"wdiMldxUjXIlh05HI350-":t=>{var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var s={},c=[],a=0;a<t.length;a++){var i=t[a],l=n.base?i[0]+n.base:i[0],u=s[l]||0,f="".concat(l," ").concat(u);s[l]=u+1;var p=r(f),d={css:i[1],media:i[2],sourceMap:i[3],supports:i[4],layer:i[5]};if(-1!==p)e[p].references++,e[p].updater(d);else{var h=o(d,n);n.byIndex=a,e.splice(a,0,{identifier:f,updater:h,references:1})}c.push(f)}return c}function o(t,e){var r=e.domAPI(e);r.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,o){var s=n(t=t||[],o=o||{});return function(t){t=t||[];for(var c=0;c<s.length;c++){var a=r(s[c]);e[a].references--}for(var i=n(t,o),l=0;l<s.length;l++){var u=r(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=i}}},qSJYzWaQQDFUSA_3rEBUz:t=>{var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},hIBS4U5BSYOdkBP9eXzsJ:t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},"2PI8LSfu3YB206IKsqrBd":(t,e,r)=>{t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},"8OOYQLlGO-rHa6sB02Jkl":t=>{t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var s=r.sourceMap;s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},uyvfqfc4lLDWwgU8o7c5H:t=>{t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},uMnkFlEmomnCUxAj52CWK:(t,e,r)=>{r.r(e),r.d(e,{default:()=>M});var n=r("wdiMldxUjXIlh05HI350-"),o=r.n(n),s=r("8OOYQLlGO-rHa6sB02Jkl"),c=r.n(s),a=r("qSJYzWaQQDFUSA_3rEBUz"),i=r.n(a),l=r("2PI8LSfu3YB206IKsqrBd"),u=r.n(l),f=r("hIBS4U5BSYOdkBP9eXzsJ"),p=r.n(f),d=r("uyvfqfc4lLDWwgU8o7c5H"),h=r.n(d),v=r("P9TkC_hOMFWRr5mPRrI7N"),m={};m.styleTagTransform=h(),m.setAttributes=u(),m.insert=i().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=p();o()(v.Z,m);v.Z&&v.Z.locals&&v.Z.locals;var y={d:(t,e)=>{for(var r in e)y.o(e,r)&&!y.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},b={};y.d(b,{Z:()=>g});const C=[["xmlns","http://www.w3.org/2000/svg"],["viewBox","0 0 512 512"]];class g{constructor(t,e){this.container=t;for(let e=0;e<C.length;e++)t.setAttribute(C[e][0],C[e][1]);this.render(e),t.innerHTML='<path d="M500 224h-30.364C455.724 130.325 381.675 56.276 288 42.364V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v30.364C130.325 56.276 56.276 130.325 42.364 224H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h30.364C56.276 381.675 130.325 455.724 224 469.636V500c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-30.364C381.675 455.724 455.724 381.675 469.636 288H500c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zM288 404.634V364c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40.634C165.826 392.232 119.783 346.243 107.366 288H148c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40.634C119.768 165.826 165.757 119.783 224 107.366V148c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40.634C346.174 119.768 392.217 165.757 404.634 224H364c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40.634C392.232 346.174 346.243 392.217 288 404.634zM288 256c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32z" fill="currentColor"></path>'}changed(t){this.render(t)}disconnected(){}render(t){t.attrs.size&&(this.container.setAttribute("width",t.attrs.size),this.container.setAttribute("height",t.attrs.size)),t.attrs.class&&this.container.setAttributeNS(null,"class",t.attrs.class),t.attrs.color&&(this.container.style.fill=t.attrs.color,this.container.style.color=t.attrs.color),function(t,e){for(let r=0,n=Object.keys(e);r<n.length;r++){const o=n[r],s=e[o];"style"!==o?"function"==typeof s?t[o]=function(t){s(t)}:t.setAttribute(o,s):"object"==typeof s?Object.assign(t.style,s):t.style.cssText+=s}}(this.container,t.others)}}g.tag="svg",g.props=[["size","class","color"],[],[]];const M=b.Z}}]);