1_N_E=("object"!==typeof self?self:this.webpackJsonp_N_E="object"!==typeof self?self:this.webpackJsonp_N_E||[]).push([[83],{CQTR:function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return E}));var s,r=n("nKUr"),a=n("xvhg"),o=n("sN8P"),c=n("cMPw"),i=n.n(c),l=n("q1tI"),u=n("qQ3w"),f=n("j3Ko"),T=n("3o63"),_=n("xC0i"),O=n("jUWi"),p=[{label:"Transpile css tags",key:"css",type:T.a.SWITCH},{label:"Transpile styled tags",key:"styled",type:T.a.SWITCH}];function E(){var t=Object(_.a)("object-styles-to-template-literal",{css:!0,styled:!0}),e=Object(a.a)(t,2),n=e[0],c=e[1],E=Object(l.useCallback)((function(t){var e=t.value;return(s=s||Object(u.a)(i.a)).send({value:e,type:f.a.OBJECT_STYLES_TO_TEMPLATE,settings:n})}),[n]),g=Object(l.useCallback)((function(t){var e=t.open,s=t.toggle;return Object(r.jsx)(T.b,{onSubmit:c,initialValues:n,title:"Settings",open:e,toggle:s,formsFields:p})}),[n]);return Object(r.jsx)(o.a,{resultLanguage:"javascript",editorLanguage:"javascript",editorTitle:"Object Styles",resultTitle:"Template Literal",transformer:E,editorSettingsElement:g,resultEditorProps:{topNotifications:function(){return(!n.css||!n.styled)&&Object(r.jsx)(O.a,{intent:"warning",backgroundColor:"#FEF8E7",title:"You have turned off ".concat(n.css?"":"css").concat(n.styled?"":",styled"," tags transpilation. Change it in settings.")})}},settings:n})}},cMPw:function(t,e){t.exports=function(){return new Worker("/_next/static/a5cb98f21a0e5c793c88.worker.js")}},j3Ko:function(t,e,n){"use strict";var s;n.d(e,"a",(function(){return s})),function(t){t[t.JSON_TO_PROPTYPES=1]="JSON_TO_PROPTYPES",t[t.OBJECT_STYLES_TO_TEMPLATE=2]="OBJECT_STYLES_TO_TEMPLATE",t[t.JSON_TO_MOBX_TREE=3]="JSON_TO_MOBX_TREE"}(s||(s={}))},"wB/p":function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/object-styles-to-template-literal",function(){return n("CQTR")}])},xC0i:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("q1tI"),r=n("kiQV"),a="transform:".concat(r.version,":");function o(t,e){return function(t,e){var n=Object(s.useState)((function(){try{var n=window.localStorage.getItem(a+t)||e;return JSON.parse(n)}catch(s){return e}})),r=n[0],o=n[1];return[r,function(e){try{var n=e instanceof Function?e(r):e;o(n),window.localStorage.setItem(a+t,JSON.stringify(n))}catch(s){console.log(s)}}]}("settings:".concat(t),e)}}},[["wB/p",1,2,0,3,5,6]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.