@hyper.fun/tabler-text-wrap
Version:
👉 https://hyper.fun/c/tabler-text-wrap/1.3.0
1 lines • 5.46 kB
JavaScript
;(self.webpackChunk=self.webpackChunk||[]).push([["F230Mw-2QlVdkNKCGS3af","sIRG4yqaOYKLJFxcIbVWq"],{BEB7PH6eweilCzMemi4Du:(t,e,r)=>{r.d(e,{Z:()=>i});var n=r("RcGGYB6CrtqcnBwX0joyr"),o=r.n(n),s=r("0sOUTMkeBgOK8iQfw3CoK"),a=r.n(s)()(o());a.push([t.id,"",""]);const i=a},"0sOUTMkeBgOK8iQfw3CoK":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 a={};if(n)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(a[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&a[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}},RcGGYB6CrtqcnBwX0joyr:t=>{t.exports=function(t){return t[1]}},"1ABVPZwtXwwTbntABzGbD":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={},a=[],i=0;i<t.length;i++){var c=t[i],l=n.base?c[0]+n.base:c[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var d=r(p),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var h=o(f,n);n.byIndex=i,e.splice(i,0,{identifier:p,updater:h,references:1})}a.push(p)}return a}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 a=0;a<s.length;a++){var i=r(s[a]);e[i].references--}for(var c=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=c}}},Qw0SsRZ7Ent5YZGYdwYeP: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)}},"TQI1XlyrG-b5lYZTSFX_U":t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},"4ICzPxhtGFvsXLyu-hDml":(t,e,r)=>{t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},"68rVil1loWE0zoYZQVSNb":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)}}}},XhjwOOCjK3KekdTiDO_NS: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))}}},"og3h6BkfFt-AxI2KOpAks":(t,e,r)=>{r.r(e),r.d(e,{default:()=>C});var n=r("1ABVPZwtXwwTbntABzGbD"),o=r.n(n),s=r("68rVil1loWE0zoYZQVSNb"),a=r.n(s),i=r("Qw0SsRZ7Ent5YZGYdwYeP"),c=r.n(i),l=r("4ICzPxhtGFvsXLyu-hDml"),u=r.n(l),p=r("TQI1XlyrG-b5lYZTSFX_U"),d=r.n(p),f=r("XhjwOOCjK3KekdTiDO_NS"),h=r.n(f),v=r("BEB7PH6eweilCzMemi4Du"),y={};y.styleTagTransform=h(),y.setAttributes=u(),y.insert=c().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d();o()(v.Z,y);v.Z&&v.Z.locals&&v.Z.locals;var m={d:(t,e)=>{for(var r in e)m.o(e,r)&&!m.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},b={};m.d(b,{Z:()=>g});const w=[["xmlns","http://www.w3.org/2000/svg"],["viewBox","0 0 24 24"]];class g{constructor(t,e){this.container=t;for(let e=0;e<w.length;e++)t.setAttribute(w[e][0],w[e][1]);this.render(e),t.innerHTML='<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <path d="M4 6h16"></path> <path d="M4 18h5"></path> <path d="M4 12h13a3 3 0 0 1 0 6h-4l2-2m0 4l-2-2"></path> </g>'}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 C=b.Z}}]);