1AppRegistry.registerBundle({applicationId:'wt-announcement-bar|1.1.0',bundle: {"en":{"name":"Name","settings":"Settings","hello":"Hello"},"sv":{"name":"Namn","settings":"Inställningar","hello":"Hej"}}}); 2AppRegistry.registerModule({applicationId:'wt-announcement-bar|1.1.0',path:'/main',module:function(define){'use strict';define(["react","react-dom"],(function(e,n){return function(){var t={703:function(e,n,t){"use strict";var r=t(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,a,c){if(c!==r){var i=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 i.name="Invariant Violation",i}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},697:function(e,n,t){e.exports=t(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},650:function(n){"use strict";n.exports=e},729:function(e){"use strict";e.exports=n}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.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";o.r(a),o.d(a,{default:function(){return p}});var e=o(650),n=o.n(e),t=o(729),r=o.n(t),c=o(697),i=o.n(c);const l=e=>["wt-announcement-bar",`wt-announcement-bar-text-align-${e.textAlign}`,e.isHideable?"wt-announcement-bar--is-hideable":"",e.link?"wt-announcement-bar--has-link":"",e.addButton?"wt-announcement-bar--has-button":"",e.onlyVisibleOnStartPage?"wt-announcement-bar--only-visible-on-startpage":""].join(" "),u=t=>{let{app:r}=t;const[o,a]=(0,e.useState)(!1);(0,e.useEffect)((()=>{localStorage.getItem("wt-announcement-bar-is-hidden")?localStorage.getItem("wt-announcement-bar-version")!==r.version&&a(!0):a(!0)}),[]);const c=e=>{let{children:t,to:r,condition:o}=e;return o&&r?n().createElement("a",{className:"wt-announcement-bar-content wt-announcement-bar-content-link",href:r},t):n().createElement("div",{className:"wt-announcement-bar-content"},t)};return n().createElement(n().Fragment,null,o&&r.publish&&n().createElement("div",{className:l(r)},n().createElement(c,{to:r.link,condition:r.link},n().createElement("div",{className:"wt-announcement-text"},n().createElement("span",null,r.text),r.link&&!r.addButton&&n().createElement("span",null,n().createElement("svg",{width:"20",height:"14",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true",focusable:"false",role:"presentation"},n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.537.808a.5.5 0 01.817-.162l4 4a.5.5 0 010 .708l-4 4a.5.5 0 11-.708-.708L11.793 5.5H1a.5.5 0 010-1h10.793L8.646 1.354a.5.5 0 01-.109-.546z",fill:"currentColor"}))),r.addButton&&n().createElement("span",null,n().createElement("button",{type:"button",className:"wt-announcement-button button-primary-small"},r.buttonText)))),r.isHideable&&n().createElement("div",{className:"wt-announcement-close",onClick:()=>{a(!1),localStorage.setItem("wt-announcement-bar-is-hidden","true"),localStorage.setItem("wt-announcement-bar-version",r.version)}}
2,n().createElement("svg",{fill:"none",focusable:"false"},n().createElement("g",null,n().createElement("path",{d:"M18 18L12 12M12 12L6 6M12 12L18 6M12 12L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))))};u.propTypes={app:i().object,children:i().node,to:i().string,condition:i().bool};var s=u,p=(n,t)=>{r().hydrate(e.createElement(s,{app:n.app}),t)}}(),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.