"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[88871],{95720:function(e,t,n){var o=n(62540),l=(n(63696),n(4452)),a=n.n(l),r=n(46782),i=function(){return i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},i.apply(this,arguments)};t.A=function(e){var t=e.className,n=e.title,l=e.icon,s=e.iconClassName,c=e.disabled,u=void 0!==c&&c,f=e.onClick,d=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(o=Object.getOwnPropertySymbols(e);l<o.length;l++)t.indexOf(o[l])<0&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]])}return n}(e,["className","title","icon","iconClassName","disabled","onClick"]),b=a()("paper-icon-button-light",t,{"show-focus":r.A.tv}),y=a()("material-icons",s,l);return(0,o.jsx)("button",i({className:b,title:n,disabled:u,onClick:f},d,{children:(0,o.jsx)("span",{className:y,"aria-hidden":"true"})}))}},86321:function(e,t,n){n.r(t);var o=n(62540),l=n(63696),a=n(95720),r=n(5898);t.default=function(e){var t=e.title,n=e.onExit,i=e.onPrevious,s=e.onNext,c=e.onOpenTableOfContents,u=e.onRotateTheme,f=e.onDecreaseFontSize,d=e.onIncreaseFontSize,b=e.onToggleFullscreen,y=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,l,a=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=a.next()).done;)r.push(o.value)}catch(e){l={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(l)throw l.error}}return r}((0,l.useState)(!1),2),p=y[0],k=y[1],x=(0,l.useCallback)((function(){null==b||b(),k((function(e){return!e}))}),[b]);return(0,o.jsxs)("div",{className:"bookOsd",children:[(0,o.jsxs)("div",{className:"bookOsdRow bookOsdTop",children:[(0,o.jsx)(a.A,{onClick:n,icon:"arrow_back",title:r.Ay.translate("ButtonBack")}),(0,o.jsx)("span",{className:"bookOsdTitle",children:t})]}),(0,o.jsxs)("div",{className:"bookOsdRow bookOsdBottom",children:[(0,o.jsx)(a.A,{onClick:i,icon:"navigate_before",title:r.Ay.translate("Previous")}),(0,o.jsx)(a.A,{onClick:s,icon:"navigate_next",title:r.Ay.translate("Next")}),c&&(0,o.jsx)(a.A,{onClick:c,icon:"toc",title:r.Ay.translate("TableOfContents"),className:"bookOsdMargin"}),u&&(0,o.jsx)(a.A,{onClick:u,icon:"remove_red_eye",title:r.Ay.translate("LabelTheme")}),f&&(0,o.jsx)(a.A,{onClick:f,icon:"text_decrease",title:r.Ay.translate("Smaller")}),d&&(0,o.jsx)(a.A,{onClick:d,icon:"text_increase",title:r.Ay.translate("Larger")}),b&&(0,o.jsx)(a.A,{onClick:x,icon:p?"fullscreen_exit":"fullscreen",title:r.Ay.translate(p?"ExitFullscreen":"Fullscreen")})]})]})}}}]);