1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[47,31,38],{"+Ct2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yupResolver=void 0;const r=n("geiN");t.yupResolver=(e,t={abortEarly:!1})=>async(n,o,a=!1)=>{try{return t.context,{values:await e.validate(n,Object.assign(Object.assign({},t),{context:o})),errors:{}}}catch(i){const e=((e,t)=>Array.isArray(e.inner)&&e.inner.length?e.inner.reduce((e,{path:n,message:r,type:o})=>{const a=e[n]&&e[n].types||{},i=n||o;return Object.assign(Object.assign({},e),i?{[i]:Object.assign(Object.assign({},e[i]||{message:r,type:o}),t?{types:Object.assign(Object.assign({},a),{[o]:a[o]?[...[].concat(a[o]),r]:r})}:{})}:{})},{}):{[e.path]:{message:e.message,type:e.type}})(i,a);return{values:{},errors:r.transformToNestObject(e)}}}},"/QYh":function(e,t,n){"use strict";var r=n("O5Wi"),o=n("zQIG"),a=n("8mBC");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw a}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.__esModule=!0,t.default=void 0;var s,d=(s=n("ERkP"))&&s.__esModule?s:{default:s},f=n("D3Vl"),p=n("4smK");var m=[],h=[],y=!1;function b(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function v(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=b(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function g(e,t){return d.default.createElement(function(e){return e&&e.__esModule?e.default:e}(e),t)}function w(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:g,webpack:null,modules:null},t),r=null;function o(){if(!r){var t=new O(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!y&&"function"===typeof n.webpack){var a=n.webpack();h.push((function(e){var t,n=l(a);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return o()}}catch(i){n.e(i)}finally{n.f()}}))}var i=function(e,t){o();var a=d.default.useContext(p.LoadableContext),i=(0,f.useSubscription)(r);return d.default.useImperativeHandle(t,(function(){return{retry:r.retry}}),[]),a&&Array.isArray(n.modules)&&n.modules.forEach((function(e){a(e)})),d.default.useMemo((function(){return i.loading||i.error?d.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?n.render(i.loaded,e):null}),[e,i])};return i.preload=function(){return o()},i.displayName="LoadableComponent",d.default.forwardRef(i)}var O=function(){return a((function e(t,n){o(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}),[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=c(c({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}])}();function j(e){return w(b,e)}function x(e,t){for(var n=[];e.length;){var r=e.pop();
1n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return x(e,t)}))}j.Map=function(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return w(v,e)},j.preloadAll=function(){return new Promise((function(e,t){x(m).then(e,t)}))},j.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return y=!0,t()};x(h,e).then(n,n)}))},window.__NEXT_PRELOADREADY=j.preloadReady;var _=j;t.default=_},"1xlC":function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return j})),n.d(t,"n",(function(){return x})),n.d(t,"m",(function(){return _})),n.d(t,"l",(function(){return k})),n.d(t,"e",(function(){return S})),n.d(t,"o",(function(){return E})),n.d(t,"j",(function(){return I})),n.d(t,"f",(function(){return D})),n.d(t,"h",(function(){return P})),n.d(t,"d",(function(){return N})),n.d(t,"b",(function(){return T})),n.d(t,"g",(function(){return L})),n.d(t,"c",(function(){return R})),n.d(t,"p",(function(){return z}));var r=n("cxan"),o=n("ERkP"),a=n.n(o),i=n("lN5B"),c=n("T8kG"),l=n("j/s1"),u=n("GkOb"),s=n("VeVw"),d=n.n(s),f=n("LxTm"),p=a.a.createElement,m=l.e.section.withConfig({displayName:"style__DIV",componentId:"sc-18fk52p-0"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:0.375rem 1rem;",";",";",";",";"],(function(e){var t=e.solid,n=e.solidColor;return"D"===t&&n&&"background-color: ".concat(n," !important;")}),(function(e){var t=e.border,n=e.borderColor,r=e.theme;return"I"===t?"border: 3px solid ".concat(n||r.colors.brand.default):"D"===t&&"border: 1px solid ".concat(n||r.colors.bg.border)}),(function(e){var t=e.border;return("I"===t||"D"===t)&&"padding: 0.875rem 1rem"}),Object(u.d)(u.i)),h=(l.e.h3.withConfig({displayName:"style__StyledHeader",componentId:"sc-18fk52p-1"})(["",";background:",";color:#fff;box-sizing:border-box;padding:0.3rem 1rem 0.3rem 1rem;margin-bottom:1rem;font-size:18px;font-weight:600;width:fit-content;"],f.t,(function(e){var t=e.theme.colors;return d()(t.brand.default).isDark()?t.brand.default:t.brand.dark})),l.e.h3.withConfig({displayName:"style__GrayHeader",componentId:"sc-18fk52p-2"})(["",";background:",";color:",";padding:0.3rem 0.5rem 0.3rem 0.5rem;font-size:19px;font-weight:400;border-bottom:2px solid ",";margin-bottom:0.5rem;width:100%;"],f.t,(function(e){return e.theme.colors.bg.wash}),(function(e){return e.theme.colors.text.default}),(function(e){return e.theme.colors.brand.dark})),l.e.div.withConfig({displayName:"style__CardContainer",componentId:"sc-18fk52p-3"})(["",";background-color:",";color:",";width:100%;",""],f.t,(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.text.reverse}),Object(u.d)(u.i,u.g))),y=l.e.div.withConfig({displayName:"style__CardTitle",componentId:"sc-18fk52p-4"})(["",";font-size:26px;font-weight:600;padding:1.5rem;width:75%;@media only screen and (max-width:","){font-size:12px;padding:0.5rem;}"],f.t,f.s.sm),b=l.e.div.withConfig({displayName:"style__IconContainer",componentId:"sc-18fk52p-5"})(["font-size:48px;display:flex;justify-content:flex-end;padding-right:1rem;padding-bottom:1rem;"]),v=l.e.img.withConfig({displayName:"style__IMG",componentId:"sc-18fk52p-6"})(["width:100%;max-width:100%;height:auto;max-height:100%;object-fit:cover;background-color:#f5f5f5;",""],Object(u.d)(u.i,u.g)),g=function(e){var t=Object(o.useState)(!1),n=t[0],a=t[1],i=Object(o.useState)(1),c=(i[0],i[1]);return Object(o.useEffect)((function(){var t=new Image;t.onload=function(){a(!1);var e=t.height/(t.width||1);c(.75<=e&&e<=1.25?1:e>1.25?1.5:.5)},t.onerror=function(){return a(!0)},t.src=e.src}),[e.src]),Object(o.useEffect)((function(){function e(){}return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),n?p(h,e,p(y,null," ",e.alt," "),p(b,null," ")):p(v,Object(r.a)({},e,{onError:function(){return a(!0)}}))},w=Object(l.e)(c.FaRegCalendarAlt).withConfig({displayName:"style__DateIcon",componentId:"sc-18fk52p-7"})(["margin-right:0.25rem;"]),O=Object(l.e)(f.d).withConfig({displayName:"style__DateContent",componentId:"sc-18fk52p-8"})(["",";font-size:12px;font-weight:400;color:",";white-space:nowrap;align-items:center;"],f.t,(function(e){return e.theme.colors.text.secondary})),j=function(e){var t;return p(f.d,{justifyContent:"end",mt:2,mb:1},p(O,null,(e.date||(null===(t=e.children)||void 0===t?void 0:t.find((function(e){return null===e||void 0===e?void 0:e.trim()}))))&&p(w,null),e.date||e.children))},x=l.e.h3.withConfig({displayName:"style__StyledNaslov",componentId:"sc-18fk52p-9"})(["",";color:",";font-size:16px;line-height:21px;font-weight:500;display:block;width:100%;&:hover{color:",";}"],f.t,(function(e){return e.theme.colors.text.alt}),(function(e){var t=e.theme;return Object(i.b)(.15,t.colors.text.alt)})),_=Object(l.e)(x).withConfig({displayName:"style__StyledNadnaslov",componentId:"sc-18fk52p-10"})(["text-transform:uppercase;font-weight:600;margin-bottom:0.5rem;"]),k=Object(l.e)(x).withConfig({displayName:"style__StyledLinkNaslov",componentId:"sc-18fk52p-11"})(["color:",";font-size:16px;&:hover{color:",";}"],(function(e){return e.theme.colors.text.link}),(function(e){var t=e.theme;return Object(i.b)(.15,t.colors.text.link)})),C=l.e.div.withConfig({displayName:"style__StyledLinkVise",componentId:"sc-18fk52p-12"})(["",";color:",";font-size:16px;line-height:23px;border-radius:0.75rem;font-weight:500;margin-top:0.125rem;display:flex;align-items:center;text-transform:capitalize;&:hover{cursor:pointer;}"],f.t,(function(e){return e.theme.colors.text.link})),S=function(e){var t=e.children;return p(C,null,t)},E=(Object(l.e)(c.FaArrowRight).withConfig({displayName:"style__Icon",componentId:"sc-18fk52p-13"})(["vertical-align:baseline;margin-left:0.5rem;"]),l.e.div.withConfig({displayName:"style__StyledDatePanel",componentId:"sc-18fk52p-14"})([""," background-color:",";color:",";height:100%;width:100%;font-weight:600;font-size:12px;display:flex;justify-content:center;align-content:center;flex-direction:column;text-align:center;padding-top:0.5rem;padding-bottom:0.5rem;"],f.t,(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.text.reverse})),l.e.span.withConfig({displayName:"style__StyledSazetak",componentId:"sc-18fk52p-15"})(["",";color:",";line-height:",";font-weight:400;font-size:12px;margin-top:3px;display:block;width:100%;overflow-wrap:anywhere;"],f.t,(function(e){return e.theme.colors.text.secondary}),(function(e){return e.theme.lineHeights.body}))),I=Object(l.e)(f.b).withConfig({displayName:"style__StyledDiv
1ider",componentId:"sc-18fk52p-16"})(["border-top:1px solid #ddd;width:100%;margin-bottom:0.75rem;"]),D=Object(l.e)(I).withConfig({displayName:"style__LinksDivider",componentId:"sc-18fk52p-17"})(["border-top:1px solid #ddd;width:100%;margin-top:0.375rem;margin-bottom:0rem;"]),P=l.e.div.withConfig({displayName:"style__NaslovGrupe",componentId:"sc-18fk52p-18"})(["",";width:100%;text-align:left;color:",";font-weight:600;font-size:18px;margin-top:0.75rem;padding-bottom:0.5rem;&:hover{color:",";}"],f.v,(function(e){return e.theme.colors.text.alt}),(function(e){var t=e.theme;return Object(i.b)(.15,t.colors.text.alt)})),N=l.e.h3.withConfig({displayName:"style__HeaderWithDivider",componentId:"sc-18fk52p-19"})(["",";color:",";font-style:normal;font-weight:normal;font-size:24px;line-height:34px;"],f.t,(function(e){return e.theme.colors.text.default})),T=l.e.div.withConfig({displayName:"style__HeaderLinkovi",componentId:"sc-18fk52p-20"})(["",";font-weight:600;font-size:22px;line-height:29px;color:",";margin-bottom:0.75rem;"],f.t,(function(e){return e.theme.colors.text.default})),L=Object(l.e)(f.m).withConfig({displayName:"style__List",componentId:"sc-18fk52p-21"})(["display:block;"]),R=l.e.div.withConfig({displayName:"style__HeaderSolid",componentId:"sc-18fk52p-22"})(["",";display:flex;align-items:center;width:100%;font-size:21px;font-weight:600;margin-bottom:1rem;color:",";border-bottom:2px solid ",";width:fit-content;&:hover{}"],f.t,(function(e){return e.theme.colors.text.alt}),(function(e){return e.theme.colors.brand.dark})),z=.25},"2lDr":function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(n("ERkP")),a=u(n("aWzz")),i=n("Faf3"),c=u(n("O94r")),l=u(n("BflE"));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(u,e);var t,n,r,a=f(u);function u(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(m(e=a.call.apply(a,[this].concat(n))),"handleRequestHide",(function(t){return function(){var n=e.props.onRequestHide;n&&n(t)}})),e}return t=u,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.notifications,r=t.enterTimeout,a=t.leaveTimeout,u=(0,c.default)("notification-container",{"notification-container-empty":0===n.length}),s=n.map((function(t){var n=t.id||(new Date).getTime();return(o.default.createElement(i.CSSTransition,{key:n,classNames:"notification",timeout:{enter:r,exit:a}},o.default.createElement(l.default,{type:t.type,title:t.title,message:t.message,timeOut:t.timeOut,onClick:t.onClick,onRequestHide:e.handleRequestHide(t)})))}));return o.default.createElement("div",{className:u},o.default.createElement(i.TransitionGroup,null,s))}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.default.Component);y(b,"propTypes",{notifications:a.default.array,onRequestHide:a.default.func,enterTimeout:a.default.number,leaveTimeout:a.default.number}),y(b,"defaultProps",{notifications:[],onRequestHide:function(){},enterTimeout:400,leaveTimeout:400});var v=b;t.default=v},"4smK":function(e,t,n){"use strict";var r;t.__esModule=!0,t.LoadableContext=void 0;var o=((r=n("ERkP"))&&r.__esModule?r:{default:r}).default.createContext(null);t.LoadableContext=o},"6w+j":function(e,t,n){(function(t){var n="Expected a function",r="__lodash_hash_undefined__",o="[object Function]",a="[object GeneratorFunction]",i=/^\[object .+?Constructor\]$/,c="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,u=c||l||Function("return this")();var s=Array.prototype,d=Function.prototype,f=Object.prototype,p=u["__core-js_shared__"],m=function(){var e=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||"");
1return e?"Symbol(src)_1."+e:""}(),h=d.toString,y=f.hasOwnProperty,b=f.toString,v=RegExp("^"+h.call(y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=s.splice,w=E(u,"Map"),O=E(Object,"create");function j(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function k(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!==n&&r!==r)return o;return-1}function C(e){return!(!D(e)||(t=e,m&&m in t))&&(function(e){var t=D(e)?b.call(e):"";return t==o||t==a}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?v:i).test(function(e){if(null!=e){try{return h.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e));var t}function S(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function E(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return C(n)?n:void 0}function I(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(n);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i),i};return r.cache=new(I.Cache||_),r}function D(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}j.prototype.clear=function(){this.__data__=O?O(null):{}},j.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},j.prototype.get=function(e){var t=this.__data__;if(O){var n=t[e];return n===r?void 0:n}return y.call(t,e)?t[e]:void 0},j.prototype.has=function(e){var t=this.__data__;return O?void 0!==t[e]:y.call(t,e)},j.prototype.set=function(e,t){return this.__data__[e]=O&&void 0===t?r:t,this},x.prototype.clear=function(){this.__data__=[]},x.prototype.delete=function(e){var t=this.__data__,n=k(t,e);return!(n<0)&&(n==t.length-1?t.pop():g.call(t,n,1),!0)},x.prototype.get=function(e){var t=this.__data__,n=k(t,e);return n<0?void 0:t[n][1]},x.prototype.has=function(e){return k(this.__data__,e)>-1},x.prototype.set=function(e,t){var n=this.__data__,r=k(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},_.prototype.clear=function(){this.__data__={hash:new j,map:new(w||x),string:new j}},_.prototype.delete=function(e){return S(this,e).delete(e)},_.prototype.get=function(e){return S(this,e).get(e)},_.prototype.has=function(e){return S(this,e).has(e)},_.prototype.set=function(e,t){return S(this,e).set(e,t),this},I.Cache=_,e.exports=I}).call(this,n("fRV1"))},AU4o:function(e,t,n){"use strict";var r=n("O5Wi");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.__esModule=!0,t.noSSR=s,t.default=function(e,t){var n=c.default,r={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?r.loader=function(){return e}:"function"===typeof e?r.loader=e:"object"===typeof e&&(r=a(a({},r),e));if(r=a(a({},r),t),"object"===typeof e&&!(e instanceof Promise)&&(e.render&&(r.render=function(t,n){return e.render(n,t)}),e.modules)){n=c.default.Map;var o={},i=e.modules();
1Object.keys(i).forEach((function(e){var t=i[e];"function"!==typeof t.then?o[e]=t:o[e]=function(){return t.then((function(e){return e.default||e}))}})),r.loader=o}r.loadableGenerated&&delete(r=a(a({},r),r.loadableGenerated)).loadableGenerated;if("boolean"===typeof r.ssr){if(!r.ssr)return delete r.ssr,s(n,r);delete r.ssr}return n(r)};var i=l(n("ERkP")),c=l(n("/QYh"));function l(e){return e&&e.__esModule?e:{default:e}}var u=!1;function s(e,t){if(delete t.webpack,delete t.modules,!u)return e(t);var n=t.loading;return function(){return i.default.createElement(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}}},BflE:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(n("ERkP")),a=c(n("aWzz")),i=c(n("O94r"));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(c,e);var t,n,r,a=s(c);function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(f(e=a.call.apply(a,[this].concat(n))),"componentDidMount",(function(){var t=e.props.timeOut;0!==t&&(e.timer=setTimeout(e.requestHide,t))})),m(f(e),"componentWillUnmount",(function(){e.timer&&clearTimeout(e.timer)})),m(f(e),"handleClick",(function(){var t=e.props.onClick;t&&t(),e.requestHide()})),m(f(e),"requestHide",(function(){var t=e.props.onRequestHide;t&&t()})),e}return t=c,(n=[{key:"render",value:function(){var e=this.props,t=e.type,n=e.message,r=this.props.title,a=(0,i.default)(["notification","notification-".concat(t)]);return r=r?o.default.createElement("h4",{className:"title"},r):null,o.default.createElement("div",{className:a,onClick:this.handleClick},o.default.createElement("div",{className:"notification-message",role:"alert"},r,o.default.createElement("div",{className:"message"},n)))}}])&&l(t.prototype,n),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.default.Component);m(h,"propTypes",{type:a.default.oneOf(["info","success","warning","error"]),title:a.default.node,message:a.default.node,timeOut:a.default.number,onClick:a.default.func,onRequestHide:a.default.func}),m(h,"defaultProps",{type:"info",title:null,message:null,timeOut:5e3,onClick:function(){},onRequestHide:function(){}});var y=h;t.default=y},CRqx:function(e,t,n){"use strict";var r=n("ERkP"),o=n.n(r),a=n("7xIC"),i=n("T8kG"),c=n("LxTm"),l=n("zjfJ"),u=n("1xlC"),s=n("j/s1"),d=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-iyse8k-0"})(["box-sizing:border-box;"]),f=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-4j4h2t-0"})(["box-sizing:border-box;"]),p=Object(s.e)(u.n).withConfig({displayName:"style__Naslov",componentId:"sc-4j4h2t-1"})(["margin-bottom:0.5rem;"]),m=n("fiWp"),h=o.a.createElement,y=function(e){var t,n=e.data,r=e.noMore,o=Object(a.useRouter)();return h(f,null,h(u.g,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return h(c.l,{as:"/".concat(o.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},h(u.m,null," ",e.nadnaslov," "),h(p,null," ",e.naslov," "),h(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id),alt:e.naslov}),h(u.o,null," ",e.sazetak," "),h(u.i,{date:e.datum}),t==n.data.length-1||h(u.j,null))}))),h(c.l,{href:Object(m.a)(n.url)},h(u.e,null," ",r||n.link," ")))},b=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1rwcf39-0"})(["box-sizing:border-box;"]),v=o.a.createElement,g=function(e){var t,n=e.data,r=e.noMore,i=Object(a.useRouter)();return v(b,null,v(u.g,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return v(c.l,{as:"/".concat(i.query.insId,"/article/").concat(e.id),to:"/[insId]/article/[id]",key:e.id},e.rb<=2?v(c.d,{flexWrap:"wrap",alignItems:"start"},v(c.c,{width:u.p,px:1},v(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/thumbn
1ail/").concat(e.id),alt:e.naslov})),v(c.c,{width:1-u.p,px:1},v(u.n,null," ",e.naslov," "),v(u.i,{date:e.datum}),v(u.o,null," ",e.sazetak," "))):v(o.a.Fragment,null,v(u.n,null," ",e.naslov," "),v(u.i,{date:e.datum})),t==n.data.length-1||v(u.j,null))}))),v(c.l,{href:Object(m.a)(n.url)},v(u.e,null," ",r||n.link," ")))},w=o.a.createElement;function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=function(e){var t=e.data,n=(Object(a.useRouter)(),j(j({},t),{},{data:t.data.slice(0,1)})),r=j(j({},t),{},{data:t.data.slice(1,t.data.length).map((function(e){return j(j({},e),{},{rb:e.rb-1})}))});return w(d,null,w(c.d,{flexWrap:"wrap",alignItems:"start"},w(c.c,{width:[1,1,.55],pr:[0,0,4]},w(y,{data:n,noMore:!0})),w(c.c,{width:[1,1,.45]},w(g,{data:r,noMore:!0}))),w(c.l,{href:Object(m.a)(t.url)},w(u.e,null," ",t.link," ")))},_=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1kimv4w-0"})(["box-sizing:border-box;"]),k=o.a.createElement,C=function(e){var t=e.data,n=t.data.map((function(e,n){return n%2==0?t.data.slice(n,n+2):null})).filter((function(e){return null===e||void 0===e?void 0:e.length})),r=Object(a.useRouter)();return k(_,null,n.map((function(e,t){return k(c.d,{flexWrap:"wrap"},null===e||void 0===e?void 0:e.map((function(e,t){return k(c.c,{width:[1,1,.5],pr:[0,0,t%2==0?3:0],pl:[0,0,t%2==0?3:0],pt:3},k(c.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},k(u.m,null," ",e.nadnaslov," "),k(u.n,null," ",e.naslov," "),k(u.i,{date:e.datum})))})),t==n.length-1||k(u.j,null))})),k(c.l,{href:Object(m.a)(t.url)},k(u.e,null," ",t.link," ")))},S=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-11s8hx8-0"})(["box-sizing:border-box;"]),E=s.e.div.withConfig({displayName:"style__StyledDateNaslov",componentId:"sc-11s8hx8-1"})(["",";color:",";font-size:13px;font-weight:700;text-shadow:0 0 0 ",";text-align:center;margin-bottom:0.25rem;"],c.t,(function(e){return e.theme.colors.text.alt}),(function(e){return e.theme.colors.text.alt})),I=(Object(s.e)(c.b).withConfig({displayName:"style__DateDivider",componentId:"sc-11s8hx8-2"})(["border-top:2px solid ",";width:100%;"],(function(e){return e.theme.colors.brand.alt})),s.e.button.withConfig({displayName:"style__IconButton",componentId:"sc-11s8hx8-3"})(["background-color:",";color:",";font-size:30px;margin-left:0.5rem;margin-right:0.5rem;display:flex;align-items:center;&:hover{cursor:pointer;}"],(function(e){return e.theme.colors.bg.default}),(function(e){return e.theme.colors.text.alt}))),D=s.e.div.withConfig({displayName:"style__NoData",componentId:"sc-11s8hx8-4"})(["",";color:",";font-size:12px;font-weight:600;width:100%;text-shadow:0 0 0 ",";text-align:center;"],c.t,(function(e){return e.theme.colors.text.alt}),(function(e){return e.theme.colors.text.alt})),P=n("ggb3"),N=n.n(P),T=o.a.createElement,L=function(e){var t=e.data,n=Object(r.useState)({pocetak:"",kraj:""}),o=n[0],l=n[1],s=Object(r.useState)(t.data),d=s[0],f=s[1],p=Object(r.useState)(0),h=p[0],y=p[1],b=Object(a.useRouter)();return Object(r.useEffect)((function(){N.a.all([N.a.get("".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/main/data?template=").concat(t.templateGrupe,"&id=").concat(t.idGrupe,"&brojVijesti=").concat(t.brojVijesti,"&diff=").concat(h)),N.a.get("".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/main/pocetak-kraj?template=").concat(t.templateGrupe,"&diff=").concat(h))]).then(N.a.spread((function(e,t){f(e.data),l(t.data),console.log(t)}))).catch((function(e){return console.log(e)}))}),[h]),T(S,null,T(c.d,{width:1,alignItems:"center",justifyContent:"center",mb:4,mt:2},T(I,{onClick:function(){return y(h-1)}},T(i.FaCaretLeft,null)),T(E,null,T(c.d,null,T(c.c,{mx:1}," ",T(i.FaRegCalendarAlt,null)," "),T(c.c,{mx:1}," ",o.pocetak," "),T(c.c,{mx:1}," ",T(i.FaLongArrowAltRight,null)," "),T(c.c,{mx:1}," ",o.kraj," "))),T(I,{onClick:function(){return y(h+1)}},T(i.FaCaretRight,null))),T(c.m,null,null===d||void 0===d?void 0:d.map((function(e,t){return T(c.l,{as:"/".concat(b.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},T(c.d,{flexWrap:"wrap",justifyContent:"space-between"},T(c.c,{w:1,px:1},T(u.n,null," ",e.naslov," ")),T(c.c,{px:1},T(u.i,null," ",e.datum," "))),t==d.length-1||T(u.j,null))})),0==d.length&&T(D,null,"Nema vijesti")),T(c.l,{href:Object(m.a)(t.url)},T(u.e,null," ",t.link," ")))},R=n("HbGN"),z=n("cxan"),A=n("aWzz"),F=n.n(A);function M(){return Array.prototype.slice.call(arguments).reduce((function(e,t){return e.concat(t)}),[]).filter((function(e){return"string"===typeof e})).join(" ")}var W=n("6w+j"),q=n.n(W);function Y(e){return JSON.stringify(e)}var V=q()((function(e){var t,n=void 0===e?{}:e,r=n.useFallbackLocale,o=void 0===r||r,a=n.fallbackLocale,i=void 0===a?"en-US":a,c=[];if("undefined"!==typeof window){var l=window.navigator;c=c.concat(l.languages,l.language,l.userLanguage,l.browserLanguage,l.systemLanguage)}return o&&c.push(i),function(e){return e.map((function(e){if(!e||-1===e.indexOf("-")||e.toLowerCase()!==e)return e;var t=e.split("-");return t[0]+"-"+t[1].toUpperCase()}))}((t=c).filter((function(e,n){return e&&t.indexOf(e)===n})))}),Y);var G=q()((function(e){return V(e)[0]||null}),Y),H=G;function B(e,t,n){return function(r,o){void 0===o&&(o=n);var a=e(r)+o;return t(a)}}function U(e){return function(t){return new Date(e(t).getTime()-1)}}function X(e,t){return function(n){return[e(n),t(n)]}}function K(e){if(e instanceof Date)return e.getFullYear();if("number"===typeof e)return e;var t=parseInt(e,10);if("string"===typeof e&&!isNaN(t))return t;throw new Error("Failed to get year from date: ".concat(e,"."))}function Q(e){if(e instanceof Date)return e.getMonth();throw new Error("Failed to get month from date: ".concat(e,"."))}function J(e){if(e instanceof Date)return e.getDate();throw new Error("Failed to get year from date: ".concat(e,"."))}function Z(e){var t=K(e),n=t+(1-t)%100,r=new Date;return r.setFullYear(n,0,1),r.setHours(0,0,0,0),r}var $=B(K,Z,-100),ee=B(K,Z,100),te=U(ee),ne=B(K,te,-100),re=(B(K,te,100),X(Z,te));function oe(e){var t=K(e),n=t+(1-t)%10,r=new Date;return r.setFullYear(n,0,1),r.setHours(0,0,0,0),r}var ae=B(K,oe,-10),ie=B(K,oe,10),ce=U(ie),le=B(K,ce,-10),ue=(B(K,ce,10),X(oe,ce));function se(e){var t=K(e),n=new Date;return n.setFullYear(t,0,1),n.setHours(0,0,0,0),n}var de=B(K,se,-1),fe=B(K,se,1),pe=U(fe),me=B(K,pe,-1),he=(B(K,pe,1),X(se,pe));function ye(e,t){return function(n,r){void 0===r&&(r=t);var o=K(n),a=Q(n)+r,i=new Date;return i.setFullYear(o,a,1),i.setHours(0,0,0,0),e(i)}}function be(e){var t=K(e),n=Q(e),r=new Date;return r.setFullYear(t,n,1),r.setHours(0,0,0,0),r}var ve=ye(be,-1),ge=ye(be,1),we=U(ge),Oe=ye(we,-1),je=(ye(we,1),X(be,we));function xe(e,t){return function(n,r){void 0===r&&(r=t);var o=K(n),a=Q(n),i=J(n)+r,c=new Date;return c.setFullYear(o,a,i),c.setHours(0,0,0,0),e(c)}}function _e(e){var t=K(e),n=Q(e),r=J(e),o=new Date;return o.setFullYear(t,n,r),o.setHours(0,0,0,0),o}xe(_e,-1);var ke,Ce=U(xe(_e,1)),Se=(xe(Ce,-1),xe(Ce,1),X(_e,Ce));function Ee(e){return J(we(e))}function Ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pe,Ne={ARABIC:"Arabic",HEBREW:"Hebrew",ISO_8601:"ISO 8601",US:"US"},Te=(De(ke={},Ne.US,["en-CA","en-US","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-SV","es-VE","pt-B
1R"]),De(ke,Ne.ARABIC,["ar","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-OM","ar-QA","ar-SA","ar-SD","ar-SY","ar-YE","dv","dv-MV","ps","ps-AR"]),De(ke,Ne.HEBREW,["he","he-IL"]),ke),Le=(Pe=Array(7),function(e){if(Array.isArray(e))return Ie(e)}(Pe)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(Pe)||function(e,t){if(e){if("string"===typeof e)return Ie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ie(e,t):void 0}}(Pe)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e,t){return t})),Re=new Map;function ze(e){return function(t,n){return function(e){return function(t,n){var r=t||H();Re.has(r)||Re.set(r,new Map);var o=Re.get(r);return o.has(e)||o.set(e,new Intl.DateTimeFormat(r,e).format),o.get(e)(n)}}(e)(t,function(e){var t=new Date(e);return new Date(t.setHours(12))}(n))}}ze({day:"numeric",month:"numeric",year:"numeric"});var Ae=ze({day:"numeric"}),Fe=ze({day:"numeric",month:"long",year:"numeric"}),Me=ze({month:"long"}),We=ze({month:"long",year:"numeric"}),qe=ze({weekday:"short"}),Ye=ze({weekday:"long"}),Ve=ze({year:"numeric"}),Ge=Le[0],He=Le[5],Be=Le[6];function Ue(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ne.ISO_8601,n=e.getDay();switch(t){case Ne.ISO_8601:return(n+6)%7;case Ne.ARABIC:return(n+1)%7;case Ne.HEBREW:case Ne.US:return n;default:throw new Error("Unsupported calendar type.")}}function Xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ne.ISO_8601,n=K(e),r=Q(e),o=e.getDate()-Ue(e,t);return new Date(n,r,o)}function Ke(e,t){switch(e){case"century":return Z(t);case"decade":return oe(t);case"year":return se(t);case"month":return be(t);case"day":return _e(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function Qe(e,t){switch(e){case"century":return ee(t);case"decade":return ie(t);case"year":return fe(t);case"month":return ge(t);default:throw new Error("Invalid rangeType: ".concat(e))}}var Je=function(e,t){switch(e){case"decade":return ae(t,-100);case"year":return de(t,-10);case"month":return ve(t,-12);default:throw new Error("Invalid rangeType: ".concat(e))}},Ze=function(e,t){switch(e){case"decade":return ie(t,100);case"year":return fe(t,10);case"month":return ge(t,12);default:throw new Error("Invalid rangeType: ".concat(e))}};function $e(e,t){switch(e){case"century":return te(t);case"decade":return ce(t);case"year":return pe(t);case"month":return we(t);case"day":return Ce(t);default:throw new Error("Invalid rangeType: ".concat(e))}}var et=function(e,t){switch(e){case"decade":return le(t,-100);case"year":return me(t,-10);case"month":return Oe(t,-12);default:throw new Error("Invalid rangeType: ".concat(e))}};function tt(e,t){switch(e){case"century":return re(t);case"decade":return ue(t);case"year":return he(t);case"month":return je(t);case"day":return Se(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ve;return(arguments.length>2?arguments[2]:void 0).map((function(n){return t(e,n)})).join(" \u2013 ")}function rt(e,t,n){return nt(e,t,ue(n))}function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ne.ISO_8601,n=e.getDay();switch(t){case Ne.ARABIC:case Ne.HEBREW:return n===He||n===Be;case Ne.ISO_8601:case Ne.US:return n===Be||n===Ge;default:throw new Error("Unsupported calendar type.")}}function at(e){return(at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var it=Object.values(Ne),ct=["century","decade","year","month"],lt=F.a.oneOf(it),ut=F.a.oneOfType([F.a.string,F.a.arrayOf(F.a.string)]),st=function(e,t,n){var r=e[t];if(!r)return null;if(!(r instanceof Date))return new Error("Invalid prop `".concat(t,"` of type `").concat(at(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var o=e.maxDate;return o&&r>o?new Error("Invalid prop `".concat(t,"` of type `").concat(at(r),"` supplied to `").concat(n,"`, minDate cannot be larger than maxDate.")):null},dt=function(e,t,n){var r=e[t];if(!r)return null;if(!(r instanceof Date))return new Error("Invalid prop `".concat(t,"` of type `").concat(at(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var o=e.minDate;return o&&r<o?new Error("Invalid prop `".concat(t,"` of type `").concat(at(r),"` supplied to `").concat(n,"`, maxDate cannot be smaller than minDate.")):null},ft=F.a.oneOfType([F.a.func,F.a.shape({current:F.a.any})]),pt=F.a.oneOfType([F.a.instanceOf(Date),F.a.arrayOf(F.a.instanceOf(Date))]),mt=F.a.arrayOf(F.a.oneOf(ct)),ht=function(e,t,n){var r=e[t],o=e.views||ct;return void 0!==r&&-1===o.indexOf(r)?new Error("Invalid prop `".concat(t,"` of value `").concat(r,"` supplied to `").concat(n,"`, expected one of [").concat(o.map((function(e){return'"'.concat(e,'"')})).join(", "),"].")):null};ht.isRequired=function(e,t,n){var r=e[t];return r?ht(e,t,n):new Error("The prop `".concat(t,"` is marked as required in `").concat(n,"`, but its value is `").concat(r,"`."))};var yt={activeStartDate:F.a.instanceOf(Date).isRequired,hover:F.a.instanceOf(Date),locale:F.a.string,maxDate:dt,minDate:st,onClick:F.a.func,onMouseOver:F.a.func,tileClassName:F.a.oneOfType([F.a.func,ut]),tileContent:F.a.oneOfType([F.a.func,F.a.node]),value:pt,valueType:F.a.string},bt={activeStartDate:F.a.instanceOf(Date).isRequired,classes:F.a.arrayOf(F.a.string).isRequired,date:F.a.instanceOf(Date).isRequired,locale:F.a.string,maxDate:dt,minDate:st,onClick:F.a.func,onMouseOver:F.a.func,style:F.a.objectOf(F.a.oneOfType([F.a.string,F.a.number])),tileClassName:F.a.oneOfType([F.a.func,ut]),tileContent:F.a.oneOfType([F.a.func,F.a.node]),tileDisabled:F.a.func},vt="react-calendar__navigation";function gt(e){var t=e.activeStartDate,n=e.drillUp,r=e.formatMonthYear,a=void 0===r?We:r,i=e.formatYear,c=void 0===i?Ve:i,l=e.locale,u=e.maxDate,s=e.minDate,d=e.navigationAriaLabel,f=void 0===d?"":d,p=e.navigationAriaLive,m=e.n
1avigationLabel,h=e.next2AriaLabel,y=void 0===h?"":h,b=e.next2Label,v=void 0===b?"\xbb":b,g=e.nextAriaLabel,w=void 0===g?"":g,O=e.nextLabel,j=void 0===O?"\u203a":O,x=e.prev2AriaLabel,_=void 0===x?"":x,k=e.prev2Label,C=void 0===k?"\xab":k,S=e.prevAriaLabel,E=void 0===S?"":S,I=e.prevLabel,D=void 0===I?"\u2039":I,P=e.setActiveStartDate,N=e.showDoubleView,T=e.view,L=e.views.indexOf(T)>0,R="century"!==T,z=function(e,t){switch(e){case"century":return $(t);case"decade":return ae(t);case"year":return de(t);case"month":return ve(t);default:throw new Error("Invalid rangeType: ".concat(e))}}(T,t),A=R&&Je(T,t),F=Qe(T,t),M=R&&Ze(T,t),W=function(){if(z.getFullYear()<0)return!0;var e=function(e,t){switch(e){case"century":return ne(t);case"decade":return le(t);case"year":return me(t);case"month":return Oe(t);default:throw new Error("Invalid rangeType: ".concat(e))}}(T,t);return s&&s>=e}(),q=R&&function(){if(A.getFullYear()<0)return!0;var e=et(T,t);return s&&s>=e}(),Y=u&&u<F,V=R&&u&&u<M;function H(e){var t=function(){switch(T){case"century":return function(e,t,n){return nt(e,t,re(n))}(l,c,e);case"decade":return rt(l,c,e);case"year":return c(l,e);case"month":return a(l,e);default:throw new Error("Invalid view: ".concat(T,"."))}}();return m?m({date:e,label:t,locale:l||G(),view:T}):t}return o.a.createElement("div",{className:vt},null!==C&&R&&o.a.createElement("button",{"aria-label":_,className:"".concat(vt,"__arrow ").concat(vt,"__prev2-button"),disabled:q,onClick:function(){P(A,"prev2")},type:"button"},C),null!==D&&o.a.createElement("button",{"aria-label":E,className:"".concat(vt,"__arrow ").concat(vt,"__prev-button"),disabled:W,onClick:function(){P(z,"prev")},type:"button"},D),function(){var e="".concat(vt,"__label");return(o.a.createElement("button",{"aria-label":f,"aria-live":p,className:e,disabled:!L,onClick:n,style:{flexGrow:1},type:"button"},o.a.createElement("span",{className:"".concat(e,"__labelText ").concat(e,"__labelText--from")},H(t)),N&&o.a.createElement(o.a.Fragment,null,o.a.createElement("span",{className:"".concat(e,"__divider")}," \u2013 "),o.a.createElement("span",{className:"".concat(e,"__labelText ").concat(e,"__labelText--to")},H(F)))))}(),null!==j&&o.a.createElement("button",{"aria-label":w,className:"".concat(vt,"__arrow ").concat(vt,"__next-button"),disabled:Y,onClick:function(){P(F,"next")},type:"button"},j),null!==v&&R&&o.a.createElement("button",{"aria-label":y,className:"".concat(vt,"__arrow ").concat(vt,"__next2-button"),disabled:V,onClick:function(){P(M,"next2")},type:"button"},v))}gt.propTypes={activeStartDate:F.a.instanceOf(Date).isRequired,drillUp:F.a.func.isRequired,formatMonthYear:F.a.func,formatYear:F.a.func,locale:F.a.string,maxDate:F.a.instanceOf(Date),minDate:F.a.instanceOf(Date),navigationAriaLabel:F.a.string,navigationAriaLive:F.a.string,navigationLabel:F.a.func,next2AriaLabel:F.a.string,next2Label:F.a.node,nextAriaLabel:F.a.string,nextLabel:F.a.node,prev2AriaLabel:F.a.string,prev2Label:F.a.node,prevAriaLabel:F.a.string,prevLabel:F.a.node,setActiveStartDate:F.a.func.isRequired,showDoubleView:F.a.bool,view:ht.isRequired,views:mt.isRequired};var wt=["children","className","direction","count","offset","style","wrap"];function Ot(){return(Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function jt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(n),!0).forEach((function(t){_t(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kt(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ct(e){return"".concat(e,"%")}function St(e){var t=e.children,n=e.className,r=e.direction,a=e.count,i=e.offset,c=e.style,l=e.wrap,u=kt(e,wt);return(o.a.createElement("div",Ot({className:n,style:xt({display:"flex",flexDirection:r,flexWrap:l?"wrap":"no-wrap"},c)},u),o.a.Children.map(t,(function(e,t){return o.a.cloneElement(e,xt(xt({},e.props),{},{style:{flexBasis:Ct(100/a),flexShrink:0,flexGrow:0,overflow:"hidden",marginLeft:i&&0===t?Ct(100*i/a):null}}))}))))}function Et(e){return function(e){if(Array.isArray(e))return It(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return It(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return It(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function It(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dt(e,t){return t[0]<=e&&t[1]>=e}function Pt(e,t){return Dt(e[0],t)||Dt(e[1],t)}function Nt(e,t,n){var r=[];if(Pt(t,e)){r.push(n);var o=Dt(e[0],t),a=Dt(e[1],t);o&&r.push("".concat(n,"Start")),a&&r.push("".concat(n,"End")),o&&a&&r.push("".concat(n,"BothEnds"))}return r}function Tt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.value,n=e.valueType,r=e.date,o=e.dateType,a=e.hover,i="react-calendar__tile",c=[i];if(!r)return c;if(!Array.isArray(r)&&!o)throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var l=new Date,u=Array.isArray(r)?r:tt(o,r);if(Dt(l,u)&&c.push("".concat(i,"--now")),!t)return c;if(!Array.isArray(t)&&!n)throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var s,d,f=Array.isArray(t)?t:tt(n,t);d=u,(s=f)[0]<=d[0]&&s[1]>=d[1]?c.push("".concat(i,"--active")):Pt(f,u)&&c.push("".concat(i,"--hasActive"));var p=Nt(f,u,"".concat(i,"--range"));c.push.apply(c,Et(p));var m=[].concat(t);if(a&&1===m.length){var h=Nt(a>f[0]?[f[0],a]:[a,f[0]],u,"".concat(i,"--hover"));c.push.apply(c,Et(h))}return c}St.propTypes={children:F.a.node,className:F.a.string,count:F.a.number.isRequired,direction:F.a.string,offset:F.a.number,style:F.a.objectOf(F.a.oneOfType([F.a.string,F.a.number])),wrap:F.a.bool};var Lt=["className","count","dateTransform","dateType","end","hover","offset","start","step","tile","value","valueType"];function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Rt(Object(n),!0).forEach((function(t){At(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ft(){return(Ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Mt(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Wt(e){for(var t=e.className,n=e.count,r=void 0===n?3:n,a=e.dateTransform,i=e.dateType,c=e.end,l=e.hover,u=e.offset,s=e.start,d=e.step,f=void 0===d?1:d,p=e.tile,m=e.value,h=e.valueType,y=Mt(e,Lt),b=[],v=s;v<=c;v+=f){var g=a(v);b.push(o.a.createElement(p,Ft({key:g.getTime(),classes:Tt({value:m,valueType:h,date:g,dateType:i,hover:l}),date:g,point:v},y)))}return(o.a.createElement(St,{className:t,count:r,offset:u,wrap:!0},b))}function qt(e){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(n),!0).forEach((function(t){Qt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ht(e,t){return(Ht=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bt(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kt(e);if(t){var o=Kt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ut(this,n)}}function Ut(e,t){if(t&&("object"===qt(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Xt(e)}function Xt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kt(e){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jt(e,t){return e&&!t||!e&&t||e&&t&&e.getTime()!==t.getTime()}function Zt(e,t){var n=e.activeStartDate,r=e.date,o=e.view;return"function"===typeof t?t({activeStartDate:n,date:r,view:o}):t}Wt.propTypes=zt(zt({},yt),{},{activeStartDate:F.a.instanceOf(Date),count:F.a.number,dateTransform:F.a.func.isRequired,dateType:F.a.string,offset:F.a.number,step:F.a.number,tile:F.a.func.isRequired});var $t=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ht(e,t)}(i,e);var t,n,r,a=Bt(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];
1return Qt(Xt(e=a.call.apply(a,[this].concat(n))),"state",{}),e}return t=i,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.activeStartDate,r=e.tileClassName,o=e.tileContent,a={};return(r!==t.tileClassNameProps||Jt(n,t.activeStartDateProps))&&(a.tileClassName=Zt(e,r),a.tileClassNameProps=r),(o!==t.tileContentProps||Jt(n,t.activeStartDateProps))&&(a.tileContent=Zt(e,o),a.tileContentProps=o),a.activeStartDateProps=n,a}}],(n=[{key:"render",value:function(){var e=this.props,t=e.activeStartDate,n=e.children,r=e.classes,a=e.date,i=e.formatAbbr,c=e.locale,l=e.maxDate,u=e.maxDateTransform,s=e.minDate,d=e.minDateTransform,f=e.onClick,p=e.onMouseOver,m=e.style,h=e.tileDisabled,y=e.view,b=this.state,v=b.tileClassName,g=b.tileContent;return o.a.createElement("button",{className:M(r,v),disabled:s&&d(s)>a||l&&u(l)<a||h&&h({activeStartDate:t,date:a,view:y}),onClick:f&&function(e){return f(a,e)},onFocus:p&&function(){return p(a)},onMouseOver:p&&function(){return p(a)},style:m,type:"button"},i?o.a.createElement("abbr",{"aria-label":i(c,a)},n):n,g)}}])&&Gt(t.prototype,n),r&&Gt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(r.Component);$t.propTypes=Vt(Vt({},bt),{},{children:F.a.node.isRequired,formatAbbr:F.a.func,maxDateTransform:F.a.func.isRequired,minDateTransform:F.a.func.isRequired});var en=["classes","formatYear"];function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(n),!0).forEach((function(t){rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function on(){return(on=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function an(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var cn="react-calendar__century-view__decades__decade";function ln(e){var t=e.classes,n=e.formatYear,r=void 0===n?Ve:n,a=an(e,en),i=a.date,c=a.locale;return o.a.createElement($t,on({},a,{classes:[].concat(t,cn),maxDateTransform:ce,minDateTransform:oe,view:"century"}),rt(c,r,i))}function un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dn(){return(dn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function fn(e){var t=e.activeStartDate,n=K(Z(t)),r=n+99;return o.a.createElement(Wt,dn({},e,{className:"react-calendar__century-view__decades",dateTransform:oe,dateType:"decade",end:r,start:n,step:10,tile:ln}))}function pn(e){return o.a.createElement("div",{className:"react-calendar__century-view"},o.a.createElement(fn,e))}ln.propTypes=nn(nn({},bt),{},{formatYear:F.a.func}),fn.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(Object(n),!0).forEach((function(t){sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},yt);var mn=["classes","formatYear"];function hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach((function(t){bn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vn(){return(vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function gn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var wn="react-calendar__decade-view__years__year";function On(e){var t=e.classes,n=e.formatYear,r=void 0===n?Ve:n,a=gn(e,mn),i=a.date,c=a.locale;return o.a.createElement($t,vn({},a,{classes:[].concat(t,wn),maxDateTransform:pe,minDateTransform:se,view:"decade"}),r(c,i))}function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _n(){return(_n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function kn(e){var t=e.activeStartDate,n=K(oe(t)),r=n+9;return o.a.createElement(Wt,_n({},e,{className:"react-calendar__decade-view__years",dateTransform:function(e){var t=new Date;return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t},dateType:"year",end:r,start:n,tile:On}))}function Cn(e){return o.a.createElement("div",{className:"react-calendar__decade-view"},o.a.createElement(kn,e))}On.propTypes=yn(yn({},bt),{},{formatYear:F.a.func}),kn.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach((function(t){xn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},yt);var Sn=["classes","formatMonth","formatMonthYear"];function En(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function In(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(Object(n),!0).forEach((function(t){Dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(){return(Pn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Nn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Tn="react-calendar__year-view__months__month";function Ln(e){var t=e.classes,n=e.formatMonth,r=void 0===n?Me:n,a=e.formatMonthYear,i=void 0===a?We:a,c=Nn(e,Sn),l=c.date,u=c.locale;return o.a.createElement($t,Pn({},c,{classes:[].concat(t,Tn),formatAbbr:i,maxDateTransform:we,minDateTransform:be,view:"year"}),r(u,l))}function Rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Rn(Object(n),!0).forEach((function(t){An(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function An(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fn(){return(Fn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Mn(e){var t=K(e.activeStartDate);return o.a.createElement(Wt,Fn({},e,{className:"react-calendar__year-view__months",dateTransform:function(e){var n=new Date;return n.setFullYear(t,e,1),n.setHours(0,0,0,0),n},dateType:"month",end:11,start:0,tile:Ln}))}function Wn(e){return o.a.createElement("div",{className:"react-calendar__year-view"},o.a.createElement(Mn,e))}Ln.propTypes=In(In({},bt),{},{formatMonth:F.a.func,formatMonthYear:F.a.func}),Mn.propTypes=zn(zn({},yt),{},{locale:F.a.string});var qn=["formatDay","formatLongDate","calendarType","classes","currentMonthIndex"];function Yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yn(Object(n),!0).forEach((function(t){Gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(){return(Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Bn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Un="react-calendar__month-view__days__day";function Xn(e){var t=e.formatDay,n=void 0===t?Ae:t,r=e.formatLongDate,a=void 0===r?Fe:r,i=e.calendarType,c=e.classes,l=e.currentMonthIndex,u=Bn(e,qn),s=u.date,d=u.locale;return o.a.createElement($t,Hn({},u,{classes:[].concat(c,Un,ot(s,i)?"".concat(Un,"--weekend"):null,s.getMonth()!==l?"".concat(Un,"--neighboringMonth"):null),formatAbbr:a,maxDateTransform:Ce,minDateTransform:_e,view:"month"}),n(d,s))}Xn.propTypes=Vn(Vn({},bt),{},{currentMonthIndex:F.a.number.isRequired,formatDay:F.a.func,formatLongDate:F.a.func});var Kn=["showFixedNumberOfWeeks","showNeighboringMonth"];function Qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zn(){return(Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function $n(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function er(e){var t=e.activeStartDate,n=e.calendarType,r=e.showFixedNumberOfWeeks,a=e.showNeighboringMonth,i=$n(e,Kn),c=K(t),l=Q(t),u=r||a,s=Ue(t,n),d=u?0:s,f=1+(u?-s:0),p=function(){if(r)return f+42-1;var e=Ee(t);if(a){var o=new Date;
1return o.setFullYear(c,l,e),o.setHours(0,0,0,0),e+(7-Ue(o,n)-1)}return e}();return o.a.createElement(Wt,Zn({},i,{className:"react-calendar__month-view__days",count:7,currentMonthIndex:l,dateTransform:function(e){var t=new Date;return t.setFullYear(c,l,e),t.setHours(0,0,0,0),t},dateType:"day",end:p,offset:d,start:f,tile:Xn}))}er.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(n),!0).forEach((function(t){Jn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({calendarType:lt.isRequired,showFixedNumberOfWeeks:F.a.bool,showNeighboringMonth:F.a.bool},yt);var tr="react-calendar__month-view__weekdays",nr="".concat(tr,"__weekday");function rr(e){for(var t=e.calendarType,n=e.formatShortWeekday,r=void 0===n?qe:n,a=e.formatWeekday,i=void 0===a?Ye:a,c=e.locale,l=e.onMouseLeave,u=be(new Date),s=K(u),d=Q(u),f=[],p=1;p<=7;p+=1){var m=new Date(s,d,p-Ue(u,t)),h=i(c,m);f.push(o.a.createElement("div",{key:p,className:M(nr,ot(m,t)&&"".concat(nr,"--weekend"))},o.a.createElement("abbr",{"aria-label":h,title:h},r(c,m).replace(".",""))))}return(o.a.createElement(St,{className:tr,count:7,onFocus:l,onMouseOver:l},f))}rr.propTypes={calendarType:lt.isRequired,formatShortWeekday:F.a.func,formatWeekday:F.a.func,locale:F.a.string,onMouseLeave:F.a.func};var or=["date","onClickWeekNumber","weekNumber"];function ar(){return(ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ur="react-calendar__tile";function sr(e){var t=e.date,n=e.onClickWeekNumber,r=e.weekNumber,a=lr(e,or),i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(n),!0).forEach((function(t){cr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:ur},a),c=o.a.createElement("span",null,r);return n?o.a.createElement("button",ar({},i,{onClick:function(e){return n(r,t,e)},type:"button"}),c):o.a.createElement("div",i,c)}function dr(e){var t=e.activeStartDate,n=e.calendarType,r=e.onClickWeekNumber,a=e.onMouseLeave,i=e.showFixedNumberOfWeeks,c=function(){if(i)return 6;var e=Ee(t)-(7-Ue(t,n));return 1+Math.ceil(e/7)}(),l=function(){for(var e=K(t),r=Q(t),o=J(t),a=[],i=0;i<c;i+=1)a.push(Xe(new Date(e,r,o+7*i),n));return a}(),u=l.map((function(e){return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ne.ISO_8601,r=n===Ne.US?Ne.US:Ne.ISO_8601,o=Xe(e,n),a=K(e)+1;do{t=Xe(new Date(a,0,r===Ne.ISO_8601?4:1),n),a-=1}while(e<t);return Math.round((o-t)/6048e5)+1}(e,n)}));return o.a.createElement(St,{className:"react-calendar__month-view__weekNumbers",count:c,direction:"column",onFocus:a,onMouseOver:a,style:{flexBasis:"calc(100% * (1 / 8)",flexShrink:0}},u.map((function(e,t){return o.a.createElement(sr,{key:e,date:l[t],onClickWeekNumber:r,weekNumber:e})})))}sr.propTypes={date:F.a.instanceOf(Date).isRequired,onClickWeekNumber:F.a.func,weekNumber:F.a.node.isRequired},dr.propTypes={activeStartDate:F.a.instanceOf(Date).isRequired,calendarType:lt.isRequired,onClickWeekNumber:F.a.func,onMouseLeave:F.a.func,showFixedNumberOfWeeks:F.a.bool};var fr=["calendarType","formatShortWeekday","formatWeekday","onClickWeekNumber","showWeekNumbers"];function pr(){return(pr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function mr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function hr(e){var t=e.activeStartDate,n=e.locale,r=e.onMouseLeave,a=e.showFixedNumberOfWeeks,i=e.calendarType,c=void 0===i?function(e){return Object.keys(Te).find((function(t){return Te[t].includes(e)}))||Ne.ISO_8601}(n):i,l=e.formatShortWeekday,u=e.formatWeekday,s=e.onClickWeekNumber,d=e.showWeekNumbers,f=mr(e,fr);return o.a.createElement("div",{className:M("react-calendar__month-view",d?"".concat("react-calendar__month-view","--weekNumbers"):"")},o.a.createElement("div",{style:{display:"flex",alignItems:"flex-end"}},d?o.a.createElement(dr,{activeStartDate:t,calendarType:c,onClickWeekNumber:s,onMouseLeave:r,showFixedNumberOfWeeks:a}):null,o.a.createElement("div",{style:{flexGrow:1,width:"100%"}},o.a.createElement(rr,{calendarType:c,formatShortWeekday:l,formatWeekday:u,locale:n,onMouseLeave:r}),o.a.createElement(er,pr({calendarType:c},f)))))}hr.propTypes={activeStartDate:F.a.instanceOf(Date).isRequired,calendarType:lt,formatShortWeekday:F.a.func,formatWeekday:F.a.func,locale:F.a.string,onClickWeekNumber:F.a.func,onMouseLeave:F.a.func,showFixedNumberOfWeeks:F.a.bool,showWeekNumbers:
1F.a.bool};var yr=["activeStartDate","defaultActiveStartDate","defaultValue","defaultView","maxDetail","minDetail","value","view"];function br(){return(br=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function vr(e){return(vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wr(e,t){return(wr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Or(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_r(e);if(t){var o=_r(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jr(this,n)}}function jr(e,t){if(t&&("object"===vr(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return xr(e)}function xr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _r(e){return(_r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(n),!0).forEach((function(t){Sr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Er(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Dr=new Date;Dr.setFullYear(1,0,1),Dr.setHours(0,0,0,0);var Pr=new Date(864e13),Nr=["century","decade","year","month"],Tr=[].concat(function(e){return function(e){if(Array.isArray(e))return Ir(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return Ir(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ir(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Nr.slice(1)),["day"]);function Lr(e,t){return Nr.slice(Nr.indexOf(e),Nr.indexOf(t)+1)}function Rr(e,t,n){return function(e,t,n){return-1!==Lr(t,n).indexOf(e)}(e,t,n)?e:n}function zr(e){return Tr[Nr.indexOf(e)]}function Ar(e,t){if(!e)return null;var n=Array.isArray(e)&&2===e.length?e[t]:e;if(!n)return null;var r=function(e){return e instanceof Date?e:new Date(e)}(n);if(isNaN(r.getTime()))throw new Error("Invalid date: ".concat(e));return r}function Fr(e,t){var n=e.value,r=e.minDate,o=e.maxDate,a=e.maxDetail,i=Ar(n,t);if(!i)return null;var c=zr(a);return function(e,t,n){return t&&t>e?t:n&&n<e?n:e}([Ke,$e][t](c,i),r,o)}var Mr=function(e){return Fr(e,0)},Wr=function(e){return Fr(e,1)},qr=function(e){var t=e.value;return Array.isArray(t)?t:[Mr,Wr].map((function(t){return t(e)}))};function Yr(e){var t=e.maxDate,n=e.maxDetail,r=e.minDate,o=e.minDetail,a=e.value;return Ke(Rr(e.view,o,n),Mr({value:a,minDate:r,maxDate:t,maxDetail:n})||new Date)}var Vr=function(e){return e&&1===[].concat(e).length},Gr=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wr(e,t)}(i,e);var t,n,r,a=Or(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Sr(xr(e=a.call.apply(a,[this].concat(n))),"state",{activeStartDate:e.props.defaultActiveStartDate,value:e.props.defaultValue,view:e.props.defaultView}),Sr(xr(e),"setStateAndCallCallbacks",(function(t,n,r){var o=xr(e),a=o.activeStartDate,i=o.view,c=e.props,l=c.allowPartialRange,u=c.onActiveStartDateChange,s=c.onChange,d=c.onViewChange,f
1=c.selectRange,p={activeStartDate:a,view:i};e.setState(t,(function(){var o={action:t.action,activeStartDate:t.activeStartDate||e.activeStartDate,value:t.value||e.value,view:t.view||e.view};function a(e){return e in t&&(vr(t[e])!==vr(p[e])||(t[e]instanceof Date?t[e].getTime()!==p[e].getTime():t[e]!==p[e]))}(a("activeStartDate")&&u&&u(o),a("view")&&d&&d(o),a("value"))&&(s&&(f&&Vr(t.value)?l&&s([t.value],n):s(t.value,n)));r&&r(o)}))})),Sr(xr(e),"setActiveStartDate",(function(t,n){e.setStateAndCallCallbacks({action:n,activeStartDate:t})})),Sr(xr(e),"drillDown",(function(t,n){if(e.drillDownAvailable){e.onClickTile(t,n);var r=xr(e),o=r.view,a=r.views,i=e.props.onDrillDown,c=a[a.indexOf(o)+1];e.setStateAndCallCallbacks({action:"drillDown",activeStartDate:t,view:c},void 0,i)}})),Sr(xr(e),"drillUp",(function(){if(e.drillUpAvailable){var t=xr(e),n=t.activeStartDate,r=t.view,o=t.views,a=e.props.onDrillUp,i=o[o.indexOf(r)-1],c=Ke(i,n);e.setStateAndCallCallbacks({action:"drillUp",activeStartDate:c,view:i},void 0,a)}})),Sr(xr(e),"onChange",(function(t,n){var r=xr(e).value,o=e.props,a=o.goToRangeStartOnSelect,i=o.selectRange;e.onClickTile(t,n);var c,l=i&&!Vr(r);if(i){var u=xr(e).valueType;c=l?Ke(u,t):function(e,t,n){var r=[t,n].sort((function(e,t){return e-t}));return[Ke(e,r[0]),$e(e,r[1])]}(u,r,t)}else c=e.getProcessedValue(t);var s=!i||l||a?Yr(Cr(Cr({},e.props),{},{value:c})):null;n.persist(),e.setStateAndCallCallbacks({action:"onChange",activeStartDate:s,value:c},n)})),Sr(xr(e),"onClickTile",(function(t,n){var r=xr(e).view,o=e.props,a=o.onClickDay,i=o.onClickDecade,c=o.onClickMonth,l=o.onClickYear,u=function(){switch(r){case"century":return i;case"decade":return l;case"year":return c;case"month":return a;default:throw new Error("Invalid view: ".concat(r,"."))}}();u&&u(t,n)})),Sr(xr(e),"onMouseOver",(function(t){e.setState((function(e){return e.hover&&e.hover.getTime()===t.getTime()?null:{hover:t}}))})),Sr(xr(e),"onMouseLeave",(function(){e.setState({hover:null})})),e}return t=i,(n=[{key:"activeStartDate",get:function(){var e=this.props.activeStartDate,t=this.state.activeStartDate;return e||t||function(e){var t=e.activeStartDate,n=e.defaultActiveStartDate,r=e.defaultValue,o=e.defaultView,a=e.maxDetail,i=e.minDetail,c=e.value,l=e.view,u=Er(e,yr),s=Rr(l,i,a),d=t||n;return d?Ke(s,d):Yr(Cr({maxDetail:a,minDetail:i,value:c||r,view:l||o},u))}(this.props)}},{key:"value",get:function(){var e=this.props,t=e.selectRange,n=e.value,r=this.state.value;return t&&Vr(r)?r:void 0!==n?n:r}},{key:"valueType",get:function(){return zr(this.props.maxDetail)}},{key:"view",get:function(){var e=this.props,t=e.minDetail,n=e.maxDetail,r=e.view,o=this.state.view;return Rr(r||o,t,n)}},{key:"views",get:function(){var e=this.props;return Lr(e.minDetail,e.maxDetail)}},{key:"hover",get:function(){var e=this.props.selectRange,t=this.state.hover;return e?t:null}},{key:"drillDownAvailable",get:function(){var e=this.view,t=this.views;return t.indexOf(e)<t.length-1}},{key:"drillUpAvailable",get:function(){var e=this.view;return this.views.indexOf(e)>0}},{key:"getProcessedValue",value:function(e){var t=this.props,n=t.minDate,r=t.maxDate,o=t.maxDetail,a=t.returnValue;return function(){switch(a){case"start":return Mr;case"end":return Wr;case"range":return qr;default:throw new Error("Invalid returnValue.")}}()({value:e,minDate:n,maxDate:r,maxDetail:o})}},{key:"renderContent",value:function(e){var t=this.activeStartDate,n=this.onMouseOver,r=this.valueType,a=this.value,i=this.view,c=this.props,l=c.calendarType,u=c.locale,s=c.maxDate,d=c.minDate,f=c.selectRange,p=c.tileClassName,m=c.tileContent,h=c.tileDisabled,y=this.hover,b={activeStartDate:e?Qe(i,t):Ke(i,t),hover:y,locale:u,maxDate:s,minDate:d,onClick:this.drillDownAvailable?this.drillDown:this.onChange,onMouseOver:f?n:null,tileClassName:p,tileContent:m,tileDisabled:h,value:a,valueType:r};switch(i){case"century":var v=this.props.formatYear;return(o.a.createElement(pn,br({formatYear:v},b)));case"decade":var g=this.props.formatYear;return(o.a.createElement(Cn,br({formatYear:g},b)));case"year":var w=this.props,O=w.formatMonth,j=w.formatMonthYear;return(o.a.createElement(Wn,br({formatMonth:O,formatMonthYear:j},b)));case"month":var x=this.props,_=x.formatDay,k=x.formatLongDate,C=x.formatShortWeekday,S=x.formatWeekday,E=x.onClickWeekNumber,I=x.showDoubleView,D=x.showFixedNumberOfWeeks,P=x.showNeighboringMonth,N=x.showWeekNumbers,T=this.onMouseLeave;return o.a.createElement(hr,br({calendarType:l,formatDay:_,formatLongDate:k,formatShortWeekday:C,formatWeekday:S,onClickWeekNumber:E,onMouseLeave:f?T:null,showFixedNumberOfWeeks:"undefined"!==typeof D?D:I,showNeighboringMonth:P,showWeekNumbers:N},b));default:throw new Error("Invalid view: ".concat(i,"."))}}},{key:"renderNavigation",value:function(){if(!this.props.showNavigation)return null;var e=this.activeStartDate,t=this.view,n=this.views,r=this.props,a=r.formatMonthYear,i=r.formatYear,c=r.locale,l=r.maxDate,u=r.minDate,s=r.navigationAriaLabel,d=r.navigationAriaLive,f=r.navigationLabel,p=r.next2AriaLabel,m=r.next2Label,h=r.nextAriaLabel,y=r.nextLabel,b=r.prev2AriaLabel,v=r.prev2Label,g=r.prevAriaLabel,w=r.prevLabel,O=r.showDoubleView;return o.a.createElement(gt,{activeStartDate:e,drillUp:this.drillUp,formatMonthYear:a,formatYear:i,locale:c,maxDate:l,minDate:u,navigationAriaLabel:s,navigationAriaLive:d,navigationLabel:f,next2AriaLabel:p,next2Label:m,nextAriaLabel:h,nextLabel:y,prev2AriaLabel:b,prev2Label:v,prevAriaLabel:g,prevLabel:w,setActiveStartDate:this.setActiveStartDate,
1showDoubleView:O,view:t,views:n})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.inputRef,r=e.selectRange,a=e.showDoubleView,i=this.onMouseLeave,c=this.value,l=[].concat(c);return o.a.createElement("div",{className:M("react-calendar",r&&1===l.length&&"".concat("react-calendar","--selectRange"),a&&"".concat("react-calendar","--doubleView"),t),ref:n},this.renderNavigation(),o.a.createElement("div",{className:"".concat("react-calendar","__viewContainer"),onBlur:r?i:null,onMouseLeave:r?i:null},this.renderContent(),a&&this.renderContent(!0)))}}])&&gr(t.prototype,n),r&&gr(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(r.Component);Gr.defaultProps={goToRangeStartOnSelect:!0,maxDate:Pr,maxDetail:"month",minDate:Dr,minDetail:"century",returnValue:"start",showNavigation:!0,showNeighboringMonth:!0};var Hr=F.a.instanceOf(Date),Br=F.a.oneOfType([F.a.string,pt]);Gr.propTypes={activeStartDate:Hr,allowPartialRange:F.a.bool,calendarType:lt,className:ut,defaultActiveStartDate:Hr,defaultValue:Br,defaultView:ht,formatDay:F.a.func,formatLongDate:F.a.func,formatMonth:F.a.func,formatMonthYear:F.a.func,formatShortWeekday:F.a.func,formatWeekday:F.a.func,formatYear:F.a.func,goToRangeStartOnSelect:F.a.bool,inputRef:ft,locale:F.a.string,maxDate:dt,maxDetail:F.a.oneOf(Nr),minDate:st,minDetail:F.a.oneOf(Nr),navigationAriaLabel:F.a.string,navigationAriaLive:F.a.oneOf(["off","polite","assertive"]),navigationLabel:F.a.func,next2AriaLabel:F.a.string,next2Label:F.a.node,nextAriaLabel:F.a.string,nextLabel:F.a.node,onActiveStartDateChange:F.a.func,onChange:F.a.func,onClickDay:F.a.func,onClickDecade:F.a.func,onClickMonth:F.a.func,onClickWeekNumber:F.a.func,onClickYear:F.a.func,onDrillDown:F.a.func,onDrillUp:F.a.func,onViewChange:F.a.func,prev2AriaLabel:F.a.string,prev2Label:F.a.node,prevAriaLabel:F.a.string,prevLabel:F.a.node,returnValue:F.a.oneOf(["start","end","range"]),selectRange:F.a.bool,showDoubleView:F.a.bool,showFixedNumberOfWeeks:F.a.bool,showNavigation:F.a.bool,showNeighboringMonth:F.a.bool,showWeekNumbers:F.a.bool,tileClassName:F.a.oneOfType([F.a.func,ut]),tileContent:F.a.oneOfType([F.a.func,F.a.node]),tileDisabled:F.a.func,value:Br,view:ht};var Ur=Gr,Xr=n("k7Sn"),Kr=["t"],Qr=o.a.createElement,Jr=Object(s.e)(i.FaPlay).withConfig({displayName:"style__FaPlayBack",componentId:"sc-xzzme8-0"})(["transform:rotate(180deg);position:relative;z-index:0;"]),Zr=(Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-xzzme8-1"})(["box-sizing:border-box;"]),s.e.div.withConfig({displayName:"style__CalendarContainer",componentId:"sc-xzzme8-2"})(["width:100%;padding-top:0.25rem;padding-bottom:1rem;.react-calendar,.react-calendar__tile{background:",";color:",";}.react-calendar-highlight{background:#FF6961;color:#FFF;}.react-calendar__tile--now{background:#FFFF76;color:#000;}.react-calendar__tile--active{background:#006edc;color:#FFF;}.react-calendar__navigation__label{background:",";color:",";}.react-calendar__month-view__days__day--neighboringMonth{background:",";}"],(function(e){return e.theme.colors.bg.default}),(function(e){return e.theme.colors.text.default}),(function(e){return e.theme.colors.bg.default}),(function(e){return e.theme.colors.text.default}),(function(e){return e.theme.colors.bg.wash}))),$r=s.e.div.withConfig({displayName:"style__Icon",componentId:"sc-xzzme8-3"})(["font-size:14px;color:",";z-index:-5;"],(function(e){return e.theme.colors.text.alt})),eo=Object(Xr.withTranslation)("common")((function(e){var t=e.t,n=Object(R.a)(e,Kr);return Qr(Ur,Object(z.a)({showFixedNumberOfWeeks:!0,prevLabel:Qr($r,null," ",Qr(Jr,null)," "),nextLabel:Qr($r,null," ",Qr(i.FaPlay,null)," "),prev2Label:Qr($r,null," ",Qr(i.FaBackward,null)," "),next2Label:Qr($r,null," ",Qr(i.FaForward,null)," "),prevAriaLabel:t("Prethodni mjesec"),nextAriaLabel:t("Sljede\u0107i mjesec"),prev2AriaLabel:t("Prethodna godina"),next2AriaLabel:t("Sljede\u0107a godina"),defaultView:"month"},n))})),to=n("wgY5"),no=n.n(to),ro=["id","datum","datumDo"],oo=o.a.createElement,ao={B:"bs",E:"en",H:"hr",S:"bs",Sc:"sr-cyrl"},io=Object(Xr.withTranslation)("common")((function(e){var t,n=e.data,i=e.columned,l=e.t,s=Object(a.useRouter)(),d=Object(r.useState)(new Date),f=d[0],p=d[1],m=s.query.subpath||s.query.lang||"B";console.log(m);var h="cp"==m?{}:{formatMonthYear:function(e,t){return l(no()(t).locale(ao[m]).format("MMMM YYYY."))},formatShortWeekday:function(e,t){return no()(t).locale(ao[m]).format("dddd").substr(0,3)}},y=function(e){return function(t){var n=t.datum,r=t.datumDo,o=no()(e).format("YYYY-MM-DD"),a=no()(n,"DD.MM.YYYY.").format("YYYY-MM-DD"),i=no()(r,"DD.MM.YYYY.").format("YYYY-MM-DD");return a<=o&&o<=i}};return oo(c.d,{flexWrap:"wrap",alignItems:"start"},oo(c.c,{width:i?[1,1,.5]:1}
1,oo(Zr,null,oo(eo,Object(z.a)({onChange:function(e){return p(e)},value:f,tileClassName:function(e){e.activeStartDate;var t,r,o=e.date;e.view;return(null===n||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:t.find(y(o)))?(null===n||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:r.find(function(e){return function(t){var n=t.datum,r=t.datumDo,o=no()(e).format("YYYY-MM-DD"),a=no()(n,"DD.MM.YYYY.").format("YYYY-MM-DD"),i=no()(r,"DD.MM.YYYY.").format("YYYY-MM-DD");return a<=o&&o<=i&&a!=i}}(o)))?"react-calendar-multi-date":"react-calendar-highlight":null},locale:ao[m]},h)))),oo(c.c,{width:i?[1,1,.5]:1,pl:i?[0,0,4]:0},oo(u.g,null,null===(t=n.data)||void 0===t?void 0:t.filter(y(f)).map((function(e,t){var r=e.id,a=e.datum,i=e.datumDo,l=Object(R.a)(e,ro);return oo(c.l,{as:"/".concat(s.query.insId,"/article/").concat(r),to:"[insId]/article/[id]",key:r},l.rb<=2?oo(c.d,{flexWrap:"wrap",alignItems:"start"},oo(c.c,{width:.4,px:1},oo(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(r)})),oo(c.c,{width:.6,px:1},oo(u.n,null," ",l.naslov," "),oo(u.i,{date:a==i?a:"".concat(a," - ").concat(i)}),oo(u.o,null," ",l.sazetak," "))):oo(o.a.Fragment,null,oo(u.n,null," ",l.naslov," "),oo(u.i,{date:a==i?a:"".concat(a," - ").concat(i)})),t==n.data.length-1||oo(u.j,null))})))))})),co=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-15isr93-0"})(["box-sizing:border-box;"]),lo=s.e.span.withConfig({displayName:"style__StyledDatumIsteka",componentId:"sc-15isr93-1"})(["",";font-size:12px;color:",""],c.t,(function(e){var t=e.theme;return e.istekla?t.colors.bg.danger:t.colors.bg.success})),uo=o.a.createElement,so=function(e){var t,n=e.data;return uo(co,null,uo(c.m,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return uo(c.l,{href:e.link,key:t},uo(u.n,null," ",e.naslov," "),uo(lo,{istekla:e.istekla}," ",e.trajanje," "),t==n.data.length-1||uo(u.j,null))}))),uo(c.l,{href:Object(m.a)(n.url),mt:-1},uo(u.e,null," ",n.link," ")))},fo=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-gbrabg-0"})(["box-sizing:border-box;"]),po=o.a.createElement,mo=function(e){var t=e.data,n=t.data.map((function(e,n){return n%2==0?t.data.slice(n,n+2):null})).filter((function(e){return null===e||void 0===e?void 0:e.length})),r=Object(a.useRouter)();return po(fo,null,n.map((function(e,t){return po(c.d,{flexWrap:"wrap"},null===e||void 0===e?void 0:e.map((function(e,t){return po(c.c,{width:[1,1,.5],pr:[0,0,t%2==0?3:0],pl:[0,0,t%2==1?3:0],pt:3},po(c.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},po(u.m,null," ",e.nadnaslov," "),po(u.n,null," ",e.naslov," "),po(u.o,null," ",e.sazetak," "),po(u.i,{date:e.datum})))})),t==n.length-1||po(u.j,null))})),po(c.l,{href:Object(m.a)(t.url)},po(u.e,null," ",t.link," ")))},ho=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1sckh1m-0"})(["box-sizing:border-box;"]),yo=o.a.createElement,bo=function(e){var t,n=e.data,r=Object(a.useRouter)();return yo(ho,null,yo(u.g,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return yo(c.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},yo(c.d,null,yo(u.n,null," ",e.naslov," ")),yo(u.i,{date:e.datum}),t==n.data.length-1||yo(u.j,null))}))),yo(c.l,{href:Object(m.a)(n.url)},yo(u.e,null," ",n.link," ")))},vo=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1yep13i-0"})(["box-sizing:border-box;"]),go=o.a.createElement,wo=function(e){var t,n=e.data,r=Object(a.useRouter)();return go(vo,null,go(u.g,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return go(c.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},go(u.n,null," ",e.naslov," "),go(u.i,{date:e.datum}),t==n.data.length-1||go(u.j,null))}))),go(c.l,{href:Object(m.a)(n.url)},go(u.e,null," ",n.link," ")))},Oo=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-tzqu8w-0"})(["box-sizing:border-box;"]),jo=o.a.createElement,xo=function(e){var t,n=e.data,r=Object(a.useRouter)();
1return jo(Oo,null,jo(u.g,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return jo(c.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},jo(u.n,null," ",e.naslov," "),jo(u.o,null," ",e.sazetak," "),jo(u.i,{date:e.datum}),t==n.data.length-1||jo(u.j,null))}))),jo(c.l,{href:Object(m.a)(n.url)},jo(u.e,null," ",n.link," ")))},_o=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-wet0ux-0"})(["box-sizing:border-box;"]),ko=o.a.createElement,Co=function(e){var t,n=e.data,r=Object(a.useRouter)();return ko(_o,null,ko(u.g,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return ko(c.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},ko(u.m,null," ",e.nadnaslov," "),e.rb<=2?ko(c.d,{flexWrap:"wrap",alignItems:"start"},ko(c.c,{width:u.p,px:1},ko(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id),alt:e.naslov})),ko(c.c,{width:1-u.p,px:1},ko(u.n,null," ",e.naslov," "),ko(u.i,{date:e.datum}))):ko(o.a.Fragment,null,ko(u.n,null," ",e.naslov," "),ko(u.i,{date:e.datum})),t==n.data.length-1||ko(u.j,null))}))),ko(c.l,{href:Object(m.a)(n.url)},ko(u.e,null," ",n.link," ")))},So=(Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1q2vywe-0"})(["box-sizing:border-box;"]),s.e.div.withConfig({displayName:"style__ParagraphPodnaslov",componentId:"sc-1q2vywe-1"})(["color:",";"," padding-bottom:4px;"],(function(e){return e.theme.colors.brand.default}),c.w),s.e.div.withConfig({displayName:"style__DIV",componentId:"sc-1q2vywe-2"})(["width:100%;margin:auto;"]),s.e.div.withConfig({displayName:"style__Naslov",componentId:"sc-1q2vywe-3"})(["",";font-size:14px;color:",";text-decoration:underline;width:100%;margin-bottom:0.5rem;"],c.t,(function(e){return e.theme.colors.text.alt})),o.a.createElement),Eo=function(e){var t,n=e.data;Object(a.useRouter)();return So(c.m,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return So(c.l,{key:e.id,to:Object(m.a)(e.url)},So(u.n,null," ",e.naslov," "),So(c.d,{mt:e.naslov&&2,pb:3,justifyContent:"center",flexWrap:"wrap"},So(c.c,{width:1},So(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(e.id),alt:1==n.data.length?n.naslovGrupe:e.naslov,height:["35vh","50vh","50vh","35vh"]}))))})))},Io=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-uxg5dn-0"})(["box-sizing:border-box;.img-enter{opacity:0.95;}.img-enter-active{opacity:1;transition:opacity 1000ms ease-in-out;}.img-exit{opacity:1;}.img-exit-active{}"]),Do=Object(s.e)(c.c).withConfig({displayName:"style__IconContainer",componentId:"sc-uxg5dn-1"})(["color:#FFFFFF;justify-content:center;&:hover{color:",";box-shadow:",";}"],(function(e){return e.theme.colors.bg.border}),(function(e){return e.theme.shadows.large})),Po=s.e.button.withConfig({displayName:"style__IconButton",componentId:"sc-uxg5dn-2"})(["background-color:inherit;color:inherit;"]),No=Object(s.e)(c.d).withConfig({displayName:"style__Lister",componentId:"sc-uxg5dn-3"})(["",";border-top:1px solid #FECB2C;background-color:",";margin-top:0rem;"],c.t,(function(e){return e.theme.colors.brand.dark})),To=Object(s.e)(c.c).withConfig({displayName:"style__TextContainer",componentId:"sc-uxg5dn-4"})(["",";color:#FFFFFF;font-size:14px;margin-left:0.5rem;margin-right:0.5rem;"],c.t),Lo=(Object(s.e)(c.l).withConfig({displayName:"style__LINK",componentId:"sc-uxg5dn-5"})(["height:100%;margin-bottom:0;padding-bottom:0;"]),Object(s.e)(c.c).withConfig({displayName:"style__ImgDiv",componentId:"sc-uxg5dn-6"})([""])),Ro=n("05Xt"),zo=o.a.createElement,Ao=function(e){var t=e.data,n=(t.templateGrupe,Object(r.useState)(t.data.length?0:null)),o=n[0],a=n[1],l=t.data.length,s=t.data[o],d=Object(r.useState)(!0),f=d[0],p=d[1],h=Object(r.useState)(0),y=h[0],b=h[1],v=Object(r.useState)(!!t.timer),g=v[0],w=v[1];return Object(r.useEffect)((function(){t.data.forEach((function(e){(new Image).src="".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(null===e||void 0===e?void 0:e.id)}
1))}),[]),Object(r.useEffect)((function(){y&&clearTimeout(y),t.timer>0&&g&&b(setTimeout((function(){a((o+1)%l)}),1e3*t.timer))}),[o,g]),zo(Io,null,zo(Ro.a,{in:f,timeout:200,classNames:"img",onExited:function(){return p(!0)}},zo(Lo,{width:1,key:null===s||void 0===s?void 0:s.id},zo(c.l,{to:Object(m.a)(null===s||void 0===s?void 0:s.url)},zo(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(null===s||void 0===s?void 0:s.id),alt:null===s||void 0===s?void 0:s.naslov,height:t.visina?"".concat(t.visina,"px"):["35vh","50vh","35vh","35vh"]})))),zo(No,{justifyContent:"center"},zo(Do,null,zo(Po,{onClick:function(){a((o-1+l)%l),p(!1)},"aria-label":"prethodni link"},zo(i.FaCaretLeft,{size:36}))),zo(Do,{mx:2},zo(Po,{onClick:function(){t.timer&&w(!g)},"aria-label":"zaustavi listanje linkova"},t.timer?zo(g?i.FaPause:i.FaPlay,{size:22}):zo(To,null,o+1,"/",l))),zo(Do,null,zo(Po,{onClick:function(){a((o+1)%l),p(!1)},"aria-label":"sljede\u0107i link"},zo(i.FaCaretRight,{size:36})))))},Fo=(o.a.createElement,Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-pquj9y-0"})(["box-sizing:border-box;"])),Mo=(Object(s.e)(c.c).withConfig({displayName:"style__IconContainer",componentId:"sc-pquj9y-1"})(["color:#FFFFFF;justify-content:center;&:hover{color:",";box-shadow:",";}"],(function(e){return e.theme.colors.bg.border}),(function(e){return e.theme.shadows.large})),s.e.button.withConfig({displayName:"style__IconButton",componentId:"sc-pquj9y-2"})(["background-color:inherit;color:inherit;"]),Object(s.e)(c.d).withConfig({displayName:"style__Lister",componentId:"sc-pquj9y-3"})(["",";flex-wrap:wrap;align-items:stretch;@media only screen and (max-width:","){}"],c.t,c.s.xs)),Wo=Object(s.e)(c.c).withConfig({displayName:"style__LinkNaslov",componentId:"sc-pquj9y-4"})(["background-color:",";color:",";width:100%;font-size:14px;font-weight:lighter;line-height:18px;padding:0.5rem 0.25rem;border-top:2px solid ",";cursor:pointer;text-align:center;@media only screen and (max-width:","){font-size:11px;line-height:14px;padding:0.25rem 0.125rem 0.5rem 0.25rem;}"],(function(e){return e.theme.colors.brand.dark}),(function(e){return e.theme.colors.text.reverse}),(function(e){return e.theme.colors.bg.border}),c.s.sm),qo=(s.e.a.withConfig({displayName:"style__A",componentId:"sc-pquj9y-5"})(["width:100%;"]),Object(s.e)(u.k).withConfig({displayName:"style__MyIMG",componentId:"sc-pquj9y-6"})(["animation-name:fadeIn;animation-duration:3s;animation-iteration-count:1;animation-fill-mode:forwards;animation-delay:3s;max-height:20rem;margin:auto;"]),Object(s.e)(c.c).withConfig({displayName:"style__GalleryWrapper",componentId:"sc-pquj9y-7"})(["box-sizing:border-box;height:auto;width:100%;.image-gallery-content .image-gallery-slide .image-gallery-image{height:",";background-color:",";}.image-gallery-svg{height:30px;width:22px;}.image-gallery-fullscreen-button,.image-gallery-play-button{bottom:0;padding:20px;padding-bottom:0px;}.image-gallery-thumbnails-wrapper.left,.image-gallery-thumbnails-wrapper.right{width:150px;}.image-gallery-slide-wrapper.left,.image-gallery-slide-wrapper.right{background-color:#eee;}@media(max-width:768px){.image-gallery-content .image-gallery-slide .image-gallery-image{height:",";}}"],(function(e){var t=e.height;return t?"".concat(t,"px"):"35vh"}),(function(e){return e.theme.colors.bg.wash}),(function(e){var t=e.height;return t?"".concat(t,"px"):"30vh"}))),Yo=n("o44P"),Vo=n("R/is"),Go=o.a.createElement;function Ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ho(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ho(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Uo=function(e){var t=e.data,n=e.vijest,o=Object(a.useRouter)().query.insId,i=Object(r.useState)(t.data.length?0:null),l=i[0],u=i[1],s=Object(r.useRef)(null);t.data.length;t.data=t.data.map((function(e,t){return Bo(Bo({},e),{},{index:t})}));var d=Object(a.useRouter)(),f=t.data[l],p=Object(r.useContext)(Vo.I18nContext).i18n.language;return Go(Fo,null,Go(c.d,{flexWrap:"wrap",alignItems:"stretch",width:1},Go(qo,{height:null===t||void 0===t?void 0:t.visina},Go(Yo.a,{items:null===t||void 0===t?void 0:t.data.map((function(e){return{original:n?"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id):"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(e.id),thumbnail:n?"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id):"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(e.id)}}
1)),autoPlay:!0,showThumbnails:!1,showFullscreenButton:!1,showPlayButton:!1,showNav:!0,slideInterval:7500,onBeforeSlide:function(e){return u(e)},ref:s,onClick:function(){return e=f.id,t=f.url,n?d.push("/[lang]/[insId]/article/[id]","/".concat(p,"/").concat(o,"/article/").concat(e)):d.push(t);var e,t},lazyLoad:!0}))),Go(Mo,{justifyContent:"space-between"},Go(Wo,null,f.naslov)))},Xo=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1x39tw4-0"})(["box-sizing:border-box;"]),Ko=o.a.createElement,Qo=function(e){var t,n=e.data;return Ko(Xo,null,Ko(c.m,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return Ko(c.l,{to:Object(m.a)(e.url),key:e.id},Ko(u.l,null," ",e.naslov," "),t==n.data.length-1||Ko(u.f,null))}))))},Jo=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1sqelwr-0"})(["box-sizing:border-box;"]),Zo=o.a.createElement,$o=function(e){var t,n=e.data;return Zo(Jo,null,Zo(c.m,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return Zo(c.l,{to:Object(m.a)(e.url),key:e.id},Zo(c.c,{mb:"1rem"},Zo(u.m,null," ",e.nadnaslov," "),Zo(c.d,{flexWrap:"wrap",alignItems:"start"},Zo(c.c,{width:u.p,px:1},Zo(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(e.id)})),Zo(c.c,{width:1-u.p,px:1},Zo(u.n,null," ",e.naslov," "),Zo(u.i,{date:e.datum})))),t==n.data.length-1||Zo(u.f,null))}))))},ea=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-15w8pqm-0"})(["box-sizing:border-box;"]),ta=o.a.createElement,na=function(e){var t,n=e.data;return ta(ea,null,ta(c.m,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return ta(c.l,{to:Object(m.a)(e.url),key:e.id},ta(c.d,null,ta(u.n,null," ",e.naslov," "),ta(u.i,null," ",e.datum," ")),t==n.data.length-1||ta(u.f,null))}))))},ra=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1hwnsux-0"})(["box-sizing:border-box;"]),oa=s.e.div.withConfig({displayName:"style__HTMLWrapper",componentId:"sc-1hwnsux-1"})(["width:100%;display:flex;justify-content:center;"]),aa=s.e.div.withConfig({displayName:"style__HTMLContainer",componentId:"sc-1hwnsux-2"})(["display:inline-block;width:100%;"]),ia=o.a.createElement,ca=function(e){var t,n=e.data;return ia(ra,null,ia(c.m,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return ia(o.a.Fragment,null,ia(oa,null,ia(aa,{dangerouslySetInnerHTML:{__html:e.htmlSadrzaj}})),t==n.data.length-1||ia(u.j,null))}))))},la=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-5u5qdh-0"})(["box-sizing:border-box;"]),ua=s.e.div.withConfig({displayName:"style__HTMLWrapper",componentId:"sc-5u5qdh-1"})(["width:100%;display:flex;justify-content:center;"]),sa=s.e.div.withConfig({displayName:"style__HTMLContainer",componentId:"sc-5u5qdh-2"})(["display:inline-block;width:100%;"]),da=o.a.createElement,fa=function(e){var t,n=e.data;return da(la,null,da(c.m,null,da(c.d,{alignItems:"start",flexWrap:"wrap"},null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return da(c.c,{width:[1,1,.5],p:[0,0,2]},da(ua,null,da(sa,{dangerouslySetInnerHTML:{__html:e.htmlSadrzaj}})),t==n.data.length-1||da(u.j,null))})))))},pa=s.e.div.withConfig({displayName:"style__TabContainer",componentId:"sc-tkevm9-0"})(["width:100%;border-bottom:2px solid ",";"],(function(e){return e.theme.colors.brand.default})),ma=s.e.button.withConfig({displayName:"style__Tab",componentId:"sc-tkevm9-1"})([""," font-size:14px;font-weight:600;padding:0.75rem 1.5rem 0.75rem 1.5rem;&:hover{box-shadow:",";}"],c.t,(function(e){return e.theme.shadows.large})),ha=Object(s.e)(ma).withConfig({displayName:"style__TabActive",componentId:"sc-tkevm9-2"})(["border-top:2px solid ",";border-left:2px solid ",";border-right:2px solid ",";background-color:",";color:",";"],(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.text.reverse})),ya=Object(s.e)(ma).withConfig({displayName:"style__TabInactive",componentId:"sc-tkevm9-3"})(["background-color:",";color:",";"],(function(e){return e.theme.colors.bg.wash}),(function(e){return e.theme.colors.text.default}
1)),ba=s.e.div.withConfig({displayName:"style__TabContent",componentId:"sc-tkevm9-4"})(["padding-top:1rem;background-color:",";"],(function(e){return e.theme.colors.bg.wash})),va=(s.e.button.withConfig({displayName:"style__StyledIcon",componentId:"sc-tkevm9-5"})(["color:",";background-color:",";"],(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.bg.default})),o.a.createElement),ga=function(e){var t=e.data,n=Object(r.useState)(0),a=n[0],i=n[1],c=Object(r.useState)(0),l=c[0],u=c[1];return Object(r.useEffect)((function(){l&&clearTimeout(l),t.timer>0&&u(setTimeout((function(){i((a+1)%t.data.length)}),1e3*t.timer))}),[a]),0==t.data.length?null:va(o.a.Fragment,null,va(pa,null,t.data.map((function(e,t){return t==a?va(ha,null,t+1):va(ya,{onClick:function(){return i(t)}},t+1)}))),va(ba,null,t.length||va(li,{data:t.data[a]})))},wa=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1skddsu-0"})(["box-sizing:border-box;"]),Oa=o.a.createElement,ja=function(e){var t=e.data,n=t.data.map((function(e,n){return n%2==0?t.data.slice(n,n+2):null})).filter((function(e){return null===e||void 0===e?void 0:e.length})),r=Object(a.useRouter)();return Oa(wa,null,n.map((function(e,t){return Oa(c.d,{flexWrap:"wrap",alignItems:"start"},null===e||void 0===e?void 0:e.map((function(e,t){return Oa(c.c,{width:[1,1,.5],pr:[0,0,t%2==0?3:0],pl:[0,0,t%2==0?3:0],pt:3},Oa(c.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},Oa(u.m,null," ",e.nadnaslov," "),e.rb<=4?Oa(c.d,{flexWrap:"wrap",alignItems:"start"},Oa(c.c,{width:u.p,px:1},Oa(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id),alt:e.naslov})),Oa(c.c,{width:1-u.p,px:1},Oa(u.n,null," ",e.naslov," "),Oa(u.i,{date:e.datum}))):Oa(o.a.Fragment,null,Oa(u.n,null," ",e.naslov," "),Oa(u.i,{date:e.datum}))))})),t==n.length-1||Oa(u.j,null))})),Oa(c.l,{href:Object(m.a)(t.url)},Oa(u.e,null," ",t.link," ")))},xa=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-136cldb-0"})(["box-sizing:border-box;"]),_a=o.a.createElement,ka=function(e){var t,n,r=e.data,i=e.noMore,l=Object(a.useRouter)();return _a(xa,null,_a(u.g,null,_a(c.d,{alignItems:"start",flexWrap:"wrap"},_a(c.c,{pr:[0,0,2],width:[1,1,.5]},null===(t=r.data)||void 0===t?void 0:t.slice(0,4).map((function(e,t){return _a(c.l,{as:"/".concat(l.query.insId,"/article/").concat(e.id),to:"/[insId]/article/[id]",key:e.id},e.rb<=2?_a(c.d,{flexWrap:"wrap",alignItems:"start"},_a(c.c,{width:u.p,px:1},_a(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/thumbnail/").concat(e.id),alt:e.naslov})),_a(c.c,{width:1-u.p,px:1},_a(u.n,null," ",e.naslov," "),_a(u.i,{date:e.datum}),_a(u.o,null," ",e.sazetak," "))):_a(o.a.Fragment,null,_a(u.n,null," ",e.naslov," "),_a(u.i,{date:e.datum})),t==r.data.length-1||_a(u.j,null))}))),_a(c.c,{pl:[0,0,2],width:[1,1,.5]},null===(n=r.data)||void 0===n?void 0:n.slice(4,100).map((function(e,t){return _a(c.l,{as:"/".concat(l.query.insId,"/article/").concat(e.id),to:"/[insId]/article/[id]",key:e.id},_a(u.n,null," ",e.naslov," "),_a(u.i,{date:e.datum}),t==r.data.length-1||_a(u.j,null))}))))),_a(c.l,{href:Object(m.a)(r.url)},_a(u.e,null," ",i||r.link," ")))},Ca=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-mthpzc-0"})(["box-sizing:border-box;"]),Sa=o.a.createElement,Ea=function(e){var t=e.data,n=t.data.map((function(e,n){return n%2==0?t.data.slice(n,n+2):null})).filter((function(e){return null===e||void 0===e?void 0:e.length})),r=Object(a.useRouter)();return Sa(Ca,null,n.map((function(e,t){return Sa(c.d,{flexWrap:"wrap"},null===e||void 0===e?void 0:e.map((function(e,t){return Sa(c.c,{width:[1,1,.5],pr:[0,0,t%2==0?3:0],pl:[0,0,t%2==0?3:0],pt:3},Sa(c.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},Sa(u.m,null," ",e.nadnaslov," "),Sa(c.d,{flexWrap:"wrap",justifyContent:"space-between"},Sa(c.c,{px:1},Sa(u.n,null," ",e.naslov," ")),Sa(c.c,{px:1},Sa(u.i,null," ",e.datum," ")))))})),t==n.length-1||Sa(u.j,null))})),Sa(c.l,{href:Object(m.a)(t.url)},Sa(u.e,null," ",t.link," ")))},Ia=n("fGyu"),Da=s.e.div.withConfig({displayName:"style__CardContainer",componentId:"sc-pxicpo-0"})(["",";background-color:",";color:",";width:100%;"],c.t,(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.text.reverse})),Pa=s.e.div.withConfig({displayName:"style__CardTitle",componentId:"sc-pxicpo-1"})(["",";font-size:28px;font-weight:600;padding:1.5rem;width:75%;"],c.t),Na=s.e.div.withConfig({displayName:"style__IconContainer",componentId:"sc-pxicpo-2"})(["font-size:48px;display:flex;justify-content:flex-end;padding-right:1rem;padding-bottom:1rem;"]),Ta=(s.e.div.withConfig({displayName:"style__CardsDivider",componentId:"sc-pxicpo-3"})(["border-top:5px solid ",""],(function(e){return e.theme.colors.brand.default})),n("AU4o")),La=n.n(Ta),Ra=o.a.createElement,za=function(e){var t=e.data,a=Object(r.useState)([]),i=a[0],l=a[1],s=La()((function(){return Promise.resolve().then(n.bind(null,"T8kG")).then((function(e){return e.FaGavel}))}),{loadableGenerated:{webpack:function(){return["T8kG"]},modules:["react-icons/fa"]}});return Ra("div",null,Ra(c.d,{flexWrap:"wrap",alignItems:"stretch"},t.data.map((function(e,n){return Ra(c.c,{width:[1,1,t.brojStupaca<=2?.48:1],mr:[0,0,"".concat(n%2==0?2:0,"%")],ml:[0,0,"".concat(n%2==1?2:0,"%")],my:"2%"},Ra(c.l,{key:e.id,href:Object(m.a)(e.url)},i.includes(e.id)?Ra(Da,null,Ra(Pa,null," ",e.naslov," "),Ra(Na,null," ",Ra(s,null)," ")):Ra(o.a.Fragment,null,Ra(c.d,{pb:2,justifyContent:"center"},Ra(c.c,{width:1},Ra(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(e.id),alt:"slika",onError:function(){l([].concat(Object(Ia.a)(i),[e.id]))},height:["35vh","50vh","40vh","40vh"]})))),Ra(u.h,null," ",e.naslov," ")))}))))},Aa=(o.a.createElement,Object(s.e)(u.n).withConfig({displayName:"style__StyledNaslovBig",componentId:"sc-1h9wial-0"})(["font-size:23px;margin-bottom:0.4rem;"])),Fa=(Object(s.e)(u.n).withConfig({displayName:"style__StyledNaslovSmall",componentId:"sc-1h9wial-1"})(["font-size:14px;margin-top:0.25rem;"]),Object(s.e)(c.c).withConfig({displayName:"style__ColoredFlexCol",componentId:"sc-1h9wial-2"})([""]),s.e.div.withConfig({displayName:"style__DateContainer",componentId:"sc-1h9wial-3"})(["margin-top:3px;font-weight:400;font-size:10px;color:",";display:flex;align-items:center;"],(function(e){return e.theme.colors.text.secondary})),Object(s.e)(i.FaRegCalendarAlt).withConfig({displayName:"style__Icon",componentId:"sc-1h9wial-4"})(["margin-right:0.25rem;"]),s.e.div.withConfig({displayName:"style__ImageContainer",componentId:"sc-1h9wial-5"})(["font-size:0;position:relative;"]),s.e.span.withConfig({displayName:"style__IconContainer",componentId:"sc-1h9wial-6"})(["font-size:2rem;text-align:center;position:absolute;width:2rem;height:100%;background-color:#efeefe;opacity:0.1;
1display:flexbox;align-items:center;&:hover{opacity:0.3;}"])),Ma=(Object(s.e)(Fa).withConfig({displayName:"style__LeftIcon",componentId:"sc-1h9wial-7"})(["left:0;top:0;"]),Object(s.e)(Fa).withConfig({displayName:"style__RightIcon",componentId:"sc-1h9wial-8"})(["top:0;right:0;"]),Object(s.e)(u.o).withConfig({displayName:"style__StyledSazetakBig",componentId:"sc-1h9wial-9"})(["font-size:12px;line-height:16px;margin-top:0.25rem;"])),Wa=(s.e.div.withConfig({displayName:"style__Gallery",componentId:"sc-1h9wial-10"})([""]),Object(s.e)(c.c).withConfig({displayName:"style__GalleryWrapper",componentId:"sc-1h9wial-11"})(["box-sizing:border-box;height:auto;width:100%;margin-bottom:2rem;.image-gallery-content.right .image-gallery-slide .image-gallery-image{height:55vh;}.image-gallery-content.buttom .image-gallery-slide .image-gallery-image{height:40vh;}.image-gallery-svg{height:2rem;width:2rem;&:hover{}}.image-gallery-play-button .image-gallery-svg{height:1.25rem;width:1.25rem;}.image-gallery-fullscreen-button,.image-gallery-play-button{bottom:0;padding:20px;padding-bottom:0.75rem;}.image-gallery-thumbnails-wrapper.left,.image-gallery-thumbnails-wrapper.right{width:100px;}.image-gallery-slide-wrapper.left,.image-gallery-slide-wrapper.right{width:calc(100% - 160px);}.image-gallery-thumbnail{width:100px;}.image-gallery-slide-wrapper.left,.image-gallery-slide-wrapper.right{background-color:",";}.image-gallery-thumbnail.active,.image-gallery-thumbnail:hover,.image-gallery-thumbnail:focus{outline:none;border:4px solid ",";}@media(max-width:1500px){.image-gallery-content.right .image-gallery-slide .image-gallery-image{height:38vh;}.image-gallery-thumbnails-wrapper.left,.image-gallery-thumbnails-wrapper.right{width:100px;}.image-gallery-slide-wrapper.left,.image-gallery-slide-wrapper.right{width:calc(100% - 110px);}.image-gallery-thumbnail{width:100px;}}@media(max-width:768px){.image-gallery-content.right .image-gallery-slide .image-gallery-image{height:30vh;}.image-gallery-thumbnails-wrapper.left,.image-gallery-thumbnails-wrapper.right{width:100px;}.image-gallery-slide-wrapper.left,.image-gallery-slide-wrapper.right{width:calc(100% - 110px);}.image-gallery-thumbnail{width:100px;}}"],(function(e){return e.theme.colors.bg.wash}),(function(e){return e.theme.colors.brand.alt}))),qa=(s.e.button.withConfig({displayName:"style__NavButton",componentId:"sc-1h9wial-12"})(["position:absolute;top:50%;background-color:transparent;color:white;font-size:48px;z-index:99999;"]),s.e.div.withConfig({displayName:"style__TitleWrapper",componentId:"sc-1h9wial-13"})(["overflow-y:hidden;"]));function Ya(){return(Ya=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Va=function(e){var t=Object(r.useRef)(e);return Object(r.useEffect)((function(){t.current=e})),t},Ga=function(e){var t=void 0===e?{}:e,n=t.ref,o=t.root,a=t.rootMargin,i=t.threshold,c=void 0===i?0:i,l=t.trackVisibility,u=t.delay,s=t.unobserveOnEnter,d=t.onChange,f=t.onEnter,p=t.onLeave,m=Object(r.useState)({inView:!1,scrollDirection:{}}),h=m[0],y=m[1],b=Object(r.useRef)(!1),v=Object(r.useRef)({}),g=Object(r.useRef)(null),w=Object(r.useRef)(!1),O=Va(d),j=Va(f),x=Va(p),_=Object(r.useRef)(null),k=Object(r.useRef)(null==_?void 0:_.current);k=n||k;var C=Object(r.useCallback)((function(e){e&&(k.current=e),g.current&&k.current&&g.current.observe(k.current)}),[k]),S=Object(r.useCallback)((function(){g.current&&g.current.disconnect()}),[]),E=Object(r.useCallback)((function(){if(k.current){var e=k.current.getBoundingClientRect(),t=e.x,n=e.y;v.current={x:t,y:n}}}),[k]);return Object(r.useEffect)((function(){return"IntersectionObserver"in window&&"IntersectionObserverEntry"in window?(g.current=new IntersectionObserver((function(e){var t=e[0],n=t.intersectionRatio,r=t.isIntersecting,o=t.boundingClientRect,a=o.x,i=o.y,u=t.isVisible,d={},f=Array.isArray(c)?Math.min.apply(Math,c):c,p=void 0!==r?r:n>0;p=f>0?n>=f:p,a<v.current.x&&(d.horizontal="left"),a>v.current.x&&(d.horizontal="right"),v.current.x=a,i<v.current.y&&(d.vertical="up"),i>v.current.y&&(d.vertical="down"),v.current.y=i;var m={entry:t,scrollDirection:d,observe:C,unobserve:S};l&&(void 0!==u||w.current||(console.warn("\ud83d\udca1 react-cool-inview: the browser doesn't support Intersection Observer v2, fallback to v1 behavior"),w.current=!0),void 0!==u&&(p=u)),p&&!b.current&&(s&&S(),j.current&&j.current(m)),!p&&b.current&&x.current&&x.current(m),O.current&&O.current(Ya({},m,{inView:p})),y({inView:p,scrollDirection:d,entry:t}),b.current=p}),{root:o,rootMargin:a,threshold:c,trackVisibility:l,delay:u}),C(),function(){return S()}):(console.error("\ud83d\udca1 react-cool-inview: the browser doesn't support Intersection Observer, please install polyfill: https://github.com/wellyshen/react-cool-inview#intersection-observer-polyfill"),function(){return null})}),[s,o,a,JSON.stringify(c),l,u,C,S]),Ya({ref:k},h,{observe:C,unobserve:S,updatePosition:E})}
1,Ha=n("d4AU"),Ba=o.a.createElement,Ua=function(e){var t=e.data,n=Object(a.useRouter)(),o=Object(r.useState)(0),i=o[0],l=o[1],s=Object(r.useState)(!0),d=s[0],f=s[1],p=t.data[i],m=(Object(Ha.a)().width,Object(r.useContext)(Vo.I18nContext).i18n.language),h=Ga({threshold:0}),y=h.ref,b=h.inView,v=Object(r.useRef)(null);return Object(r.useEffect)((function(){v.current&&(b&&d?v.current.play():v.current.pause())}),[b]),Ba(c.c,{width:1,ref:y},Ba(Wa,null,Ba(Yo.a,{items:null===t||void 0===t?void 0:t.data.map((function(e){return{original:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id),thumbnail:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/thumbnail/").concat(e.id)}})),thumbnailPosition:"right",onBeforeSlide:function(e){return l(e)},onClick:function(){return n.push("/[lang]/[insId]/article/[id]","/".concat(m,"/").concat(n.query.insId,"/article/").concat(p.id))},showFullscreenButton:!1,slideInterval:7500,autoPlay:!0,onPause:function(){return b&&f(!1)},onPlay:function(){return b&&f(!0)},ref:v,lazyLoad:!0})),Ba(qa,null,Ba(c.l,{as:"/".concat(n.query.insId,"/article/").concat(p.id),to:"[insId]/article/[id]",key:p.id},Ba(c.c,null,Ba(Aa,null," ",p.naslov," "),Ba(u.i,{date:p.datum}),Ba(Ma,null," ",p.sazetak," ")))))},Xa=(o.a.createElement,Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-vfgixp-0"})(["box-sizing:border-box;"])),Ka=(Object(s.e)(c.c).withConfig({displayName:"style__IconContainer",componentId:"sc-vfgixp-1"})(["color:#ffffff;justify-content:center;&:hover{color:",";box-shadow:",";}"],(function(e){return e.theme.colors.bg.border}),(function(e){return e.theme.shadows.large})),s.e.button.withConfig({displayName:"style__IconButton",componentId:"sc-vfgixp-2"})(["background-color:inherit;color:inherit;"]),Object(s.e)(c.d).withConfig({displayName:"style__Lister",componentId:"sc-vfgixp-3"})(["",";flex-wrap:wrap;align-items:stretch;@media only screen and (max-width:","){margin-top:-0.25rem;}"],c.t,c.s.xs)),Qa=(Object(s.e)(c.c).withConfig({displayName:"style__TextContainer",componentId:"sc-vfgixp-4"})(["",";color:#ffffff;font-size:14px;margin-left:0.5rem;margin-right:0.5rem;"],c.t),Object(s.e)(c.c).withConfig({displayName:"style__LinkNaslov",componentId:"sc-vfgixp-5"})(["background-color:",";width:33.33333%;color:",";font-size:16px;font-weight:lighter;line-height:24px;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.5rem;padding-bottom:1rem;border-right:2px solid ",";word-wrap:anywhere;cursor:pointer;@media only screen and (max-width:","){font-size:11px;line-height:14px;padding:0.25rem 0.125rem 0.5rem 0.25rem;}"],(function(e){var t=e.theme;return e.active?t.colors.brand.alt:t.colors.brand.default}),(function(e){return e.theme.colors.text.reverse}),(function(e){var t=e.last,n=e.theme;return t?n.colors.brand.default:n.colors.text.reverse}),c.s.sm)),Ja=(s.e.a.withConfig({displayName:"style__A",componentId:"sc-vfgixp-6"})(["width:100%;"]),Object(s.e)(u.k).withConfig({displayName:"style__MyIMG",componentId:"sc-vfgixp-7"})(["animation-name:fadeIn;animation-duration:3s;animation-iteration-count:1;animation-fill-mode:forwards;animation-delay:3s;max-height:20rem;margin:auto;"]),Object(s.e)(c.c).withConfig({displayName:"style__GalleryWrapper",componentId:"sc-vfgixp-8"})(["box-sizing:border-box;height:auto;width:100%;.image-gallery-content .image-gallery-slide .image-gallery-image{height:55vh;background-color:",";}.image-gallery-svg{height:45px;width:22px;}.image-gallery-fullscreen-button,.image-gallery-play-button{bottom:0;padding:20px;padding-bottom:0px;}.image-gallery-thumbnails-wrapper.left,.image-gallery-thumbnails-wrapper.right{width:150px;}.image-gallery-slide-wrapper.left,.image-gallery-slide-wrapper.right{background-color:#eee;}@media (max-width:768px){.image-gallery-content .image-gallery-slide .image-gallery-image{height:30vh;}}"],(function(e){return e.theme.colors.bg.wash}))),Za=o.a.createElement;function $a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ei(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?$a(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ti=function(e){var t=e.data,n=e.vijest,o=Object(a.useRouter)().query.insId,i=Object(r.useState)(t.data.length?0:null),l=i[0],u=i[1],s=Object(r.useRef)(null);t.data.length;t.data=t.data.map((function(e,t){return ei(ei({},e),{},{index:t})}));var d=Object(a.useRouter)(),f=t.data[l],p=Object(r.useContext)(Vo.I18nContext).i18n.language,m=function(e,t){return n?d.push("/[lang]/[insId]/article/[id]","/".concat(p,"/").concat(o,"/article/").concat(e)):d.push(t)};return Za(Xa,null,Za(c.d,{flexWrap:"wrap",alignItems:"stretch",width:1},Za(Ja,null,Za(Yo.a,{items:null===t||void 0===t?void 0:t.data.map((function(e){return{original:n?"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id):"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(e.id),thumbnail:n?"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id):"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/").concat(e.id)}})),autoPlay:!0,showThumbnails:!1,showFullscreenButton:!1,showPlayButton:!1,showNav:!0,slideInterval:7500,onBeforeSlide:function(e){return u(e)},ref:s,onClick:function(){return m(f.id,f.url)},lazyLoad:!0}))),Za(Ka,{justifyContent:"space-between"},function(e,t){var n=e.length;return e.length<3?e:[e[(t-1+n)%n],e[t],e[(t+1)%n]]}(t.data,l).map((function(e,t){return Za(Qa,{active:1==t,onClick:function(){m(e.id,e.url)},last:2==t},e.naslov)}))))},ni=Object(s.e)(c.c).withConfig({displayName:"style__StyledLinkListWrapper",componentId:"sc-1d7dw08-0"})(["box-sizing:border-box;"]),ri=o.a.createElement,oi=function(e){var t,n=e.data,r=e.small,o=e.md,i=Object(a.useRouter)(),l=r?.2:o?u.p:.4;return ri(ni,null,ri(u.g,null,null===(t=n.data)||void 0===t?void 0:t.map((function(e,t){return ri(c.l,{as:"/".concat(i.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id},ri(c.d,{flexWrap:"wrap",alignItems:"start"},ri(c.c,{width:l,px:1},ri(u.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/thumbnail/").concat(e.id),alt:e.naslov})),ri(c.c,{width:1-l,px:1},ri(u.n,null," ",e.naslov," "),ri(u.i,{date:e.datum}),r||ri(u.o,null," ",e.sazetak," "))),t==n.data.length-1||ri(u.j,null))}))),ri(c.l,{href:Object(m.a)(n.url)},ri(u.e,null," ",n.link," ")))},ai=o.a.createElement,ii=function(e){var t=e.data;if(!t.naslovGrupe||25==t.templateGrupe)return null;var n=100<=t.templateGrupe&&t.templateGrupe<=105;return[].includes(parseInt(t.templateGrupe))?ai(u.b,null," ",t.naslovGrupe," "):"D"==t.solid?ai(o.a.Fragment,null,ai(u.d,{"aria-label":t.naslovGrupe}," ",n&&ai(i.FaCalendarAlt,null)," ",t.naslovGrupe," "),ai(c.b,{width:.3,mt:1})):ai(u.c,{"aria-label":t.naslovGrupe}," ",n&&ai(i.FaCalendarAlt,null)," ",t.naslovGrupe," ")},ci=function(e){var t=e.data;switch(parseInt(t.templateGrupe)){case 1:return ai(x,{data:t});case 2:return ai(y,{data:t});case 3:case 4:return ai(Co,{data:t});case 5:return ai(g,{data:t});case 6:case 7:return ai(ja,{data:t});case 8:return ai(ka,{data:t});case 9:return ai(Ea,{data:t});case 10:return ai(C,{data:t});case 11:return ai(mo,{data:t});case 12:return ai(bo,{data:t});case 13:return ai(wo,{data:t});case 14:return ai(xo,{data:t});case 15:return ai(oi,{data:t});case 16:return ai(oi,{data:t,small:!0});case 17:return ai(ti,{data:t,vijest:!0});case 18:return ai(Ua,{data:t});case 19:return ai(oi,{data:t,md:!0});case 25:return ai(c.b,{width:1});case 31:return ai(Eo,{data:t});case 32:return ai(Qo,{data:t});case 33:return ai(Ao,{data:t});case 34:return ai(Uo,{data:t});case 35:return ai(Qo,{data:t});case 36:return ai($o,{data:t});case 37:return ai(na,{data:t});case 38:case 39:return ai(za,{data:t});case 40:return ai(ti,{data:t});case 43:return ai(ca,{data:t});case 44:return ai(fa,{data:t});case 61:return ai(ga,{data:t});case 100:case 101:case 102:return ai(L,{data:t});case 103:return ai(io,{data:t});case 104:return ai(io,{data:t,columned:!0});case 105:return ai(io,{data:t});case 106:case 107:return ai(so,{data:t});default:return ai(g,{data:t})}},li=t.a=function(e){var t,n=e.data,r=Object(a.useRouter)();return 100<=(null===n||void 0===n?void 0:n.templateGrupe)&&(null===n||void 0===n?void 0:n.templateGrupe)<=105||0!=(null===n||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:t.length)||25==n.templateGrupe?ai(u.a,{mx:[0,0,2],mb:3,solid:n.solid,solidColor:n.solidColor,border:n.border,borderColor:n.borderColor},n.templateGrupe<=20?ai(c.l,{to:"[insId]/grupe-vijesti/[id]",as:"".concat(r.query.insId,"/grupe-vijesti/").concat(n.idGrupe)},ai(ii,{data:n})):ai(ii,{data:n}),ai(c.c,{py:0,pr:0,pl:"0"},ai(ci,{data:n}))):null}},Faf3:function(e,t,n){"use strict";n.r(t),n.d(t,"CSSTransition",(function(){return r.a})),n.d(t,"ReplaceTransition",(function(){return j})),n.d(t,"SwitchTransition",(function(){return D})),n.d(t,"TransitionGroup",(function(){return v})),n.d(t,"Transition",(function(){return x.d})),n.d(t,"config",(function(){return P.a}));var r=n("05Xt"),o=n("+wNj"),a=n("BFfR"),i=n("ERkP"),c=n.n(i),l=n("7nmT"),u=n.n(l),s=n("cxan"),d=n("pWxA"),f=n("IbVF");function p(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e}
vendor: 1,506 bytes, line 1
1)).forEach((function(e){n[e.key]=function(e){return t&&Object(i.isValidElement)(e)?t(e):e}(e)})),n}function m(e,t,n){return null!=n[t]?n[t]:e.props[t]}function h(e,t,n){var r=p(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var c={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var u=o[l][r];c[o[l][r]]=n(u)}c[l]=n(l)}for(r=0;r<a.length;r++)c[a[r]]=n(a[r]);return c}(t,r);return Object.keys(o).forEach((function(a){var c=o[a];if(Object(i.isValidElement)(c)){var l=a in t,u=a in r,s=t[a],d=Object(i.isValidElement)(s)&&!s.props.in;!u||l&&!d?u||!l||d?u&&l&&Object(i.isValidElement)(s)&&(o[a]=Object(i.cloneElement)(c,{onExited:n.bind(null,c),in:s.props.in,exit:m(c,"exit",e),enter:m(c,"enter",e)})):o[a]=Object(i.cloneElement)(c,{in:!1}):o[a]=Object(i.cloneElement)(c,{onExited:n.bind(null,c),in:!0,exit:m(c,"exit",e),enter:m(c,"enter",e)})}})),o}var y=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},b=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(Object(d.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Object(a.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;
1return{children:t.firstRender?(n=e,r=a,p(n.children,(function(e){return Object(i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:m(e,"appear",n),enter:m(e,"enter",n),exit:m(e,"exit",n)})}))):h(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=p(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(s.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Object(o.a)(e,["component","childFactory"]),a=this.state.contextValue,i=y(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?c.a.createElement(f.a.Provider,{value:a},i):c.a.createElement(f.a.Provider,{value:a},c.a.createElement(t,r,i))},t}(c.a.Component);b.propTypes={},b.defaultProps={component:"div",childFactory:function(e){return e}};var v=b,g=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}Object(a.a)(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,a=c.a.Children.toArray(o)[t];if(a.props[e]&&(r=a.props)[e].apply(r,n),this.props[e]){var i=a.props.nodeRef?void 0:u.a.findDOMNode(this);this.props[e](i)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=Object(o.a)(e,["children","in"]),a=c.a.Children.toArray(t),i=a[0],l=a[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,c.a.createElement(v,r,n?c.a.cloneElement(i,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):c.a.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(c.a.Component);g.propTypes={};var w,O,j=g,x=n("sypB");var _="out-in",k="in-out",C=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},S=((w={})[_]=function(e){var t=e.current,n=e.changeState;return c.a.cloneElement(t,{in:!1,onExited:C(t,"onExited",(function(){n(x.b,null)}))})},w[k]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,c.a.cloneElement(r,{in:!0,onEntered:C(r,"onEntered",(function(){n(x.b)}))})]},w),E=((O={})[_]=function(e){var t=e.children,n=e.changeState;return c.a.cloneElement(t,{in:!0,onEntered:C(t,"onEntered",(function(){n(x.a,c.a.cloneElement(t,{in:!0}))}))})},O[k]=function(e){var t=e.current,n=e.children,r=e.changeState;return[c.a.cloneElement(t,{in:!1,onExited:C(t,"onExited",(function(){r(x.a,c.a.cloneElement(n,{in:!0}))}))}),c.a.cloneElement(n,{in:!0})]},O),I=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:x.a,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}Object(a.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===x.b&&e.mode===k?{status:x.b}:!t.current||(n=t.current,r=e.children,n===r||c.a.isValidElement(n)&&c.a.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:c.a.cloneElement(e.children,{in:!0})}:{status:x.c};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,a=o.status,i=o.current,l={children:n,current:i,changeState:this.changeState,status:a};switch(a){case x.b:e=E[r](l);break;case x.c:e=S[r](l);break;case x.a:e=i}return(c.a.createElement(f.a.Provider,{value:{isMounting:!this.appeared}},e))},t}(c.a.Component);I.propTypes={},I.defaultProps={mode:_};var D=I,P=n("cSQC")},IpVN:function(e,t,n){"use strict";var r=n("ERkP"),o=n.n(r),a=n("LxTm"),i=n("j/s1"),c=n("GkOb"),l=i.e.button.withConfig({displayName:"style__IconContainer",componentId:"sc-1hviqnr-0"})(["width:21.5%;margin:1.5%;padding:0;display:flex;justify-content:center;align-items:center;padding-bottom:1rem;padding-top:1rem;background-color:",";color:",";font-size:16px;",";&:hover{cursor:pointer;}"],(function(e){return e.theme.colors.bg.wash}),(function(e){return e.theme.colors.text.alt}),Object(c.d)(c.j)),u=i.e.div.withConfig({displayName:"style__Tooltip",componentId:"sc-1hviqnr-1"})(["",";background-color:",";color:",";position:fixed;padding:0.5rem;top:1rem;right:calc(50vw - 15px);visibility:",";
1opacity:0.6;transition:opacity 1s easy-on-out;"],a.t,(function(e){return e.theme.colors.bg.success}),(function(e){return e.theme.colors.text.reverse}),(function(e){return e.show?"visible":"hidden"})),s=n("T8kG"),d=n("k7Sn"),f=o.a.createElement;t.a=Object(d.withTranslation)("common")((function(e){e.data;var t=e.htmlRef,n=e.fontSize,o=e.setFontSize,i=e.print,c=e.t,d=function(e,t){var n=e.childNodes;if(n.length>0){var r=parseInt(e.style.fontSize);r&&(e.style.fontSize="".concat(r+t,"px"))}for(var o=0;o<n.length;o++)d(n[o],t)},p=Object(r.useState)(!1),m=p[0],h=p[1];return f(a.d,{flexWrap:"wrap",alignItems:"stretch",mb:2},f(l,{onClick:function(){!function(){var e=document.createElement("textarea");e.innerText=window.location.href,document.body.appendChild(e),e.select(),document.execCommand("copy"),e.remove()}(),h(!0),setTimeout((function(){return h(!1)}),2e3)}},f(s.FaCopy,null)),f(l,{onClick:i},f(s.FaPrint,null)),f(l,{onClick:function(){n>-6&&(d(t.current,-2),o(n-2))},fontSize:12},f(s.FaTextHeight,null)),f(l,{onClick:function(){n<8&&(d(t.current,2),o(n+2))},fontSize:24},f(s.FaTextHeight,null)),f(u,{show:m}," ",c("Kopirano")," "))}))},QT7M:function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return s}));var r=n("ERkP"),o=n.n(r),a=(n("BIkq"),n("ysqo")),i=n.n(a),c=n("83Zx"),l=(n("z4WZ"),n("obM0"),n("hJYT")),u=o.a.createElement,s=!0;t.default=function(e){var t=e.header,n=e.footer,r=e.vijest,a=e.institucija,s=e.navigationItems,d=e.id;return u(o.a.Fragment,null,u(i.a,null,u("title",null,r.naslov),u("link",{rel:"icon",href:"/favicon.ico"}),u("meta",{property:"og:title",content:r.naslov}),u("meta",{property:"og:image",content:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/thumbnail/").concat(d)}),u("meta",{property:"description",content:r.sazetak}),u("meta",{property:"og:description",content:r.sazetak}),u("meta",{property:"og:type",content:"article"})),u(c.a,{data:{header:{header:t,navigationItems:s},footer:n,institucija:a}},u(l.a,{data:r,navigationItems:s})))}},"QsI/":function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,l,"next",e)}function l(e){r(i,o,a,c,l,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return o}))},REVl:function(e,t,n){"use strict";var r=n("ERkP"),o=n.n(r),a=n("LxTm"),i=n("j/s1"),c=n("T8kG"),l=i.e.div.withConfig({displayName:"style__ViewCounterWrapper",componentId:"sc-fu1m47-0"})(["",";width:100%;display:flex;align-items:center;justify-content:center;background-color:",";color:#fff;font-size:18px;margin-bottom:2rem;padding:0.125rem;"],a.t,(function(e){return e.theme.colors.brand.dark})),u=Object(i.e)(c.FaEye).withConfig({displayName:"style__CounterIcon",componentId:"sc-fu1m47-1"})(["margin-right:4px;"]),s=n("7xIC"),d=n("ggb3"),f=n.n(d),p=n("k7Sn"),m=o.a.createElement;t.a=Object(p.withTranslation)("common")((function(e){var t=e.data,n=e.t,o=Object(s.useRouter)(),a=Object(r.useState)(0),i=a[0],c=a[1];return Object(r.useEffect)((function(){var e=o.query.id||t.id,n=JSON.parse(localStorage.getItem("va"))||[];n.includes(parseInt(e))||f.a.put("".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/vijest/broj-citanja/").concat(e)).then((function(){c(1),n.push(e),n.length>1e3&&n.shift(),localStorage.setItem("va","[".concat(n,"]"))})).catch((function(){}))}),[]),m(l,null,m(u,null),t.brojCitanja+i," "+n("PREGLEDA"))}))},VkbS:function(e,t,n){"use strict";var r=n("ERkP"),o=n.n(r),a=n("LxTm"),i=n("ygoZ"),c=n("T8kG"),l=n("fiWp"),u=n("k7Sn"),s=o.a.createElement,d=function(e){var t=e.ext,n={marginRight:"8px",fontSize:"16px"};return"PDF"==t?s(c.FaRegFilePdf,{style:n,color:"#e62e2d"}):"DOC"==t||"DOCX"==t?s(c.FaRegFileWord,{style:n,color:"#2850a0"}):"PPT"==t||"PPTX"==t?s(c.FaRegFilePowerpoint,{style:n,color:"#cb4424"}):"XLS"==t||"XLSX"==t?s(c.FaRegFileExcel,{style:n,color:"#377840"}):s(c.FaRegFileAlt,{style:n})},f=function(e){var t=e.labela,n=e.vrijednost,r=e.tipMaske;return s(i.b,null,s(i.d,null," ",t,": "),"LINK"==r?s(i.a,{href:n,target:"_blank"}," ",n," "):n)};t.a=Object(u.withTranslation)("common")((function(e){var t=e.t,n=e.naslov,r=e.data,o=e.isFiles,u=e.isAnkete,p=e.isLinkovi,m=e.isAtributi;return(null===r||void 0===r?void 0:r.length)?s(i.f,null,s(i.e,null,u&&s(c.FaPoll,{style:{marginRight:"5px"}}),o&&s(c.FaFileDownload,{style:{marginRight:"5px"}}),p&&s(c.FaLink,{style:{marginRight:"5px"}}),m&&s(c.FaList,{style:{marginRight:"8px"}}),t(n)),r.map((function(e){return m?s(f,e):s(a.l,{href:o?"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/vijest/download/").concat(e.id):Object(l.a)(e.link),key:e.id},s(i.c,null,o&&s(d,{ext:e.tipDoc}),e.naziv))}))):null}))},cSUa:function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return d}));var r=n("lN5B"),o=n("j/s1"),a=n("GkOb"),i=n("LxTm"),c=Object(o.e)(i.c).withConfig({displayName:"style__FormContainer",componentId:"sc-13szs5l-0"})(["width:100%;justify-self:center;justify-content:center;align-items:center;margin-top:0;
1"]),l=o.e.form.withConfig({displayName:"style__StyledForm",componentId:"sc-13szs5l-1"})(["display:flex;flex-direction:column;margin:5px;padding-bottom:1rem;padding-left:1rem;padding-right:1rem;background-color:",";",";@media (max-width:768px){width:100%;}"],(function(e){return e.theme.colors.bg.default}),Object(a.d)(a.h,a.g)),u=(o.e.div.withConfig({displayName:"style__Naslov",componentId:"sc-13szs5l-2"})(["",";width:100%;text-align:left;font-weight:500;font-size:30px;color:",";background-color:",";"],i.t,(function(e){return e.theme.colors.text.alt}),(function(e){return e.theme.colors.bg.default})),o.e.a.withConfig({displayName:"style__A",componentId:"sc-13szs5l-3"})(["",";font-size:14px;color:",";margin-bottom:0.75rem;&:hover{cursor:pointer;}"],i.t,(function(e){return e.theme.colors.text.link}))),s=o.e.button.withConfig({displayName:"style__Button",componentId:"sc-13szs5l-4"})(["",";color:#fff;background-color:",";font-size:14px;padding-top:0.625rem;padding-bottom:0.625rem;padding-left:10%;padding-right:10%;margin:auto;margin-bottom:1.5rem;transition:all 0.1s;&:hover{cursor:pointer;background-color:",";transform:translateY(-2px);}&:focus{transform:translateY(-1px);}",""],i.t,(function(e){return e.theme.colors.brand.default}),(function(e){var t=e.theme;return Object(r.a)(.07,t.colors.brand.default)}),a.g),d=(o.e.span.withConfig({displayName:"style__Alert",componentId:"sc-13szs5l-5"})(["",";width:80%;padding:1rem;color:",";visibility:",";background-color:",";"],(i.t,a.i),(function(e){return e.theme.colors.text.reverse}),(function(e){return e.visible?"visible":"hidden"}),(function(e){var t=e.color;return e.theme.colors.bg[t]})),o.e.h3.withConfig({displayName:"style__Header",componentId:"sc-13szs5l-6"})(["",";color:",";font-style:normal;font-weight:normal;font-size:30px;line-height:40px;",""],i.t,(function(e){return e.theme.colors.text.default}),a.i))},cVq8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotificationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NotificationManager",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Notifications",{enumerable:!0,get:function(){return r.default}}),t.default=void 0;var r=i(n("2lDr")),o=i(n("re8k")),a=i(n("poPI"));function i(e){return e&&e.__esModule?e:{default:e}}var c=r.default;t.default=c},eQiC:function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return y})),n.d(t,"c",(function(){return b})),n.d(t,"f",(function(){return v})),n.d(t,"a",(function(){return g}));var r=n("ERkP"),o=n.n(r),a=n("j/s1"),i=n("GkOb"),c=(n("C+fU"),n("LxTm")),l=(n("HbzS"),n("T8kG")),u=o.a.createElement,s=a.e.h1.withConfig({displayName:"style__Naslov",componentId:"sc-1fk13w6-0"})(["",";font-size:28px;line-height:36px;margin-bottom:0.75rem;color:",";@media(max-width:","){font-size:20px;line-height:28px;}"],c.t,(function(e){return e.theme.colors.text.default}),c.s.sm),d=a.e.h2.withConfig({displayName:"style__Podnaslov",componentId:"sc-1fk13w6-1"})(["",";font-size:14px;line-height:22px;margin-bottom:0.25rem;text-transform:uppercase;color:",";"],c.t,(function(e){return e.theme.colors.text.default})),f=a.e.div.withConfig({displayName:"style__DatumVijesti",componentId:"sc-1fk13w6-2"})(["",";font-size:12px;margin-bottom:0.75rem;color:",";display:",";",";"],c.t,(function(e){return e.theme.colors.text.secondary}),(function(e){return e.show?"visible":"none"}),Object(i.d)(i.i,i.g)),p=(a.e.div.withConfig({displayName:"style__WashedContainer",componentId:"sc-1fk13w6-3"})(["",";padding:1rem;padding-bottom:2rem;background-color:",";margin-bottom:2rem;"],c.t,(function(e){return e.theme.colors.bg.wash})),a.e.div.withConfig({displayName:"style__StyledVrsta",componentId:"sc-1fk13w6-4"})(["",";font-size:12px;display:flex;align-items:center;background-color:",";color:#fff;padding:0.125rem 0.375rem;border-radius:0.15rem;width:fit-content;margin-bottom:0.5rem;"],c.t,(function(e){return e.theme.colors.brand.dark}))),m=a.e.div.withConfig({displayName:"style__VrstaIconContainer",componentId:"sc-1fk13w6-5"})(["margin-right:0.25rem;font-size:13px;display:flex;align-items:center;"]),h=function(e){switch(e.vrsta){case"NEK":return u(l.FaBuilding,null);case"VOZ":return u(l.FaCarAlt,null);case"TEH":return u(l.FaTv,null);case"NAM":return u(l.FaCouch,null);case"OST":return u(l.FaInfoCircle,null);default:return null}},y=function(e){var t=e.vrsta;return u(m,null,u(h,{vrsta:t}))},b=a.e.div.withConfig({displayName:"style__HTMLContainer",componentId:"sc-1fk13w6-6"})(["width:100%;font-family:'Open Sans','Verdana','sans-serif';font-size:14px;line-height:20px;color:",";p{margin-bottom:0.75rem !important;min-height:12px;}ol,dl,ul{padding-left:2.5rem;margin-top:0.25rem;}",";"],(function(e){return e.theme.colors.text.default}),Object(i.d)(i.j)),v=Object(a.e)(c.c).withConfig({displayName:"style__PrintContainer",componentId:"sc-1fk13w6-7"})(["& *{color:#000 !important;}"]),g=Object(a.e)(c.c).withConfig({displayName:"style__ArticleWrapper",componentId:"sc-1fk13w6-8"})(["width:100%;background:",";"],(function(e){return e.theme.colors.bg.default}))},hJYT:function(e,t,n){"use strict";var r=n("ERkP"),o=n.n(r),a=n("Pvw5"),i=n("LxTm"),c=n("eQiC"),l=n("wvew"),u=(n("HbzS"),n("j/s1")),s=u.e.div.withConfig({displayName:"style__HashtagContainer",componentId:"sc-po6yta-0"})(["",";background-color:",";color:",";border-radius:12px;align-items:center;text-align:center;padding-left:0.5rem;padding-right:0.5rem;padding-top:3px;padding-bottom:3px;margin:3px;font-size:12px;font-weight:400;line-height:20px;white-space:nowrap;&:hover{text-decoration:underline;cursor:pointer;}"],i.t,(function(e){return e.theme.colors.bg.wash}),(function(e){return e.theme.colors.text.alt})),d=n("7xIC"),f=o.a.createElement,p=function(e){var t=e.data,n=Object(d.useRouter)();return f(i.d,{mb:3,flexWrap:"wrap"},t.map((function(e){return f(i.c,null,f(i.l,{as:"/".concat(n.query.insId,"/pretraga?query=").concat(encodeURIComponent("#"+e.naziv)),to:"/[insId]/pretraga"},f(s,null,"#",e.naziv)))})))},m=n("o44P"),h=Object(u.e)(i.c).withConfig({displayName:"style__GalleryWrapper",componentId:"sc-16hzzwk-0"})(["box-sizing:border-box;height:auto;width:100%;margin-bottom:2rem;.image-gallery-content.right .image-gallery-slide .image-gallery-image{max-height:",";}.image-gallery-svg{height:45px;width:22px;}.image-gallery-fullscreen-button,.image-gallery-play-button{bottom:0;padding:20px;padding-bottom:0px;}.image-gallery-slide-wrapper.left,.image-gallery-slide-wrapper.right{background-color:",";}
1.image-gallery-thumbnails-wrapper.left,.image-gallery-thumbnails-wrapper.right{width:150px;}.image-gallery-slide-wrapper.left,.image-gallery-slide-wrapper.right{width:calc(100% - 160px);}.image-gallery-thumbnail{width:150px;}"],(function(e){return e.fullscreen?"100vh":"60vh"}),(function(e){return e.theme.colors.bg.wash})),y=o.a.createElement,b=function(e){var t=e.data,n=Object(r.useState)([]),o=n[0],a=n[1],i=Object(r.useState)(!1),c=i[0],l=i[1],u=Object(r.useState)("right"),s=u[0],d=u[1];return Object(r.useEffect)((function(){a(t.map((function(e){return{original:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/multimedia/").concat(e.id),thumbnail:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/multimedia-thumbnail/").concat(e.id)}})));var e=function(){window.innerWidth<1100?d("bottom"):d("right")};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),0==t.length?null:o.length?y(h,{fullscreen:c},y(m.a,{items:o,thumbnailPosition:s,onScreenChange:function(e){return l(e)}})):null},v=n("REVl"),g=n("T8kG"),w=u.e.div.withConfig({displayName:"style__BackToTopWrapper",componentId:"sc-xtgxl9-0"})(["",";font-size:18px;line-height:25px;background-color:",";color:",";margin-top:1rem;padding-left:1.5rem;padding-right:1.5rem;padding-top:3px;padding-bottom:3px;display:flexbox;align-items:center;justify-content:center;",";&:hover{cursor:pointer;}@media(max-width:","){position:fixed;bottom:20px;left:10px;opacity:0.75;z-index:99999999;}"],i.t,(function(e){return e.theme.colors.bg.wash}),(function(e){return e.theme.colors.text.default}),(function(e){return 0==e.scrollY&&"display: none"}),i.s.sm),O=u.e.div.withConfig({displayName:"style__Filler",componentId:"sc-xtgxl9-1"})(["flex-grow:1;"]),j=Object(u.e)(g.FaAngleUp).withConfig({displayName:"style__Icon",componentId:"sc-xtgxl9-2"})(["margin-right:5px;@media(max-width:","){margin-left:5px;}"],i.s.sm),x=u.e.div.withConfig({displayName:"style__Text",componentId:"sc-xtgxl9-3"})(["@media(max-width:","){display:none;}"],i.s.sm),_=n("k7Sn"),k=o.a.createElement,C=Object(_.withTranslation)("common")((function(e){e.data;var t=e.t,n=Object(r.useState)(0),o=n[0],a=n[1];Object(r.useEffect)((function(){var e=function(){return a(window.scrollY)};return e(),window.addEventListener("scroll",e),function(){return window.removeEventListener("scroll",e)}}));return k(i.d,null,k(O,null),k(w,{onClick:function(){window.scrollTo({top:0,behavior:"smooth"})},scrollY:o},k(j,null),k(x,null," ",t("Povratak na vrh")," ")))})),S=n("VkbS"),E=n("d5aQ"),I=Object(u.e)(i.c).withConfig({displayName:"style__WashedContainer",componentId:"sc-1hmffmj-0"})(["",";padding:0.5rem;background-color:",";margin-bottom:1rem;"],i.t,(function(e){return e.theme.colors.bg.wash})),D=u.e.div.withConfig({displayName:"style__Naslov",componentId:"sc-1hmffmj-1"})(["",";color:",";font-size:20px;line-height:25px;font-weight:400;padding-bottom:0.3rem;"],i.t,(function(e){return e.theme.colors.text.default})),P=u.e.div.withConfig({displayName:"style__Divider",componentId:"sc-1hmffmj-2"})(["border-top:3px solid ",";width:40%;margin-bottom:0.3rem;"],(function(e){return e.theme.colors.bg.border})),N=Object(u.e)(E.b).withConfig({displayName:"style__Icon",componentId:"sc-1hmffmj-3"})([""]),T=n("1xlC"),L=o.a.createElement,R=Object(_.withTranslation)("common")((function(e){var t=e.data,n=e.t,r=Object(d.useRouter)();return 0==t.length?null:L(i.c,{width:1,mt:4},L(D,null," ",L(N,null)," ",n("Vezane vijesti")," "),L(P,null),L(i.d,{flexWrap:"wrap",justifyContent:"space-between",alignItems:"stretch",alignContent:"stretch",mt:1},t.map((function(e){return L(I,{width:[1,1,1,.48]},L(i.l,{as:"/".concat(r.query.insId,"/article/").concat(e.id),to:"[insId]/article/[id]",key:e.id,height:"100%"},L(i.d,{flexWrap:"wrap",alignItems:"start",height:"100%"},L(i.c,{width:.4,px:1},L(T.k,{src:"".concat("https://portalfo2.pravosudje.ba/vstvfo-api","/image/vijest/").concat(e.id)})),L(i.c,{width:.6,px:1},L(T.n,null," ",e.naslov," "),L(T.i,{date:e.datum})))))}))))})),z=n("IpVN"),A=n("GkOb"),F=u.e.div.withConfig({displayName:"style__Breadcrumb",componentId:"sc-1s54tav-0"})(["",";font-size:18px;line-height:24px;color:",";text-decoration:",";&:hover{cursor:pointer;}"],i.t,(function(e){return e.theme.colors.text.alt}),(function(e){return e.href?"underline":"none"})),M=Object(u.e)(g.FaAngleRight).withConfig({displayName:"style__Icon",componentId:"sc-1s54tav-1"})(["font-size:20px;margin-left:4px;margin-right:4px;color:",";"],(function(e){return e.theme.colors.bg.border})),W=o.a.createElement,q=function(e){var t=e.data,n=(e.navigationItems,Object(d.useRouter)());return W(i.d,{flexWrap:"wrap",mb:4,width:1},W(o.a.Fragment,null,t.map((function(e,r){return W(o.a.Fragment,null,W(i.l,{as:"/".concat(n.query.insId,"/kategorije-vijesti/").concat(t[0].id).concat(r>=1?"/".concat(t[1].id):"").concat(r>=2?"/".concat(t[2].id):""),to:"/".concat(n.query.insId,"/kategorije-vijesti/[modId]").concat(r>=1?"/[katId]":"").concat(r>=2?"/[subcategoryId]":""),key:e+"B"},W(F,{key:e+"BB"},e.naziv||"")),r==t.length-1||W(M,{key:e+"IC"}))}))))},Y=Object(u.e)(i.c).withConfig({displayName:"style__Container",componentId:"sc-1xc14h7-0"})(["color:",";white-space:nowrap;margin-top:0.75rem;"],(function(e){return e.theme.colors.text.default})),V=u.e.a.withConfig({displayName:"style__Language",componentId:"sc-1xc14h7-1"})(["padding-left:0.5rem;color:",";text-decoration:",";&:hover{cursor:pointer;opacity:0.8;}"],(function(e){return e.theme.colors.text.link}),(function(e){return e.theme.isLightTheme?"none":"underline"})),G=Object(u.e)(i.c).withConfig({displayName:"style__LangContainer",componentId:"sc-1xc14h7-2"})(["width:fit-content;display:inline;"]),H=n("R/is"),B=n("jvFD"),U=n.n(B),X=o.a.createElement,K=Object(_.withTranslation)("common")((function(e){var t,n=e.data,o=e.id,a=e.t,c=Object(r.useContext)(H.I18nContext).i18n.language,l=Object(d.useRouter)().query.insId;return X(Y,{width:1},X(i.d,null,X(i.c,null,a("Prikazana vijest je na"),":"),X(G,null,X(U.a,{passHref:!0,as:"/".concat(c,"/").concat(l,"/article/").concat(o),href:"/[lang]/[insId]/article/[id]"}
1,X(V,null,null===n||void 0===n?void 0:n.jezik.naziv)))),(null===n||void 0===n?void 0:null===(t=n.jezici)||void 0===t?void 0:t.length)?X(i.d,null,X(i.c,null,a("Vijest dostupna jo\u0161 na"),":"),null===n||void 0===n?void 0:n.jezici.filter((function(e){return e.sifra!=c})).map((function(e){var t=e.naziv,n=e.sifra;return X(G,{key:n},X(U.a,{passHref:!0,as:"/".concat(n,"/").concat(l,"/article/").concat(o),href:"/[lang]/[insId]/article/[id]"},X(V,{key:n+"L"},t)))}))):null)})),Q=n("QsI/"),J=n("zjfJ"),Z=n("y8Xa"),$=n("wgY5"),ee=n.n($),te=n("geiN"),ne=n("cVq8"),re=n("cSUa"),oe=n("AsbH"),ae=n("RjI+"),ie=n("L7b9"),ce=Object(u.d)(["position:fixed;justify-content:center;align-items:center;top:0;left:0;width:100vw;height:100vh;"]),le=Object(u.e)(i.c).withConfig({displayName:"style__ModalContainer",componentId:"sc-x4o5pl-0"})(["z-index:100000001;",";background:rgba(0,0,0,0.8);"],ce),ue=Object(u.e)(g.FaTimes).withConfig({displayName:"style__Icon",componentId:"sc-x4o5pl-1"})(["position:absolute;top:1.5rem;right:0.5rem;color:rgba(0,0,0);"]),se=o.a.createElement,de=Object(_.withTranslation)("common")((function(e){e.t;var t=e.children,n=e.visible,o=e.toggle,a=Object(r.useRef)(null);Object(r.useEffect)((function(){n&&a.current.focus()}),[n]);var c=function(e){27===e.keyCode&&n&&o()};return n?se(le,{onClick:o,onKeyUp:c,tabIndex:1e3},se(i.c,{onClick:function(e){e.stopPropagation()},onKeyUp:c,tabIndex:1e3,ref:a,maxHeight:"90vh",style:{position:"relative"}},se(ue,{onClick:o}),t)):null})),fe=u.e.div.withConfig({displayName:"style__WashedContainer",componentId:"sc-1t7hdt2-0"})(["",";padding:2rem 1.25rem 2rem;background-color:",";margin-bottom:2rem;margin-top:0.25rem;position:relative;"],i.t,(function(e){return e.theme.colors.bg.wash})),pe=u.e.h5.withConfig({displayName:"style__Header",componentId:"sc-1t7hdt2-1"})(["",";font-size:1.25rem;margin-bottom:0.75rem;"],i.t),me=u.e.div.withConfig({displayName:"style__NoData",componentId:"sc-1t7hdt2-2"})(["width:100%;text-align:center;font-size:14px;color:",";"],(function(e){return e.theme.colors.text.secondary})),he=u.e.div.withConfig({displayName:"style__CommentContainer",componentId:"sc-1t7hdt2-3"})(["padding:0.75rem 0;",""],(function(e){return e.reply&&"padding-left: 2rem;"})),ye=u.e.div.withConfig({displayName:"style__Name",componentId:"sc-1t7hdt2-4"})(["color:",";font-weight:600;margin-right:0.5rem;font-size:14px;"],(function(e){return e.theme.colors.text.default})),be=u.e.div.withConfig({displayName:"style__DateTime",componentId:"sc-1t7hdt2-5"})(["color:",";font-size:12px;margin-right:0.5rem;"],(function(e){return e.theme.colors.text.secondary})),ve=u.e.div.withConfig({displayName:"style__CommentText",componentId:"sc-1t7hdt2-6"})(["font-size:14px;color:",";"],(function(e){return e.theme.colors.text.secondary})),ge=u.e.form.withConfig({displayName:"style__AddComment",componentId:"sc-1t7hdt2-7"})(["display:flex;flex-wrap:wrap;background-color:",";border:1px solid ",";padding:1rem;margin-top:1rem;"],(function(e){return e.theme.colors.bg.wash}),(function(e){return e.theme.colors.bg.border})),we=u.e.button.withConfig({displayName:"style__AddCommentButton",componentId:"sc-1t7hdt2-8"})(["background:",";color:",";position:absolute;top:0;right:0;padding:0.5rem 0.75rem;border:1px solid ",";display:flex;align-items:center;&:hover{cursor:pointer;}"],(function(e){return e.theme.colors.brand.wash}),(function(e){return e.theme.colors.text.wash}),(function(e){return e.theme.colors.bg.border})),Oe=u.e.span.withConfig({displayName:"style__EditResponseIcon",componentId:"sc-1t7hdt2-9"})(["display:flex;align-items:center;margin:auto 0.5rem 1px;font-size:18px;color:",";"],(function(e){return e.theme.colors.text.default})),je=u.e.button.withConfig({displayName:"style__EditButton",componentId:"sc-1t7hdt2-10"})(["margin:0 1rem 0.5rem;padding:0.25rem 0.5rem;background:",";color:",";border:1px solid ",";",";"],(function(e){return e.theme.colors.bg.wash}),(function(e){return e.theme.colors.text.default}),(function(e){return e.theme.colors.bg.border}),Object(A.d)(A.c)),xe=o.a.createElement;function _e(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var l=r&&r.prototype instanceof c?r:c,u=Object.create(l.prototype);return ke(u,"_invoke",function(n,r,o){var a,c,l,u=0,s=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,c=0,l=e,f.n=n,i}};function p(n,r){for(c=n,l=r,t=0;!d&&u&&!o&&t<s.length;t++){var o,a=s[t],p=f.p,m=a[2];n>3?(o=m===r)&&(l=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(c=0,f.v=r,f.n=a[1]):p<m&&(
1o=n<3||a[0]>r||r>m)&&(a[4]=n,a[5]=r,f.n=m,c=0))}if(o||n>1)return i;throw d=!0,r}return function(o,s,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===s&&p(s,m),c=s,l=m;(t=c<2?e:l)||!d;){a||(c?c<3?(c>1&&(f.n=-1),p(c,l)):f.n=l:f.v=l);try{if(u=2,a){if(c||(o="next"),t=a[o]){if(!(t=t.call(a,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=a.return)&&t.call(a),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==i)break}catch(t){a=e,c=1,l=t}finally{u=1}}return{value:t,done:d}}}(n,o,a),!0),u}var i={};function c(){}function l(){}function u(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(ke(t={},r,(function(){return this})),t),d=u.prototype=c.prototype=Object.create(s);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ke(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=u,ke(d,"constructor",u),ke(u,"constructor",l),l.displayName="GeneratorFunction",ke(u,o,"GeneratorFunction"),ke(d),ke(d,o,"Generator"),ke(d,r,(function(){return this})),ke(d,"toString",(function(){return"[object Generator]"})),(_e=function(){return{w:a,m:f}})()}function ke(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(ke=function(e,t,n,r){function a(t,n){ke(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))})(e,t,n,r)}function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(n),!0).forEach((function(t){Object(J.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ee=ie.a().shape({ime:ie.b().nullable().required("OBAVEZNO"),email:ie.b().nullable().required("OBAVEZNO"),tekst:ie.b().nullable().required("OBAVEZNO")}),Ie=Object(_.withTranslation)("common")((function(e){var t,n,a,c=e.t,l=e.data,u=Object(r.useState)(l),s=u[0],f=u[1],p=Object(r.useState)(!1),m=p[0],h=p[1],y=Object(r.useState)(0),b=y[0],v=y[1],w=s.length,O=Object(r.useState)(null),j=O[0],x=O[1],_=function(){return h(!m)},k=Object(r.useState)({}),C=k[0],S=k[1],E=Object(te.useForm)({resolver:Object(Z.yupResolver)(Ee)}),I=E.register,N=E.handleSubmit,T=E.errors,L=E.reset,R=Object(d.useRouter)(),z=function(e){var t=e.target,n=t.value,r=t.name;"ime"!=r&&"email"!=r||localStorage.setItem(r,n),S(Se(Se({},C),{},Object(J.a)({},r,n)))};Object(r.useEffect)((function(){if(m){var e={ime:localStorage.fo_username||localStorage.ime,email:localStorage.fo_email||localStorage.email,tekst:""};S(e),L(e)}m||x(null)}),[m]);var A=Object(r.useState)(!1),F=A[0],M=A[1];Object(r.useEffect)((function(){localStorage.fo_username&&localStorage.fo_email&&M(!0)}),[]);var W=function(){var e=Object(Q.a)(_e().m((function e(){return _e().w((function(e){for(;;)switch(e.p=e.n){case 0:return console.log("aa",j),e.p=1,e.n=2,i.o.post("/vijest/dodaj-komentar",Se(Se({},C),{},{vjeId:R.query.id,parent:j}),{headers:{authorization:localStorage.fo_token}});case 2:q(),_(),ne.NotificationManager.success("Uspje\u0161no ste postavili komentar"),v(0),e.n=4;break;case 3:e.p=3,e.v,ne.NotificationManager.error("Gre\u0161ka");case 4:return e.a(2)}}),e,null,[[1,3]])})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=Object(Q.a)(_e().m((function e(){var t,n;return _e().w((function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,i.o.get("/vijest/komentari/".concat(R.query.id));case 1:t=e.v,n=t.data,f(n),e.n=3;break;case 2:e.p=2,e.v;case 3:return e.a(2)}}),e,null,[[0,2]])})));return function(){return e.apply(this,arguments)}}(),Y=Object(r.useState)(null),V=Y[0],G=Y[1];Object(r.useEffect)((function(){return G(localStorage.fo_user_id)}),[]);var H=Object(r.useState)(null),B=H[0],U=H[1],X=Object(r.useState)(null),K=X[0],$=X[1],ie=function(){var e=Object(Q.a)(_e().m((function e(){return _e().w((function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,i.o.put("/vijest/komentar/".concat(B),{tekst:K},{headers:{authorization:localStorage.fo_token}});case 1:ne.NotificationManager.success("Uspje\u0161no ure\u0111eno"),q(),U(null),e.n=3;break;case 2:e.p=2,e.v,ne.NotificationManager.error("Gre\u0161ka");case 3:return e.a(2)}}),e,null,[[0,2]])})));return function(){return e.apply(this,arguments)}}();return xe(i.c,{mt:4},xe(D,null," ",xe(g.FaRegCommentAlt,null)," ",c("Komentari")),xe(P,null),xe(fe,null,xe(we,{onClick:function(){return h(!0)}},c("Dodaj komentar")),0==s.length&&xe(me,null,c("Ne postoje komentari za ovu vijest")),s.slice(10*b,10*(b+1)).map((function(e){var t=e.id,n=e.ime,r=e.email,o=e.timeCreated,a=e.tekst,l=e.userId,u=e.parent;return xe(he,{reply:!!u},xe(i.d,{mb:"0.375rem",flexWrap:"wrap"},xe(ye,null,n," | ",r),xe(be,null,ee()(o).format("DD.MM.YYYY hh:mm")),l==V&&xe(Oe,{onClick:function(){U(t),$(a)}},xe(g.FaEdit,null)),!!u||xe(Oe,{onClick:function(){x(t),h(!0)}},xe(g.FaReply,null))),xe(i.c,null,B===t?xe(i.c,{mb:-3},xe(i.c,{mb:2},xe(i.r,{value:K,onChange:function(e){return $(e.target.value)},rows:2})),xe(i.d,{justifyContent:"center"},xe(je,{onClick:ie},c("Sa\u010duvaj")),xe(je,{onClick:function(){return U(null)},backgroundColor:"bg.danger",color:"text.reverse"},c("Poni\u0161ti")))):xe(ve,null,a)))})),0!==s.length&&xe(o.a.Fragment,null,xe(i.b,{borderColor:"bg.border",mb:"1rem",borderWidth:"2px"}),xe(ae.a,{changePage:function(e){return v(e)},current:b,pageSize:10,total:w})),xe(de,{visible:m,toggle:_},xe(ge,{onSubmit:N(W)},xe(i.c,{width:1,mb:2},xe(pe,null," ",c("Dodaj komentar")," ")),xe(i.c,{width:[1,.5],pr:[0,2],mb:"-0.5rem"},xe(oe.k,{label:"Ime i prezime",name:"ime",register:I,errorMessage:null===(t=T.ime)||void 0===t?void 0:t.message,onChange:z,readOnly:F})),xe(i.c,{width:[1,.5],pl:[0,2],mb:"-0.5rem"}
1,xe(oe.k,{label:"Email",name:"email",register:I,errorMessage:null===(n=T.email)||void 0===n?void 0:n.message,onChange:z,readOnly:F})),xe(i.c,{width:1},xe(oe.k,{type:"textarea",label:"Tekst",name:"tekst",register:I,errorMessage:null===(a=T.tekst)||void 0===a?void 0:a.message,rows:3,onChange:z,style:{maxHeight:"50vh"}})),xe(i.c,{minWidth:"150px",margin:"auto"},xe(re.b,null," ",c("Dodaj komentar")," "))))))})),De=o.a.createElement,Pe=[1,1,.72],Ne=[1,1,.28];t.a=Object(_.withTranslation)("common")((function(e){var t,n,u=e.data,s=e.navigationItems,d=e.t,f=Object(r.useState)(0),m=f[0],h=f[1],y=Object(r.useRef)(null),g=Object(r.useRef)(null),w=Object(a.useReactToPrint)({content:function(){return g.current}}),O=u.vrstaPredmeta;return De(c.a,{width:1},De(i.d,{alignItems:"start",px:[1,1,2],width:1,flexWrap:"wrap"},De(i.c,{width:1},De(q,{data:u.kategorija,navigationItems:s})),De(i.c,{width:1},De(c.e,null," ",u.podnaslov," "),De(c.d,null," ",u.naslov," "),De(c.b,{show:"D"==u.prikaziDatumObjave}," ",u.datumVijesti," "),O&&De(o.a.Fragment,null,De(c.g,null," ",De(c.h,{vrsta:u.vrstaPredmetaSifra})," ",d(u.vrstaPredmeta)," "),De(c.b,{mb:4}," ","Datum prodaje: "," ",u.datumProdaje," ")))),De(i.d,{alignItems:"start",flexWrap:"wrap",px:[1,1,2],width:1},De(i.c,{width:Pe,pr:[0,0,4],pb:2,mt:(null===u||void 0===u?void 0:null===(t=u.multimedija)||void 0===t?void 0:t.length)?1:2},De(b,{data:u.multimedija}),De(c.c,{fontSize:14+m,dangerouslySetInnerHTML:{__html:u.sadrzaj},ref:y}),De(K,{data:u.jezik,id:u.id}),De(R,{data:u.vezaneVijesti}),"VKOM"==u.template&&De(Ie,{data:u.komentari})),De(i.c,{width:Ne,pl:[0,0,4]},De(S.a,{naslov:"Ankete",data:u.ankete,isAnkete:!0}),De(S.a,{naslov:"Linkovi",data:u.linkovi,isLinkovi:!0}),De(S.a,{naslov:u.tipVijesti,data:u.atributi,isAtributi:!0}),De(S.a,{naslov:"Prate\u0107i dokumenti",data:u.dokumenti,isFiles:!0}),De(v.a,{data:u}),De(z.a,{data:u,htmlRef:y,fontSize:m,setFontSize:h,print:w}),De(l.a,null),De(p,{data:u.hashtags}))),De(i.d,{alignItems:"start",flexWrap:"wrap",px:[1,1,2],width:1},De(i.c,{width:Pe,pr:[0,0,4]},De(C,null))),De("div",{style:{display:"none"}},De(c.f,{ref:function(e){return g.current=e},p:4,mt:(null===(n=u.multimedija)||void 0===n?void 0:n.length)?1:2},De(c.e,null," ",u.podnaslov," "),De(c.d,null," ",u.naslov," "),De(c.b,{show:"D"==u.prikaziDatumObjave}," ",u.datumVijesti," "),O&&De(o.a.Fragment,null,De(c.g,null," ",De(c.h,{vrsta:u.vrstaPredmetaSifra})," ",u.vrstaPredmeta," "),De(c.b,{mb:4}," ","Datum prodaje: "," ",u.datumProdaje," ")),De(c.c,{fontSize:14+m,dangerouslySetInnerHTML:{__html:u.sadrzaj}}))))}))},obM0:function(e,t,n){"use strict";var r=n("ERkP"),o=n.n(r),a=n("HbzS"),i=n("LxTm"),c=n("CRqx"),l=o.a.createElement;t.a=function(e){var t=e.data;return l(a.e,{"aria-label":"Side section"},l(i.d,{alignItems:"start",flexWrap:"wrap"},t.map((function(e){return l(i.c,{width:[1,1,.5,1]},l(c.a,{data:e}))}))))}},poPI:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("r2q8");function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s="change",d="info",f="success",p="warning",m="error",h=new(function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(l,e);var t,n,r,o=c(l);function l(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(e=o.call(this)).listNotify=[],e}return t=l,(n=[{key:"create",value:function(e){var t={id:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),type:"info",title:null,message:null,timeOut:5e3};e.priority?this.listNotify.unshift(Object.assign(t,e)):this.listNotify.push(Object.assign(t,e)),this.emitChange()}},{key:"info",value:function(e,t,n,r,o){this.create({type:d,message:e,title:t,timeOut:n,onClick:r,priority:o})}},{key:"success",value:function(e,t,n,r,o){this.create({type:f,message:e,title:t,timeOut:n,onClick:r,priority:o})}},{key:"warning",value:function(e,t,n,r,o){this.create({type:p,message:e,title:t,timeOut:n,onClick:r,priority:o})}},{key:"error",value:function(e,t,n,r,o){this.create({type:m,message:e,title:t,timeOut:n,onClick:r,priority:o})}},{key:"remove",value:function(e){this.listNotify=this.listNotify.filter((function(t){return e.id!==t.id})),this.emitChange()}},{key:"removeAll",value:function(){this.listNotify.length=0,this.emitChange()}}
1,{key:"emitChange",value:function(){this.emit(s,this.listNotify)}},{key:"addChangeListener",value:function(e){this.addListener(s,e)}},{key:"removeChangeListener",value:function(e){this.removeListener(s,e)}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.EventEmitter));t.default=h},r2q8:function(e,t,n){"use strict";var r,o="object"===typeof Reflect?Reflect:null,a=o&&"function"===typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"===typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,a),r(n)}function a(){"function"===typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}b(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&b(e,"error",t,n)}(e,o,{once:!0})}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var l=10;function u(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function s(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,a,i,c;if(u(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),i=a[t]),void 0===i)i=a[t]=n,++e._eventsCount;else if("function"===typeof i?i=a[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(o=s(e))>0&&i.length>o&&!i.warned){i.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=i.length,c=l,console&&console.warn&&console.warn(c)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function m(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):y(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function b(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(a){r.once&&e.removeEventListener(t,o),n(a)}))}}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return s(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var c=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw c.context=i,c}var l=o[e];if(void 0===l)return!1;if("function"===typeof l)a(l,this,t);else{var u=l.length,s=y(l,u);for(n=0;n<u;++n)a(s[n],this,t)}return!0},c.prototype.addListener=function(e,t){return d(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return d(this,e,t,!0)},c.prototype.once=function(e,t){return u(t),this.on(e,p(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,p(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,o,a,i;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit
1("removeListener",e,n.listener||t));else if("function"!==typeof n){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){i=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,i||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(o=a[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return m(this,e,!0)},c.prototype.rawListeners=function(e){return m(this,e,!1)},c.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},c.prototype.listenerCount=h,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},re8k:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(n("ERkP")),a=l(n("aWzz")),i=l(n("poPI")),c=l(n("2lDr"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(l,e);var t,n,r,a=d(l);function l(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(p(e=a.call.apply(a,[this].concat(n))),"state",{notifications:[]}),h(p(e),"componentDidMount",(function(){i.default.addChangeListener(e.handleStoreChange)})),h(p(e),"componentWillUnmount",(function(){i.default.removeChangeListener(e.handleStoreChange)})),h(p(e),"handleStoreChange",(function(t){e.setState({notifications:t})})),h(p(e),"handleRequestHide",(function(e){i.default.remove(e)})),e}return t=l,(n=[{key:"render",value:function(){var e=this.state.notifications,t=this.props,n=t.enterTimeout,r=t.leaveTimeout;return o.default.createElement(c.default,{enterTimeout:n,leaveTimeout:r,notifications:e,onRequestHide:this.handleRequestHide})}}])&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.default.Component);
1h(y,"propTypes",{enterTimeout:a.default.number,leaveTimeout:a.default.number}),h(y,"defaultProps",{enterTimeout:400,leaveTimeout:400});var b=y;t.default=b},wvew:function(e,t,n){"use strict";var r=n("ERkP"),o=n.n(r),a=(n("HbzS"),n("LxTm")),i=n("j/s1"),c=n("GkOb"),l=i.e.div.withConfig({displayName:"style__IconContainer",componentId:"sc-1p95rlb-0"})(["display:flex;justify-content:center;align-items:center;padding-top:1rem;padding-bottom:1rem;color:white;width:100%;font-size:20px;",";"],Object(c.d)(c.i,c.c,c.a)),u=i.e.div.withConfig({displayName:"style__ButtonContainer",componentId:"sc-1p95rlb-1"})(["display:flex;justify-content:center;align-items:center;width:29.5%;margin:1.5%;padding:0;width:14.6%;margin:1%;@media (max-width:768px){}"]),s=i.e.div.withConfig({displayName:"style__Container",componentId:"sc-1p95rlb-2"})(["margin-bottom:1rem;"]),d=(i.e.div.withConfig({displayName:"style__NaslovContainer",componentId:"sc-1p95rlb-3"})(["width:100%;background-color:",";margin-bottom:1rem;@media (max-width:768px){margin-bottom:0.5rem;}"],(function(e){return e.theme.colors.bg.wash})),i.e.div.withConfig({displayName:"style__Naslov",componentId:"sc-1p95rlb-4"})(["",";display:inline-block;padding:3px 0.5rem 3px 0.5rem;font-size:14px;background-color:",";color:",";"],a.t,(function(e){return e.theme.colors.brand.default}),(function(e){return e.theme.colors.text.reverse})),n("T8kG")),f=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(e){function t(t){var n=e.call(this,t)||this;return n.name="AssertionError",n}return f(t,e),t}(Error);function m(e,t){if(!e)throw new p(t)}function h(e){var t=Object.entries(e).filter((function(e){var t=e[1];return void 0!==t&&null!==t})).map((function(e){var t=e[0],n=e[1];return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(n)))}));return t.length>0?"?".concat(t.join("&")):""}var y=n("O94r"),b=n.n(y),v=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},w=function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{l(r.next(e))}catch(t){a(t)}}function c(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,c)}l((r=r.apply(e,t||[])).next())}))},O=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(c){a=[6,c],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},x=function(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then},_=function(e,t){return{left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2}},k=function(e,t){return{top:(window.screen.height-t)/2,left:(window.screen.width-e)/2}};var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openShareDialog=function(e){var n=t.props,r=n.onShareWindowClose,o=n.windowHeight,a=void 0===o?400:o,i=n.windowPosition,c=void 0===i?"windowCenter":i,l=n.windowWidth,u=void 0===l?550:l;!function(e,t,n){var r=t.height,o=t.width,a=j(t,["height","width"]),i=g({height:r,width:o,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},a),c=window.open(e,"",Object.keys(i).map((function(e){return"".concat(e,"=").concat(i[e])})).join(", "));if(n)var l=window.setInterval((function(){try{(null===c||c.closed)&&(window.clearInterval(l),n(c))}catch(e){console.error(e)}}),1e3)}(e,g({height:a,width:u},"windowCenter"===c?_(u,a):k(u,a)),r)},t.handleClick=function(e){return w(t,void 0,void 0,(function(){var t,n,r,o,a,i,c,l,u,s;return O(this,(function(d){switch(d.label){case 0:return t=this.props,n=t.beforeOnClick,r=t.disabled,o=t.networkLink,a=t.onClick,i=t.url,c=t.o
1penShareDialogOnClick,l=t.opts,u=o(i,l),r?[2]:(e.preventDefault(),n?(s=n(),x(s)?[4,s]:[3,2]):[3,2]);case 1:d.sent(),d.label=2;case 2:return c&&this.openShareDialog(u),a&&a(e,u),[2]}}))}))},t}return v(t,e),t.prototype.render=function(){var e=this.props,t=(e.beforeOnClick,e.children),n=e.className,r=e.disabled,a=e.disabledStyle,i=e.forwardedRef,c=(e.networkLink,e.networkName),l=(e.onShareWindowClose,e.openShareDialogOnClick,e.opts,e.resetButtonStyle),u=e.style,s=(e.url,e.windowHeight,e.windowPosition,e.windowWidth,j(e,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","networkLink","networkName","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"])),d=b()("react-share__ShareButton",{"react-share__ShareButton--disabled":!!r,disabled:!!r},n),f=g(g(l?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",cursor:"pointer"}:{},u),r&&a);return o.a.createElement("button",g({},s,{"aria-label":s["aria-label"]||c,className:d,onClick:this.handleClick,ref:i,style:f}),t)},t.defaultProps={disabledStyle:{opacity:.6},openShareDialogOnClick:!0,resetButtonStyle:!0},t}(r.Component),S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};var E=function(e,t,n,a){function i(r,i){var c=n(r),l=S({},r);return Object.keys(c).forEach((function(e){delete l[e]})),o.a.createElement(C,S({},a,l,{forwardedRef:i,networkName:e,networkLink:t,opts:n(r)}))}return i.displayName="ShareButton-".concat(e),Object(r.forwardRef)(i)};var I=E("facebook",(function(e,t){var n=t.quote,r=t.hashtag;return m(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+h({u:e,quote:n,hashtag:r})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});var D=E("linkedin",(function(e,t){var n=t.title,r=t.summary,o=t.source;return m(e,"linkedin.url"),"https://linkedin.com/shareArticle"+h({url:e,mini:"true",title:n,summary:r,source:o})}),(function(e){return{title:e.title,summary:e.summary,source:e.source}}),{windowWidth:750,windowHeight:600});var P=E("viber",(function(e,t){var n=t.title,r=t.separator;return m(e,"viber.url"),"viber://forward"+h({text:n?n+r+e:e})}),(function(e){return{title:e.title,separator:e.separator||" "}}),{windowWidth:660,windowHeight:460});var N=E("facebookmessenger",(function(e,t){var n=t.appId;return"https://www.facebook.com/dialog/send"+h({link:e,redirect_uri:t.redirectUri||e,app_id:n,to:t.to})}),(function(e){return{appId:e.appId,redirectUri:e.redirectUri,to:e.to}}),{windowWidth:1e3,windowHeight:820});var T=E("email",(function(e,t){var n=t.subject,r=t.body,o=t.separator;return"mailto:"+h({subject:n,body:r?r+o+e:e})}),(function(e){return{subject:e.subject,body:e.body,separator:e.separator||" "}}),{openShareDialogOnClick:!1,onClick:function(e,t){window.location.href=t}});var L=E("twitter",(function(e,t){var n=t.title,r=t.via,o=t.hashtags,a=void 0===o?[]:o,i=t.related,c=void 0===i?[]:i;return m(e,"twitter.url"),m(Array.isArray(a),"twitter.hashtags is not an array"),m(Array.isArray(c),"twitter.related is not an array"),"https://twitter.com/share"+h({url:e,text:n,via:r,hashtags:a.length>0?a.join(","):void 0,related:c.length>0?c.join(","):void 0})}),(function(e){return{hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}}),{windowWidth:550,windowHeight:400}),R=(n("7xIC"),o.a.createElement);t.a=function(){var e=Object(r.useState)(""),t=e[0],n=e[1];return Object(r.useEffect)((function(){return n(window.location.href)}),[]),R(s,null,R(a.d,{flexWrap:"wrap"},R(u,null,R(I,{style:{width:"100%"},url:t},R(l,{backgroundColor:"#3b5998"},R(d.FaFacebookF,null)))),R(u,null,R(D,{style:{width:"100%"},url:t},R(l,{backgroundColor:"#0077b5"},R(d.FaLinkedinIn,null)))),R(u,null,R(P,{style:{width:"100%"},url:t},R(l,{backgroundColor:"#675da9"},R(d.FaViber,null)))),R(u,null,R(N,{style:{width:"100%"},url:t},R(l,{backgroundImage:"linear-gradient(to top right, #019cf7, 40%, #fb4f6e)"},R(d.FaFacebookMessenger,null)))),R(u,null,R(T,{style:{width:"100%"},url:t},R(l,{backgroundColor:"#636363"},R(d.FaEnvelope,null)))),R(u,null,R(L,{style:{width:"100%"},url:t},R(l,{backgroundColor:"#55acee"},R(d.FaTwitter,null))))))}},y8Xa:function(e,t,n){e.exports=n("+Ct2")},ygoZ:function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return d}));var r=n("j/s1"),o=n("LxTm"),a=n("T8kG"),i=r.e.div.withConfig({displayName:"style__WashedContainer",componentId:"sc-yov8qr-0"})(["",";padding:1rem;padding-bottom:2rem;background-color:",";margin-bottom:2rem;"],o.t,(function(e){return e.theme.colors.bg.wash})),c=Object(r.e)(o.d).withConfig({displayName:"style__SideNaslov",componentId:"sc-yov8qr-1"})(["",";color:",";font-size:18px;font-weight:500;padding-bottom:1rem;"],o.t,(function(e){return e.theme.colors.text.default})),l=r.e.div.withConfig({displayName:"style__ItemNaslov",componentId:"sc-yov8qr-2"})(["",";color:",";font-size:14px;font-weight:500;text-shadow:0 0 0 ",";text-decoration:underline;padding-bottom:0.4rem;"],o.t,(function(e){return e.theme.colors.text.default}),(function(e){return e.theme.colors.text.default})),u=(Object(r.e)(a.FaRegFileAlt).withConfig({displayName:"style__FileIcon",componentId:"sc-yov8qr-3"})(["margin-right:5px;"]),Object(r.e)(l).withConfig({displayName:"style__AtributiItemNaslov",componentId:"sc-yov8qr-4"})(["text-decoration:none;font-size:13px;margin-bottom:0.125rem;color:",";"],(function(e){return e.theme.colors.text.default}))),s=r.e.span.withConfig({displayName:"style__LabelaSpan",componentId:"sc-yov8qr-5"})(["font-weight:600;font-size:14px;color:",";"],(function(e){return e.theme.colors.text.default})),d=r.e.a.withConfig({displayName:"style__AtributiA",componentId:"sc-yov8qr-6"})(["color:",";text-decoration:underline;&:hover{opacity:0.8;color:",";}"],(function(e){return e.theme.colors.text.alt}),(function(e){return e.theme.colors.text.alt}))},z2zV:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[insId]/article/[id]",function(){return n("QT7M")}])},z4WZ:function(e,t,n){"use strict";var r=n("ERkP"),o=n.n(r),a=n("HbzS"),i=n("LxTm"),c=n("CRqx"),l=o.a.createElement;t.a=function(e){var t=e.data;return l(a.d,{"aria-label":"Main section"},t.map((function(e,t){return l(i.d,{key:e.tip+t,alignItems:"start",flexWrap:"wrap"},"double"==e.tip?l(o.a.Fragment,null,l(i.c,{width:[1,1,.5]},e.lijevo.map((function(e){return l(c.a,{key:e.idGrupe+e.templateGrupe,data:e})}))),l(i.c,{width:[1,1,.5]},e.desno.map((function(e){return l(c.a,{key:e.idGrupe+e.templateGrupe,data:e})})))):l(i.c,{width:1},l(c.a,{data:e.grupa})))})))}}},[["z2zV",0,2,5,8,10,11,9,14,1,3,4,6,7,12,13,15,16,17,18,19,20,21,22,25,28]]]);
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.