1AppRegistry.registerBundle({applicationId:'Hero|1.1.1',bundle: {"en":{"name":"Name","settings":"Settings","hello":"Hello"},"sv":{"name":"Namn","settings":"Inställningar","hello":"Hej"}}}); 2AppRegistry.registerModule({applicationId:'Hero|1.1.1',path:'/main',module:function(define){'use strict';/*! For license information please see main.js.LICENSE.txt */ 3define(["react","react-dom"],function(e,t){return function(){var r={342:function(e,t,r){"use strict";var n=r(398);n.createRoot,t.c=n.hydrateRoot},352:function(e,t,r){e.exports=r(834)()},398:function(e){"use strict";e.exports=t},489:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},834:function(e,t,r){"use strict";var n=r(489);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
3;return r.PropTypes=r,r}},937:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=o(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=o(t,r));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},959:function(t){"use strict";t.exports=e}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,i),a.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){"use strict";i.r(a),i.d(a,{default:function(){return d}});var e=i(959),t=i.n(e),r=i(342),n=i(352),o=i.n(n),s=i(937),c=i.n(s);function u({prefix:r="env",imageHTML:n="",imageSizeStr:i="autoSize"}){const a=(0,e.useRef)(null);return(0,e.useEffect)(()=>{if("autoSize"!==i)return;const e=a.current;if(!e)return;const t=e.querySelector("img");if(!t)return;const r=t.getAttribute("srcset");if(!r)return;const n=function(e){return String(e).split(",").map(e=>e.trim().split(/\s+/)).map(([e,t])=>({url:e,width:parseInt(String(t||"").replace("w",""),10)})).filter(e=>e.url&&Number.isFinite(e.width)).sort((e,t)=>e.width-t.width)}(r);if(!n.length)return;const o=window.devicePixelRatio||1,s=Math.max(1,Math.round((e.clientWidth||0)*o)),c=n.find(e=>e.width>=s)||n[n.length-1];c?.url&&(t.setAttribute("src",c.url),t.removeAttribute("srcset"),t.removeAttribute("sizes"))},[n,i]),t().createElement("div",{ref:a,className:`${r}-hero__image-wrapper`,"data-image-size":i,dangerouslySetInnerHTML:{__html:n}})}const l=e=>e?e.replace(/\n/g,"<br>").replace(/ {2}/g," "):"";var m=({prefix:t="",headingTag:r,heading:n,url:i=""})=>{const a=!!i,o=l(n),s=r||"h1";return e.createElement(s,{className:c()(`${t}-hero__heading`)},a?e.createElement("a",{href:i,className:`${t}-hero__item-link`,dangerouslySetInnerHTML:{__html:o}}):e.createElement("span",{dangerouslySetInnerHTML:{__html:o}}))},f=({prefix:t="",theme:r=!1,heading:n="",headingTag:i,text:a="",link:o,linkText:s,link2:u,linkText2:f,buttonType:p,buttonColor:g,buttonType2:d,buttonColor2:h})=>{const y=l(a),_=s&&o,v=f&&u,S=_||v,b=S?"":o,x=c()({[`${t}-link__items`]:!0,"env-m-horizontal--negative":r,"env-m-horizontal--small":r}),T=c()({[`${t}-hero__item-link`]:!0,[p]:!0,[g]:!0,"env-m-horizontal--small":r}),E=c()({[`${t}-hero__item-link`]:!0,[d]:!0,[h]:!0,"env-m-horizontal--small":r});return e.createElement("div",{className:c()(`${t}-hero__content`)},e.createElement(m,{prefix:t,heading:n,headingTag:i,url:b}),!!a&&e.createElement("p",{className:c()(`${t}-hero__text`,"normal"),dangerouslySetInnerHTML:{__html:y}}),S&&e.createElement("div",{className:x},_&&e.createElement("a",{className:T,href:o},s),v&&e.createElement("a",{className:E,href:u},f)))};const p=({settings:e})=>{const{prefix:r,image:n,imagePosition:i}=e,a=!!n,o=c()({[`${r}-hero`]:!0,[`${r}-hero__hasImage`]:a,[`${r}-hero__${i}`]:a});return t().createElement("div",{className:o},"image-right"===i||"image-bottom"===i?t().createElement(t().Fragment,null,t().createElement(f,e),t().createElement(u,{prefix:r,imageHTML:n,imageSizeStr:e.imageSizeStr})):t().createElement(t().Fragment,null,t().createElement(u,{prefix:r,imageHTML:n,imageSizeStr:e.imageSizeStr}),t().createElement(f,e)))};p.propTypes={settings:o().shape({prefix:o().string.isRequired,heading:o().string.isRequired,headingTag:o().string.isRequired,text:o().string,image:o().string,link:o().string,linkText:o().string,imagePosition:o().string.isRequired}).isRequired};var g=p,d=(t={},n)=>{const i={...t.settings||{}};(0,r.c)(n,e.createElement(g,{settings:i}))}}(),a}()});}});
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.