/*! For license information please see 1.js.LICENSE.txt */ "use strict";(self.webpackChunkFBPublication=self.webpackChunkFBPublication||[]).push([[1],{4459:function(t,e,r){r.r(e),r.d(e,{App:function(){return Qt}});var n=r(0),o=r(3744),i=r(776),a=r(5392);function u(t,e){for(var r="",n=0,o=0;o=e.length&&(n=0),r+=String.fromCharCode(t[o].charCodeAt(0)^e[n].charCodeAt(0));return r}function s(t,e){return btoa(u(t,e))}var c=r(320),l=r(5622),f=r(710),p=r(4618),d=r(6142),g=r(1378),h=r(1071),v=r(2155),m=r(2918),y=JSON.parse('{"locales":["en","ar","de","es","fi","fr","he","it","ja","nl","no","pl","pt","ru","sv","tr","zh"],"substitutes":{"nb":"no","nn":"no","be":"ru"},"rtl":["ar","he"],"fonts":[{"locales":["de","en","es","fi","fr","it","nl","no","pl","pt","sv","tr"],"font-family":"Open Sans","subset":"latin-ext","font-weight-bold":"800","font-weight-normal":"600","css":"open-sans_latin-ext.css","checkString":"The five boxing wizards jump quickly.123!@#$%^&*()-=+","timeout":1000},{"locales":["ar"],"font-family":"Cairo","subset":"arabic","font-weight-bold":"700","font-weight-normal":"400","css":"cairo_arabic.css","checkString":"نصٌّ حكيمٌ لهُ سِرٌّ قاطِعٌ وَذُو شَأنٍ عَظيمٍ مكتوبٌ على ثوبٍ أخضرَ ومُغلفٌ بجلدٍ أزرق ABCdef123!@#$%^&*()-=+","timeout":2000},{"locales":["he"],"font-family":"Open Sans","subset":"hebrew","font-weight-bold":"800","font-weight-normal":"600","css":"open-sans_hebrew.css","checkString":"דג סקרן שט בים מאוכזב ולפתע מצא חברה ABCdef123!@#$%^&*()-=+","timeout":1500},{"locales":["ru"],"font-family":"Open Sans","subset":"cyrillic,cyrillic-ext","font-weight-bold":"800","font-weight-normal":"600","css":"open-sans_cyrillic.css","checkString":"Я любовался штормом, прекрасным, но пугающим.ABCdef123ё!!@#$%^&*()-=+","timeout":1700},{"locales":["zh"],"font-family":"Noto Sans SC","subset":"chinese-simplified","font-weight-bold":"700","font-weight-normal":"400","css":"noto-sans-sc_chinese-simplified.css","checkString":"船隻离开港口后,就在薄雾的笼罩下航行了三小时。ABCdef123!@#$%^&*()-=+","timeout":30000},{"locales":["ja"],"font-family":"Noto Sans JP","subset":"japanese","font-weight-bold":"700","font-weight-normal":"400","css":"noto-sans-jp_japanese.css","checkString":"日本語漢字ひらがなカタカナ。ABCdef123!@#$%^&*()-=+","timeout":30000}]}');function b(t,e){return _(t)||P(t,e)||E(t,e)||S()}function S(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function E(t,e){if(t){if("string"==typeof t)return w(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r\\])+>|[^\s\x00-\x1f]*)(?:\s+("(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)))?\s*\)/gm;function k(t){for(var e,r=0,n=[];null!=(e=A.exec(t));){if(e.index>r){var o=t.slice(r,e.index);n.push({type:"text",raw:o})}n.push({type:"link",raw:e[0],text:e[1],link:e[2],title:e[3]}),r=e.index+e[0].length}if(r1&&void 0!==arguments[1]?arguments[1]:function(){},u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},S=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",E=(0,v.Z)({},o.Z);E.info.module.state.version=S;var w=!1,P=!1,_=!1,A=!1,N=!1,R=T(u.services||{},u.providers||{}),M=u.getPager;u.modules&&(E=Q(u.modules)),u.excludeModules&&tt(u.excludeModules),"true"===u.zoom&&(E.pages.module.state.size.zoomFactor=E.workspace.module.state.defaultZoomFactor,E.workspace.module.state.initialZoom=!0);var D=JSON.parse((null===(e=window)||void 0===e||null===(e=e.FBO)||void 0===e||null===(e=e.PreloadedPublicationModel)||void 0===e||null===(e=e.Publication)||void 0===e?void 0:e.Configuration)||null);function j(e){et("Loaded skin config"),u.extensions&&u.extensions.skinConfig&&(0,c.Kn)(u.extensions.skinConfig)&&(e=(0,v.Z)(e,u.extensions.skinConfig)),E.skin.module.state=(0,v.Z)(E.skin.module.state,{styles:(0,l.lx)(e)}),e=null,w=!0,et("Skin config ready"),$(t,n)}function F(e){if(et("Loaded workspace.json"),u.extensions&&u.extensions.workspaceProps&&(0,c.Kn)(u.extensions.workspaceProps)&&(et("Extending workspace config"),e=(0,v.Z)(e,u.extensions.workspaceProps)),e.cookieNotice&&e.cookieNotice.onClose&&(0,c.mf)(e.cookieNotice.onClose)&&(t.onNoticeClose=e.cookieNotice.onClose,delete e.cookieNotice.onClose),e.search&&(delete e.search.path,delete e.search.searchCharactersLimit),E.search.module.state=(0,v.Z)(E.search.module.state,e.search),delete e.search,E.downloads.module.state=(0,v.Z)(E.downloads.module.state,e.downloads),delete e.downloads,E.downloads.module.state.accessibilityPDF=(0,v.Z)(E.downloads.module.state.accessibilityPDF,e.accessibilityPDF),delete e.accessibilityPDF,e.toc&&e.toc.children?((0,l.OZ)(e.toc.children,"children","toggle",!1),(0,l.OZ)(e.toc.children,"children","active",!1,!0),(0,l.QX)(e.toc.children,"children","route"),E.toc.module.state=(0,v.Z)(E.toc.module.state,e.toc),delete e.toc):E.toc.module.state.enabled=!1,E.print.module.state=(0,v.Z)(E.print.module.state,e.print),delete e.print,e.logoLink&&e.logoLink.url&&(0,c.HD)(e.logoLink.url)&&-1!==e.logoLink.url.toLowerCase().indexOf("flippingbook.com")){var r=s(window.location.href,O),o=-1!==e.logoLink.url.indexOf("?");e.logoLink.url+=(o?"&":"?")+"utm_category="+r}E.logo.module.state=(0,v.Z)(E.logo.module.state,e.logoLink),delete e.logoLink,E.info.module.state=(0,v.Z)(E.info.module.state,e.publicationInfo),delete e.publicationInfo,E.sound.module.state=(0,v.Z)(E.sound.module.state,e.sound),delete e.sound,e.userAgentInfo=u.userAgentInfo,E.workspace.module.state=(0,v.Z)(E.workspace.module.state,e),u.embed&&(E.workspace.module.state.embedScript=!0,E.workspace.module.state.wheelScroll=!1),u.lightbox&&(E.workspace.module.state.embedLightbox=!0,E.workspace.module.state.wheelScroll=!0),u.isProtected&&(E.workspace.module.state.isProtected=!0),u.usePostMsg&&(E.workspace.module.state.usePostMsg=!0),u.DRMKey&&(E.workspace.module.state.urlBlackList=U(u.DRMKey)),u.wheel&&(E.workspace.module.state.wheelScroll=!0),u.embedId&&(E.info.module.state.embedId=u.embedId),u.preloader&&(E.workspace.module.state.preloaderConfig=u.preloader),e=null,et("Running feature checks");var i=[z(),G()].map((function(t){return t.catch((function(t){return!1}))}));Promise.all(i).then((function(e){var r=b(e,2),o=r[0],i=r[1],a=!!E.workspace.module.state.userAgentInfo.browser.safari,u=!!E.workspace.module.state.userAgentInfo.os.ios;E.workspace.module.state.webPSupported=o&&!a&&!u,E.workspace.module.state.alteredSVGColors=!i,P=!0,et("Workspace config ready"),$(t,n)}))}function U(t){var e=[];function r(t){for(var e=[],r=0;r2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:13,a=r(t),u=r(e),s=[],c=0;c0?o?a[c-1]:s[c-1]:i)^u[c%u.length];return n(s)}for(var i=0;i2097152&&(d=!0,E.content.module.state.outsideStorage=!0,et("Switching pager to outside storage mode",{level:"warn"}));var h=(0,c.mf)(null==R||null===(o=R.contentIdProvider)||void 0===o?void 0:o.nextId)?R.contentIdProvider:p.X;(0,c.Kn)(null==u||null===(i=u.extensions)||void 0===i?void 0:i.pagesProps)&&(et("Extending pager config"),e=(0,v.Z)(e,u.extensions.pagesProps));var y=!0;!1===(null==R||null===(s=R.resourceProvider)||void 0===s||null===(s=s.states)||void 0===s?void 0:s.fullyConverted)&&(y=!1,I.status=null),E.search.module.state=(0,v.Z)(E.search.module.state,e.search),delete e.search;var b={};E.content.module.state.hasRtlContent=!(null===(f=e.pages.defaults)||void 0===f||!f.rtlContent);var S=e.bookSize,w=function(t){if(!e.pages.hasOwnProperty(t)||"defaults"===t||"structure"===t)return 1;var r={width:g(t,"width"),height:g(t,"height")},n=g(t,"wide");e.pages[t].hasMargins=(0,m.lx)({rect:{width:n?r.width/2:r.width,height:r.height},bounds:S});var o=e.pages[t],i=[],u=function(u){if(o.hasOwnProperty(u)){var s=o[u];(0,a.k)(s)&&(0,c.e$)(L,u)&&(s.forEach((function(e){"videos"===u&&(E.content.module.state.hasVideoContent=!0);var o=h.nextId();if(e.type=L[u],e.pageId=t,e.itemId=o,n){var a,s=e.rect[2],c=e.rect[0],f=sr.width/2;a=f&&p?"both":f?"left":"right",e.side=a,e.crossWide="both"===a}"gallery"===e.type&&e.items.forEach((function(t){t.pageId=e.pageId})),e.crossWide&&"block"!==e.type&&"link"!==e.type&&(e.iconDelay=25*Math.round(Math.random()*C/25)),e.description&&(e.descriptionByType=k(e.description)),"gallery"===e.type&&e.items.forEach((function(t){t.pageId=e.pageId,t.description&&(t.descriptionByType=k(t.description))})),i.push(o),e=y?(0,l.lx)(e):e,d?x[o]=e:E.content.module.state.items[o]=e})),delete e.pages[t][u])}};for(var s in o)u(s);var f=(0,v.Z)(o,I,{content:i});e.pages[t]=f,f.urlHeader&&(b[f.urlHeader]=t)};for(var P in e.pages)w(P);E.pages.module.state=(0,v.Z)(E.pages.module.state,e.pages),delete e.pages,e.urlNames=b,E.book.module.state=(0,v.Z)(E.book.module.state,e),e=null,_=!0,Z(),et("Pager config ready"),$(t,n)}function H(e){E.pages.module.state.downloadProgress=e,N=!0,et("Progress config loaded"),$(t,n)}function Z(){if(V()){var t=[],e=(0,i.Z)().getShareUrl(!1),r=(0,i.Z)().getLocalStorage().getItem(e+"~page~index"),n=r?JSON.parse(r):{},o=0;Object.keys(n).forEach((function(r){if(-1!==E.pages.module.state.structure.indexOf(r)){var n=JSON.parse((0,i.Z)().getLocalStorage().getItem(e+"~page"+r));if(!(0,a.k)(n)&&(0,a.k)(n.notes)){for(var u=0,s=(n=n.notes).length;u0?Math.max.apply(Math,t.map((function(t){return t.id}))):0,s=E.pages.module.getters.pageProp(E.pages.module.state);t.forEach((function(t){s(t.page,"wide")&&(t.side=t.pX>=E.book.module.state.bookSize.width?"right":"left")})),t.sort((function(t,e){return t.page===e.page&&t.side&&e.side&&t.side!==e.side?t.side===(E.book.module.state.rightToLeft?"left":"right")?1:-1:t.page-e.page})),E.notes.module.state.lastId=u,E.notes.module.state.items=t;var c=(0,i.Z)().getLocalStorage().getItem(e+"~color");c&&(E.notes.module.state.color=c)}}function Y(){return E.pager||E.pages}function V(){return E.notes}function W(){return E.i18n}function X(){return E.skin}function K(){return E.downloads||E.workspace}function q(){return"mobile-app"===S}function J(){return(!Y()||_)&&(!W()||A)&&(!X()||w)&&(!q()||N)&&(!K()||P)}E.workspace.module.state.isLeadFormEnabled=null==D||null===(r=D.leadForm)||void 0===r?void 0:r.enabled,X()&&(et("Loading skin config.json"),(0,f.Z)({url:(0,i.Z)().translatePath("skins/current/config.json"),responseType:"json",callback:j})),K()&&(et("Loading workspace.json"),(0,f.Z)({url:(0,i.Z)().translatePath("assets/workspace.json"),responseType:"json",callback:F})),Y()&&((0,c.mf)(M)?(et("Launching getPager()"),M().then(B)):(0,c.mf)(R.pagerJSON)?(et("Requesting pagerJSON() from provider"),R.pagerJSON().then(B)):(et("Loading pager.json"),(0,f.Z)({url:(0,i.Z)().translatePath("assets/pager.json"),responseType:"json",callback:B}))),W()&&(et("Loading locale config"),E.i18n.module.state.config=(0,v.Z)(E.i18n.module.state.config,y),A=!0),q()&&(et("Loading progress.json"),(0,f.Z)({url:(0,i.Z)().translatePath("assets/progress.json?rand="+(1e6*Math.random()).toFixed()),responseType:"json",callback:H}));var $=function(t,e){if(J()){et("All configs ready");var r=-1!==S.indexOf("mobile");for(var n in E.workspace.module.state.components.book.flip?"single"===E.workspace.module.state.components.book.flipbookType?E.pager.module.state.mode="single":r&&(E.pager.module.state.mode=window.innerWidth<=window.innerHeight?"single":"spread"):E.pager.module.state.mode="slide",et("Registering store modules"),E)t.registerModule(n,E[n].module);et("Starting init"),X()&&t.commit("skin/"+d.qg),W()&&t.commit("i18n/"+g.qg),t.dispatch("pager/init");var o=(0,i.Z)().getPathInfo(),a=(0,i.Z)().getLocalStorage().getItem("overridePage");if(E.pager)if(null!=o&&o.lightboxItemId&&t.state.pager.singleMode){var u=t.getters["content/pageIdByContentId"](o.lightboxItemId),s=!1;if(t.getters["pages/pageProp"](u,"wide")){var c=t.getters["content/pageSideByContentId"](o.lightboxItemId);s=t.state.book.rightToLeft?"left"===c:"right"===c}t.dispatch("pager/goToPageById",{id:u,widePageSecondHalf:s,target:"init"})}else a?((0,i.Z)().getLocalStorage().removeItem("overridePage"),t.dispatch("pager/goToPageByUserInput",{userInput:a,type:"url",target:"override"})):null!=o&&o.page?t.dispatch("pager/goToPageByUserInput",{userInput:o.page,type:"url",target:"init"}):t.dispatch("pager/goToFirst",{target:"init"});o&&o.lightboxItemId&&t.dispatch("lightbox/openLightbox",{itemId:o.lightboxItemId,galleryItemIndex:o.lightboxGalleryItemIndex,target:"init"}),t.commit("search/"+h.pz),o&&o.selectText&&(t.dispatch("text/setSelectionAttributes",{pageID:o.selectText.pageID,pageSide:o.selectText.pageSide,selectionRect:o.selectText.selectionRect,preliminary:!0}),t.dispatch("text/setEffect",!0));var l=E.workspace.module.state.defaultToolWindow;E.search.module.state.enabled&&o&&o.search?(t.dispatch("sidebar/openSidebar",{component:"search",params:{initial:!0}}),t.dispatch("search/setExactMatch",{value:o.exactMatch}),t.dispatch("search/setQuery",{value:o.search})):!r&&l&&"none"!==l&&t.dispatch("sidebar/openSidebar",{component:l,params:{initial:!0}}),w=!1,P=!1,_=!1,A=!1,e(x),x=null}return!1};function Q(t){var e={};for(var r in t){var n=t[r];E.hasOwnProperty(n)&&(e[n]=E[n])}return e}function tt(t){for(var e in t){var r=t[e];E.hasOwnProperty(r)&&delete E[r]}}function et(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.level,n=void 0===r?"info":r,o=e.data,i=void 0===o?null:o;u.api.trigger("log",{message:t,data:i,level:n,timestamp:Date.now()})}}var R=r(3718),M=r.n(R),D=r(3074),j=r(8352),F=r.n(j),U='\n \n \n\n';function z(t){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},z(t)}function G(){return G=Object.assign?Object.assign.bind():function(t){for(var e=1;e0,quantity:r.length})}),2500),a={get skin(){var e=JSON.parse(JSON.stringify(t.state.skin.styles));return e.set=function(e,r){t.dispatch("skin/setParam",{param:e,value:r})},e.getJSON=function(t){var r=t.replacer,n=void 0===r?null:r,o=t.space,i=void 0===o?null:o;return JSON.stringify(e,n,i)},e},get pages(){var e={block:"blocks",link:"links",image:"images",gif:"gifs",gallery:"galleries",video:"videos"},r=JSON.parse(JSON.stringify(t.state.book)),n=t.state.content.outsideStorage;r.search={color:t.state.search.color},r.pages=JSON.parse(JSON.stringify(t.state.pages)),delete r.pages.size;var o=r.pages.hasOwnProperty("defaults")&&r.pages.defaults.textBlocks||!1,i=["defaults","structure","downloadProgress","downloadProgressUpdated","changeInPage","apiChange"];for(var a in r.pages){var u;if(r.pages.hasOwnProperty(a)&&-1===i.indexOf(a)){if((null===(u=r.pages[a])||void 0===u||null===(u=u.content)||void 0===u?void 0:u.length)>0){var s={};for(var c in r.pages[a].content)if(r.pages[a].content.hasOwnProperty(c)){var l=r.pages[a].content[c],f=void 0,p=(f=n?JSON.parse(JSON.stringify(t.contentData[l])):JSON.parse(JSON.stringify(t.state.content.items[l]))).type;delete f.type,delete f.pageId,delete f.itemId,delete f.descriptionByType,f.items&&f.items.forEach((function(t){delete t.pageId,delete t.descriptionByType})),s[e[p]]||(s[e[p]]=[]),s[e[p]].push(f)}r.pages[a]=G(r.pages[a],s)}o=o||r.pages[a].textBlocks||!1,delete r.pages[a].content,delete r.pages[a].substrateUrl,delete r.pages[a].nextSubstrateUrl,delete r.pages[a].textUrl,delete r.pages[a].nextTextUrl,delete r.pages[a].thumbnailUrl,delete r.pages[a].status,delete r.pages[a].loadPending,delete r.pages[a].updatePending,delete r.pages[a].currentSize,delete r.pages[a].side,delete r.pages[a].crossWide,delete r.pages[a].hasMargins}}return delete r.pages.apiChange,delete r.pages.changeInPage,delete r.pages.downloadProgress,delete r.pages.downloadProgressUpdated,r.selectText={textBlocks:o},r.set=function(e,r){var n=e.split(".");switch(n[0]){case"links":"color"===n[1]&&t.dispatch("book/setLinksColor",r),"target"===n[1]&&t.dispatch("book/setLinksTarget",r),"highlightOnFlip"===n[1]&&t.dispatch("book/setLinksFlipHighlight",r);break;case"bookSize":"width"===n[1]&&t.dispatch("book/setBookSizeWidth",r),"height"===n[1]&&t.dispatch("book/setBookSizeHeight",r),t.dispatch("sidebar/closeSidebar");break;case"pages":3===n.length&&(t.dispatch("pages/setPageProperty",{pageID:n[1],property:n[2],value:r}),"shadowDepth"===n[2]&&t.dispatch("pager/setForceRerender",{forceRerender:!0}));break;case"numerationOffset":case"thickness":case"hardcover":case"hardcoverColor":case"contentCrop":case"flipCorner":t.dispatch("book/changeProperty",{key:n[0],value:r});break;case"rightToLeft":case"pageFlippingDuration":case"shadowDepth":t.dispatch("book/changeProperty",{key:n[0],value:r}),t.dispatch("pager/setForceRerender",{forceRerender:!0});break;default:console.error("We've forgotten about this property",e,r)}},r.getJSON=function(t){var e=t.replacer,n=void 0===e?null:e,o=t.space,i=void 0===o?null:o;return JSON.stringify(r,n,i)},r},get workspace(){var e=JSON.parse(JSON.stringify(t.state.workspace));return delete e.userAgentInfo,delete e.muteSound,delete e.pausedByReader,delete e.freezed,delete e.fullScreenMode,delete e.isInited,delete e.isResizing,delete e.isEmbed,delete e.isProtected,delete e.usePostMsg,delete e.embedScript,delete e.embedLightbox,delete e.layout,delete e.bookComponent,delete e.modalOpened,delete e.preloader,delete e.size,delete e.containerSize,delete e.holderSize,delete e.visible,delete e.status,delete e.highlightTimeout,delete e.mini,delete e.zoomPanel,delete e.urlBlackList,delete e.flashMessage,delete e.wheelScroll,delete e.components.slideshow.active,delete e.contextMenuVisible,delete e.callToNavigation,delete e.frozenBy,delete e.webPSupported,delete e.animationInProgress,delete e.animationType,delete e.defaultZoomFactor,delete e.doubletapInterval,delete e.inspectorMode,delete e.accessibilityMode,delete e.policiesUpdated,delete e.isAndroidKeyboardOpened,delete e.lastAndroidKeyboardOpened,delete e.lastAndroidKeyboardClosed,delete e.lastOrientationChanged,delete e.isPrintedInSafari15,delete e.selectTextTipShowsCount,delete e.initialZoom,e.toc=JSON.parse(JSON.stringify(t.state.toc)),(0,l.l)(e.toc,"toggle"),(0,l.l)(e.toc,"active"),(0,l.l)(e.toc,"route"),delete e.toc.scrollY,e.accessibilityPDF=JSON.parse(JSON.stringify(t.state.downloads.accessibilityPDF)),e.downloads=JSON.parse(JSON.stringify(t.state.downloads)),delete e.downloads.accessibilityPDF,e.print=JSON.parse(JSON.stringify(t.state.print)),e.logoLink=JSON.parse(JSON.stringify(t.state.logo)),e.publicationInfo=JSON.parse(JSON.stringify(t.state.info)),delete e.publicationInfo.version,e.search={enabled:t.state.search.enabled},e.set=function(e,r){var n=e.split(".");switch(n[0]){case"attractOnControlsSet":t.dispatch("workspace/setAttractToControlsSet",r);break;case"keepZoomOnPagerMove":t.dispatch("workspace/setKeepZoomOnPagerMove",r);break;case"lightboxNeighborsNavEnabled":t.dispatch("workspace/setLightboxNeighborsNavEnabled",r);break;case"toc":"enabled"===n[1]&&(r?t.dispatch("toc/enable"):(t.dispatch("toc/disable"),"toc"===t.state.sidebar.opened&&t.dispatch("sidebar/closeSidebar"))),"children"===n[1]&&(t.dispatch("toc/setChildren",r),t.dispatch("toc/resetRoutes"));break;case"downloads":1===n.length?(0,c.Kn)(r)&&(void 0!==r.enabled&&(r.enabled?t.dispatch("downloads/enable"):(t.dispatch("downloads/disable"),"download"===t.state.popup.opened&&t.dispatch("popup/closePopup"),-1!==X.indexOf("mobile")&&t.dispatch("sidebar/closeSidebar"))),void 0!==r.allPagesVisible&&t.dispatch("downloads/changeProperty",{key:"allPagesVisible",value:r.allPagesVisible}),void 0!==r.currentPagesVisible&&t.dispatch("downloads/changeProperty",{key:"currentPagesVisible",value:r.currentPagesVisible}),void 0!==r.url&&t.dispatch("downloads/changeProperty",{key:"url",value:r.url}),void 0!==r.size&&t.dispatch("downloads/changeProperty",{key:"size",value:r.size}),void 0!==r.pageFiles&&t.dispatch("downloads/changeProperty",{key:"pageFiles",value:r.pageFiles}),void 0!==r.customFiles&&t.dispatch("downloads/changeProperty",{key:"customFiles",value:r.customFiles})):"enabled"===n[1]&&(r?t.dispatch("downloads/enable"):(t.dispatch("downloads/disable"),"download"===t.state.popup.opened&&t.dispatch("popup/closePopup"),-1!==X.indexOf("mobile")&&t.dispatch("sidebar/closeSidebar")));break;case"sound":1===n.length?t.dispatch("sound/setSound",r):"enabled"===n[1]&&t.dispatch("sound/enableSound",r);break;case"print":2===n.length&&t.dispatch("print/changeProperty",{key:n[1],value:r});break;case"search":1===n.length?(0,c.Kn)(r):(t.commit("search/CHANGE_PROPERTY",{key:n[1],value:r}),"search"===t.state.sidebar.opened&&"enabled"===n[1]&&!1===r&&t.dispatch("sidebar/closeSidebar"));break;case"logoLink":2===n.length&&t.commit("logo/CHANGE_PROPERTY",{key:n[1],value:r});break;case"components":var o=t.state.workspace.attractOnControlsSet,i=!1;if(3===n.length){if("paginator"===n[1]&&"enabled"===n[2]&&t.dispatch("workspace/setPaginatorEnabled",r),"paginator"===n[1]&&"totalPagesVisible"===n[2]&&t.dispatch("workspace/changeTotalPagesVisible",r),"copyright"===n[1]&&t.dispatch("workspace/setCopyright",{param:n[2],value:r}),"slideshow"===n[1]&&t.dispatch("workspace/setSlideshow",{param:n[2],value:r}),"book"===n[1]){o&&(t.dispatch("workspace/setAttractToControlsSet",!1),i=!0);var a=G({},t.state.workspace.components.book,Z({},n[2],r)),u=a.flip?"single"===a.flipbookType?"single":"spread":"slide";t.dispatch("pager/changeMode",{mode:u,target:"api"}),t.dispatch("workspace/setComponent",{component:"book",value:a})}}else if(!0===r)t.dispatch("workspace/enable",n[1]);else if(!1===r)("notes"===n[1]&&"notes"===t.state.sidebar.opened||"thumbnails"===n[1]&&"thumbnails"===t.state.sidebar.opened)&&t.dispatch("sidebar/closeSidebar"),("print"===n[1]&&"print"===t.state.popup.opened||"share"===n[1]&&"share"===t.state.popup.opened)&&t.dispatch("popup/closePopup"),"textSelection"===n[1]&&t.dispatch("text/reset"),t.dispatch("workspace/disable",n[1]);else{if("book"===n[1]){o&&(t.dispatch("workspace/setAttractToControlsSet",!1),i=!0);var s=r.flip?"single"===r.flipbookType?"single":"spread":"slide";t.dispatch("pager/changeMode",{mode:s,target:"api"})}t.dispatch("workspace/setComponent",{component:n[1],value:r})}i&&setTimeout((function(){t.dispatch("workspace/setAttractToControlsSet",!0)}),100);break;case"locales":t.dispatch("i18n/setCurrentLocale",{locale:r[0]});break;case"defaultToolWindow":t.dispatch("workspace/changeProperty",{key:"defaultToolWindow",value:r}),r&&"none"!==r?t.dispatch("sidebar/openSidebar",{component:r,params:{initial:!0}}):null!==t.state.sidebar.opened&&t.dispatch("sidebar/closeSidebar");break;case"accessibilityPDF":n[1]?("enabled"!==n[1]||r||"accessibility"!==t.state.popup.opened||t.dispatch("popup/closePopup"),t.dispatch("downloads/changeAccessibilityProperty",{key:n[1],value:r})):t.dispatch("downloads/changeProperty",{key:"accessibilityPDF",value:r});break;case"title":case"bookSize":case"cookieNotice":case"lowercaseRomans":t.dispatch("workspace/changeProperty",{key:n[0],value:r});break;default:console.error("We've forgotten about this property",e,r)}},e.getJSON=function(t){var r=t.replacer,n=void 0===r?null:r,o=t.space,i=void 0===o?null:o;return JSON.stringify(e,n,i)},e}};if(e){mt.forEach((function(t){e.addEvent(t)}));var u="",s="";t.subscribe((function(n,l){var f,p=function(t,e){var r=!0;return["stateForDisplay","leftPageUrl","rightPageUrl","isWide","widePageSecondHalf","isSlide","isSingle"].map((function(n){r=r&&t[n]===e[n]})),r},d=function(){f=Et();var n=l.pager.lastTarget,o=l.workspace.size,i=o.width0&&void 0!==arguments[0]?arguments[0]:{}).target,r=void 0===e?null:e;t.dispatch("pager/freeze",{target:"api"}),t.dispatch("workspace/freeze",{target:"api",apiTarget:r})})),e.addMethod(it,(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).target;t.dispatch("pager/unfreeze",{target:"api"}),t.dispatch("workspace/unfreeze",{target:"api"})})),e.addMethod(at,(function(t){if(a[t])return a[t]})),e.addMethod(ut,(function(e){$?(tt=!1,Q=e):t.state.pager.freezed?(tt=!1,Q=e,$=setTimeout((function(){St()}),250)):t.dispatch("pager/goToPageByIndex",{pageIndex:e,target:"api"})})),e.addMethod(st,(function(e){e=""+e,$?(tt=!0,Q=e):t.getters["pager/isFrozen"]?(tt=!0,Q=e,$=setTimeout((function(){St()}),250)):t.dispatch("pager/goToPageById",{id:e,target:"api"})})),e.addMethod(lt,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,i.Z)().getShareUrl(!!t,t)})),e.addMethod(ft,(function(e,r){t.dispatch("i18n/setLocaleString",{name:e,value:r})})),e.addMethod(pt,(function(){t.dispatch("workspace/setVisible",!1)})),e.addMethod(dt,(function(){t.dispatch("workspace/setVisible",!0)})),e.addMethod(gt,(function(){var e=U;return-1!==t.state.logo.position.indexOf("right")&&(e=e.replace('class="made-with"','class="made-with" transform="translate(62 0)"')),"data:image/svg+xml;base64,"+btoa(e)})),e.addMethod(ht,(function(e,r){-1!==["backgroundColor","customSubstrateSize","displayName","height","pageResize","rasterize","shadowDepth","slideDelay","stub","substrateFormat","substrateSizes","substrateSizesReady","substrateZoomFormat","textLayer","thFormat","urlHeader","vectorText","wide","width"].indexOf(r)?t.dispatch("pages/removePageProperty",{pageID:e,property:r}):console.log("This is not a property that you are allowed to remove")})),e.addMethod(vt,(function(){t.dispatch("pages/resetNumeration"),t.dispatch("book/changeProperty",{key:"numerationOffset",value:0})})),e.addMethod(et,(function(e){t.dispatch("sidebar/openSidebar",{component:e})})),e.addMethod(rt,(function(){t.dispatch("sidebar/closeSidebar")})),e.addMethod(ct,(function(e){t.dispatch("pager/goToPageByUserInput",{userInput:e,type:"caption",target:"api"})})));var g=(0,i.Z)().adapter.options.hashMode;e.trigger("init",H(H({},Et()),{},{hashMode:g})),d();break;case"pager/CHANGE_PAGE":if(!l.workspace.isInited)return;d();break;case"pager/CHANGE_ZOOM_MODE":(f=Et()).isZoomed?J=f:(f=J).isZoomed=!1,t.state.pager.isMoveWatcherActive||e.trigger(f.isZoomed?"zoomed":"unzoomed",f);break;case"search/CHANGE_STATUS":"complete"===n.payload&&o();break;case"sidebar/OPEN_SIDEBAR":s=t.state.sidebar.opened,e.trigger("window",{action:"open",component:s});break;case"sidebar/CLOSE_SIDEBAR":e.trigger("window",{action:"close",component:s});break;case"popup/OPEN_POPUP":u=t.state.popup.opened,e.trigger("window",{action:"open",component:t.state.popup.opened});break;case"popup/CLOSE_POPUP":e.trigger("window",{action:"close",component:u});break;case"workspace/SET_FULLSCREEN_MODE":e.trigger("fullscreen",{action:"on"});break;case"workspace/UNSET_FULLSCREEN_MODE":e.trigger("fullscreen",{action:"off"});break;case"sound/MUTE_SOUND":e.trigger("sound",{action:"off"});break;case"sound/UNMUTE_SOUND":e.trigger("sound",{action:"on"});break;case"notes/ADD_NOTE":e.trigger("note",{action:"add",initiator:n.payload.initiator});break;case"notes/DELETE_NOTE":e.trigger("note",{action:"remove",initiator:n.payload.initiator});break;case"notes/SET_OPENED":n.payload.id&&e.trigger("note",{action:"open",initiator:null});break;case"workspace/SET_SLIDESHOW_ACTIVE":(0,c.o8)(n.payload.value)||e.trigger("slideshow",{action:n.payload.value?"start":"stop"})}}))}}var _t,Tt,It,Ot,xt=r(8941),Lt={},Ct={install:function(t){t.prototype.$behavior=function(t){if(t in Lt){for(var e,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{}},clearBehavior:function(){Lt={}}},At={},kt={},Nt={install:function(t){t.prototype.$pageRegistry={registerPage:function(t,e,r){At[t+"_"+e]={component:r}},deregisterPage:function(t,e){null==At||delete At[t+"_"+e]},getPageComponent:function(t,e){var r;return(null===(r=At[t+"_"+e])||void 0===r?void 0:r.component)||null}},t.prototype.$contentRegistry={registerContentItem:function(t,e,r){var n,o="left"===e?"right":"left";if(kt[t+"_"+e]={component:r},null!==(n=kt[t+"_"+o])&&void 0!==n&&n.component){var i=kt[t+"_"+o].component;i.$emit("crossWideRegistered",r),r.$emit("crossWideRegistered",i)}},deregisterContentItem:function(t,e){delete kt[t+"_"+e]}}}},Rt=r(7412),Mt=r(2574),Dt=r(4267),jt=r(6879),Ft=r(9666),Ut=r(3819),zt=r(1078),Gt=r(2699),Bt="https://74501e2d31bd4e18a13f1e9071b905a4@o26255.ingest.sentry.io/1844548",Ht="https://2200a5f5f5a14e42b5708b426ec62f7f@o26255.ingest.sentry.io/4504077408665600",Zt=!0,Yt=!1,Vt=null;Zt=!1,_t="4.9.2",Ot="production";var Wt=6e5,Xt={init:function(t,e){var r=this;Tt=t.api,It=e,!Zt&&_t&&t.useSentry&&this._loadExternalConfig((function(t){return r._start(t)}),(function(t){r._sendCrash(t)}))},_processExternalConfig:function(t){return["denyUrls","allowUrls","ignoreErrors"].forEach((function(e){if(t.hasOwnProperty(e)){for(var r=t[e],n=0;n0&&void 0!==arguments[0]?arguments[0]:{rules:[],delay:null,enabled:!1,sampleRate:1,disabledVersions:[],enabledVersions:[],denyUrls:[],allowUrls:[],ignoreErrors:[]},r=!e.enabled||e.disabledVersions.indexOf(_t)>=0;if(!(r&&e.enabledVersions.indexOf(_t)<0)){e.denyUrls=e.denyUrls||e.blacklistUrls||[],e.allowUrls=e.allowUrls||e.whitelistUrls||[],this.config=this._processExternalConfig(e);var n={dsn:"mobile-app"===It?Ht:Bt,release:_t,environment:Ot,integrations:[new zt.w({Vue:M(),attachProps:!0,logErrors:!0}),new Gt.S({depth:5})],denyUrls:this.config.denyUrls,allowUrls:this.config.allowUrls,ignoreErrors:this.config.ignoreErrors,sampleRate:this.config.sampleRate||1,maxValueLength:5120,attachStacktrace:!0,normalizeDepth:6,beforeSend:function(e,n){if((r=!t.config.enabled||t.config.disabledVersions.indexOf(_t)>=0)&&t.config.enabledVersions.indexOf(_t)<0)return null;if(null!==t.config.delay&&null!==Vt&&Vt+t.config.delay>Date.now())return console.log("Event sending throttled: "),console.error(n.originalException),null;try{for(var o=0;o=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}}})},0:function(t,e,r){r.d(e,{YF:function(){return It},bh:function(){return Tt},kr:function(){return Ot}});var n=r(3718),o=r.n(n),i=r(629),a=r(1071),u=r(5688),s=r(7003),c=r(776),l=(r(5666),r(710));function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function p(){p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),u=new k(n||[]);return o(a,"_invoke",{value:x(t,r,u)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var g="suspendedStart",h="suspendedYield",v="executing",m="completed",y={};function b(){}function S(){}function E(){}var w={};c(w,a,(function(){return this}));var P=Object.getPrototypeOf,_=P&&P(P(N([])));_&&_!==r&&n.call(_,a)&&(w=_);var T=E.prototype=b.prototype=Object.create(w);function I(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,u){var s=d(t[o],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==f(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function x(e,r,n){var o=g;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var s=L(u,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===g)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=d(e,r,n);if("normal"===c.type){if(o=n.done?m:h,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function L(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,L(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=d(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function d(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(c){return void r(c)}u.done?e(s):Promise.resolve(s).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){d(i,n,o,a,u,"next",t)}function u(t){d(i,n,o,a,u,"throw",t)}a(void 0)}))}}var h="search/",v=null,m=null,y=null,b=null;function S(t,e,r){!e.enabled||r.getters["search/isInitializing"]||r.getters["search/isInitialized"]||(r.commit(h+a.lJ,!0),E(t,r),w(t,r),_(t,e,r))}function E(t,e){t.normalizeInitialized||(String.prototype.normalize?String.prototype.normalize.isPolyfill?e.commit(h+a.J$,!0):e.commit(h+a.J$,!1):g(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.e(12).then(r.bind(r,4027));case 2:e.commit(h+a.J$,!0);case 3:case"end":return t.stop()}}),t)})))())}function w(t,e){t.libraryInitialized||g(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.e(20).then(r.bind(r,9070));case 2:return v=t.sent,t.next=5,r.e(2).then(r.bind(r,6233));case 5:m=t.sent,e.commit(h+a.Ql);case 7:case"end":return t.stop()}}),t)})))()}function P(t,e,r){t.libraryInitialized&&t.indexLoaded&&!t.algorithmInitialized&&(y=new v.Search(e,r),b=new m.SearchHighlight(r),r.commit(h+a.V8,!0))}function _(t,e,r){function n(t,e){for(;t.length;)r.commit(h+a.B9,t.splice(0,e));setTimeout((function(){r.commit(h+a.Hc)}),100)}t.indexLoaded||t.indexLoading||(r.commit(h+a.n5),(0,l.Z)({url:(0,c.Z)().translatePath("assets/search/searchtext.js"),responseType:"json",callback:function(t){n(t.pages.page,e.chunkSize)}}))}function T(t){return t.libraryInitialized&&t.normalizeInitialized&&t.indexLoaded}function I(t){t.commit(h+a.IC)}function O(t,e){t.enabled&&e.getters["search/isInitialized"]&&y.search(t.query)}function x(){b&&b.clear()}function L(t,e){if(t.enabled&&e.getters["search/isInitialized"]&&b&&t.query.length>0)for(var r=e.getters["search/getSearchTextInfoLoadedPages"].slice(0),n=0,o=r.length;ne.pagesCount||"left"===t&&e.currentLeft-2<0;return r||n},h=function(){return o()&&p()||c()},v=function(){return u()?"left":"right"},m=function(t){return o()||i()||g(t)?"arrow":"corner"},y=function(){if(!e&&n()&&(e=!0,r=!1,h())){var o=v(),i=m(o);t.dispatch("workspace/setCallToNavigation",{type:i,side:o})}},b=function(){r||(r=!0,t.dispatch("workspace/setCallToNavigation",{type:null,side:null}))};t.subscribe((function(t){var r,n,o,i;"pager/CHANGE_PAGE"===t.type?e&&!d?b():setTimeout((function(){y()}),1e3):e&&"pager/SET_CURRENT_MODE"===t.type?(b(),setTimeout((function(){e=!1,y()}),500)):"pager/FREEZE"===t.type&&"api"!==(null===(r=t.payload)||void 0===r?void 0:r.target)||"pager/CHANGE_FLIP_STATE"===t.type||"content/START_VIDEO"===t.type?b():"book/CHANGE_PROPERTY"===t.type&&"flipCorner"===(null===(n=t.payload)||void 0===n?void 0:n.key)?t.payload.value?(e=!1,y()):b():"book/CHANGE_PROPERTY"!==t.type||"hardcover"!==(null===(o=t.payload)||void 0===o?void 0:o.key)&&"rightToLeft"!==(null===(i=t.payload)||void 0===i?void 0:i.key)||(e=!1,y())}))};function U(){return U=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0){var i=r;return i[n]=U(i[n],e),this._save(t),!0}return!1},z.prototype.setDefaultColor=function(t){var e=this.getColorKey();(0,c.Z)().getLocalStorage().setItem(e,t)},z.prototype.getDefaultColor=function(){var t=this.getColorKey();return(0,c.Z)().getLocalStorage().getItem(t)},z.prototype._save=function(t){var e=this.getPageKey(t),r=JSON.stringify(this.index[e]);(0,c.Z)().getLocalStorage().setItem(e,r),this.index[e].length?this.pages[t]=this.index[e].length:delete this.pages[t],(0,c.Z)().getLocalStorage().setItem(this.getPageKey("~index"),JSON.stringify(this.pages))},z.prototype.remove=function(t,e){for(var r=this.getPageData(t),n=-1,o=0;o=0&&(r.splice(n,1),this._save(t),!0)},z.prototype.getPageIds=function(){var t=[];for(var e in this.pages)t.push(e);return t},z.prototype.getNotesOnPage=function(t){return this.getPageData(t).notes};var G=function(t){t.subscribe((function(e,r){if(A||(A=new z((0,c.Z)().getShareUrl(!1))),"notes/ADD_NOTE"===e.type){var n=e.payload.id,o=t.getters["notes/noteByID"](n),i={id:o.id,pX:o.pX,pY:o.pY,side:o.side,color:o.color,date:o.date,text:o.text};A.add(o.page,i)}else if("notes/CHANGE_TEXT"===e.type||"notes/CHANGE_COLOR"===e.type){var a=r.notes.items[e.payload.index],u={id:a.id,pX:a.pX,pY:a.pY,side:a.side,color:a.color,date:a.date,text:a.text};A.change(a.page,u)}else if("notes/MOVE_NOTE"===e.type){var s=e.payload.oldValue.id,l=t.getters["notes/noteByID"](s),f={id:l.id,pX:l.pX,pY:l.pY,side:l.side,color:l.color,date:l.date,text:l.text};e.payload.page===e.payload.oldValue.page?A.change(l.page,f):(A.remove(e.payload.oldValue.page,f),A.add(l.page,f))}else"notes/DELETE_NOTE"===e.type?A.remove(e.payload.notePage,{id:e.payload.deletedId}):"notes/SET_COLOR"===e.type&&A.setDefaultColor(e.payload.color)}))},B=function(t,e,r,n){var o={};o.zoom=!n&&(t.state.pages.size.zoomFactor>1||e.pager.isMoveWatcherActive);var i,a=e.pager.currentPage;if(r&&(o.numerationOffset=e.book.numerationOffset),e.pager.single_wide){var u=t.state.book.rightToLeft;i=e.pager.single_currentSide===(u?"left":"right")}e.lightbox.currentItemId&&(o.lightboxItemId=e.lightbox.currentItemId,o.lightboxGalleryItemIndex=e.lightbox.currentGalleryItemIndex),o.page=t.getters["pages/urlHeaderById"]({id:a,forceFullWide:null,widePageSecondHalf:i}),(0,c.Z)().setPath(o)};function H(t,e){var r=t.state.pager.lastTarget,n=1!==t.state.pages.size.zoomFactor;if(!(["init","search","notes","orientation"].indexOf(r)>-1)){var o=t.state.workspace.keepZoomOnPagerMove;"history"===r?t.dispatch("pager/setMoveWatcher",t.state.pager.zoomMode):n&&o&&t.dispatch("pager/setMoveWatcher",!0)}}var Z,Y=function(t){t.subscribe((function(e,r){switch(e.type){case"lightbox/SET_CURRENT_ITEM":case"lightbox/CLOSE_LIGHTBOX":if("history"===r.lightbox.target)return;B(t,r);break;case"pager/CHANGE_PAGE":if(H(t,r),"history"===r.pager.lastTarget||"init"===r.pager.lastTarget)return;var n=!t.state.workspace.keepZoomOnPagerMove&&t.state.pages.size.zoomFactor>1,o="search"===r.pager.lastTarget||"notes"===r.pager.lastTarget;B(t,r,!1,n||o);break;case"pager/CHANGE_ZOOM_MODE":if(r.pager.isMoveWatcherActive||"history"===r.pager.lastTarget)return;B(t,r);break;case"book/CHANGE_PROPERTY":"numerationOffset"===e.payload.key&&B(t,r,!0),"rightToLeft"===e.payload.key&&B(t,r,!1);break;case"workspace/CHANGE_PROPERTY":"lowercaseRomans"===e.payload.key&&B(t,r,!1)}}))};function V(t){this.store=t,this.turnTimeoutId=null,this.active=!1,this.enabled=t.state.workspace.components.slideshow.enabled,this.interval=t.state.workspace.components.slideshow.interval,this.loop=t.state.workspace.components.slideshow.loop,this.waitingIntervalId=null,this.waitingInterval=250}V.prototype.constructor=V,V.prototype.turnPage=function(){var t=this,e=this.store.getters["pager/isLastSpread"];this.active&&(!this.loop&&e?this.store.dispatch("workspace/setSlideshowActive",{value:!1}):this.turnTimeoutId=setTimeout((function(){var r=e?"pager/goToFirst":"pager/goForward";t.store.dispatch(r,{target:"slide-show"})}),this.interval))},V.prototype.waitCurrentSpreadAndTurnPage=function(){Z.currentSpreadLoaded()?this.turnPage():this.waitForCurrentSpreadLoad()},V.prototype.currentSpreadLoaded=function(){var t=this,e=this.store.getters["pager/currentPages"];return e.length>0&&!e.some((function(e){return!t.pageContentLoaded(e)}))},V.prototype.pageContentLoaded=function(t){var e=document.querySelectorAll('div.page[data-page-id="'.concat(t,'"]')),r=e.length>0;return Array.prototype.forEach.call(e,(function(t){if(r){var e=t.__vue__;r=!e.rawIsLoading&&!e.isLoading}if(r){var n=t.querySelectorAll("img");Array.prototype.forEach.call(n,(function(t){r&=t.classList.contains("bg-layer")||t.complete}))}if(r){var o=t.querySelectorAll(".content-element");Array.prototype.forEach.call(o,(function(t){var e=t.__vue__;e.$vnode.tag.indexOf("v-touch")>=0&&(e=t.__vue__.$parent),r&=!e.rawThumbnailUrl||!!e.thumbnailBlob}))}})),r},V.prototype.waitForCurrentSpreadLoad=function(){var t=this;this.waitingIntervalId=setInterval((function(){t.currentSpreadLoaded()&&(t.stopActivities(),t.turnPage())}),this.waitingInterval)},V.prototype.stopActivities=function(){clearTimeout(this.turnTimeoutId),clearInterval(this.waitingIntervalId)};var W=function(t,e,r,n){Z||(Z=new V(t)),r&&(Z[r]=n),Z.active=e,Z.active?Z.waitCurrentSpreadAndTurnPage():Z.stopActivities()},X=function(t){var e=function(e){var r;if(null!==(r=Z)&&void 0!==r&&r.active){var n=-1!==["pager/goForward","pager/goToFirst","pager/goBackward","pager/goToLast","pager/goToPageById"].indexOf(e.type),o=n&&"slide-show"!==e.payload.target,i="workspace/setStatus"===e.type&&"pan"===e.payload,a="pages/changePageSize"===e.type&&1!==e.payload.zoomFactor,u=["workspace/setModalOpened","popup/openPopup","lightbox/openLightbox"].includes(e.type);if(o||a||i||u)return void t.dispatch("workspace/setSlideshowActive",{value:!1});n&&(Z.stopActivities(),Z.waitCurrentSpreadAndTurnPage())}"workspace/setSlideshowActive"===e.type&&W(t,e.payload.value),"workspace/setSlideshow"===e.type&&W(t,!1,e.payload.param,e.payload.value)};t.subscribeAction({after:e})},K=r(770);function q(t,e){var r=t.getBoundingClientRect(),n=e.getBoundingClientRect();return n.top<=r.top&&r.top<=n.bottom&&n.top<=r.bottom&&r.bottom<=n.bottom&&n.left<=r.left&&r.left<=n.right&&n.left<=r.right&&r.right<=n.right}var J=r(5392);function $(t){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$(t)}function Q(t){return rt(t)||et(t)||dt(t)||tt()}function tt(){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 et(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function rt(t){if(Array.isArray(t))return gt(t)}function nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ot(t){for(var e=1;e=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function ct(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(c){return void r(c)}u.done?e(s):Promise.resolve(s).then(n,o)}function lt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ct(i,n,o,a,u,"next",t)}function u(t){ct(i,n,o,a,u,"throw",t)}a(void 0)}))}}function ft(t,e){return vt(t)||ht(t,e)||dt(t,e)||pt()}function pt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function dt(t,e){if(t){if("string"==typeof t)return gt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gt(t,e):void 0}}function gt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=.8},w=function(t){return"auto"===window.getComputedStyle(t).zIndex},P=[{id:"001",name:"containerOutbound",func:S,fix:"reset"},{id:"002",name:"containerOpacity",func:E,fix:"css"},{id:"003",name:"containerZindex",func:function(t){var e=window.getComputedStyle(t);return-1!==["auto","inherit","1","2"].indexOf(e.zIndex)},fix:"css"}],_=[{id:"101",name:"linkOutbound",func:S,fix:"reset"},{id:"102",name:"linkOpacity",func:E,fix:"css"},{id:"103",name:"linkZindex",func:w,fix:"css"},{id:"104",name:"linkHref",func:function(e){return e.href===t.state.logo.url},fix:"reset"},{id:"105",name:"linkTarget",func:function(e){return e.target===t.state.logo.target},fix:"reset"}],T=[{id:"201",name:"logoOutbound",func:S,fix:"reset"},{id:"202",name:"logoOpacity",func:E,fix:"css"},{id:"203",name:"logoZindex",func:w,fix:"css"},{id:"204",name:"logoElPoint",func:function(t){if(h()||!v())return!0;var e=t.getBoundingClientRect(),r=e.left+e.width/2,n=e.top+e.height/2;return t===document.elementFromPoint(r,n)},fix:"move"},{id:"301",name:"svgIntegrity",func:function(t){var e=null==t?void 0:t.outerHTML;if(!e)return!1;e=e.replace(/data-v-[\w="]*\s?/gm,"");var r=K.Z.hex_sha256(e);return r===mt||r===yt},fix:"reset"}],I=function(){var t=y(),n=t.reportNum,o=t.productCode,a=m().hasDefaultLogo,u=b();"fbp"===o&&a&&n&&u&&(e=setInterval(lt(st().mark((function t(){return st().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:x(),++i===bt&&clearInterval(e);case 3:case"end":return t.stop()}}),t)}))),1e4),r=!0)},O=function(t,e){var r=t.func(e);return ot(ot({},t),{},{passed:r})},x=function(){if(r&&!g()){var t=f(),e=u(),n=s();if(a()&&(!e||!t)||!n)return C(),void k(["0"]);var i=[],c={move:!1,reset:!1,css:!1},l=T.map((function(t){return O(t,n)}));a()&&(l=[].concat(Q(l),Q(P.map((function(e){return O(e,t)}))),Q(_.map((function(t){return O(t,e)}))))),l.forEach((function(t){t.passed||(i.push(t.id),t.fix&&(c[t.fix]=!0))})),i.length>0&&k(i),c.move&&o-1&&(o=o.slice(i+1))}var a=(0,L.m9)(o);a.length>45&&(a=a.slice(0,20)+" ... "+a.slice(-15)),e.push({size:n.size?(0,L.BU)(n.size):"",url:"assets/downloads/files/"+encodeURIComponent(n.url),title:a,fileName:n.url})}return e},getPageFiles:function(t,e,r,n){if(!t.pageFiles||t.pageFiles.length<1)return null;var o=[],i=n["pager/state"],a=i.spreadMode?2:1,u=function(t,e,n,i){var a=["right","left"],u=a[0]===n?a[1]:a[1]===n?a[0]:n;o.push({size:t.size?(0,L.BU)(t.size):"",url:"assets/downloads/page"+(0,L.qQ)(e)+".pdf",side:r.book.rightToLeft?u:n,pageId:e,fileName:"page"+(0,L.qQ)(e)+".pdf",ready:i===A.Z.READY})};for(var s in t.pageFiles)if(t.pageFiles.hasOwnProperty(s)){var c=n["pages/pageProp"](s,"status"),l=t.pageFiles[s];if(i.currentPage!==s||i.spreadMode?i.leftPage===s?u(l,s,"left",c):i.rightPage===s&&u(l,s,"right",c):u(l,s,"current",c),o.length===a)break}return o}};function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function R(t,e,r){return(e=M(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t){var e=D(t,"string");return"symbol"===N(e)?e:String(e)}function D(t,e){if("object"!==N(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==N(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var j,F=(R(S={},T,(function(t,e){var r=e.key,n=e.value;h().set(t,r,n)})),R(S,I,(function(t,e){var r=e.key,n=e.value;h().set(t.accessibilityPDF,r,n)})),R(S,P,(function(t){t.enabled=!0})),R(S,_,(function(t){t.enabled=!1})),S),U={namespaced:!0,actions:x,getters:k,mutations:F,state:{enabled:!1,allPagesVisible:!0,currentPagesVisible:!1,accessibilityPDF:{enabled:!0,useOriginalPdf:!1}}},z={version:function(t){return t.version}},G={namespaced:!0,actions:{},getters:z,mutations:{},state:{version:"",embedId:""}},B="CHANGE_PROPERTY",H="UPDATE_KEY",Z="SET_RENDER_LOGO",Y="SET_FIT_RECT_NAME",V={CHANGE_PROPERTY:B,UPDATE_KEY:H,SET_RENDER_LOGO:Z,SET_FIT_RECT_NAME:Y},W={changeProperty:function(t,e){var r=t.commit,n=(t.state,e.key),o=e.value;r(V.CHANGE_PROPERTY,{key:n,value:o})},updateKey:function(t){(0,t.commit)(V.UPDATE_KEY)},resetLogo:function(t){var e=t.commit;e(V.SET_RENDER_LOGO,!1),setTimeout((function(){e(V.SET_RENDER_LOGO,!0)}),0)},setFitRectName:function(t,e){(0,t.commit)(V.SET_FIT_RECT_NAME,e)}},X={customLogoUrl:function(t){return t.image&&(0,C.HD)(t.image)?t.image:null},hasDefaultLogo:function(t){return!(!t.url||!(0,C.HD)(t.url)||t.image)&&-1!==t.url.toLowerCase().indexOf("flippingbook.com")},showLogo:function(t,e,r){var n="desktop"===r.workspace.layout;return(e.customLogoUrl||e.hasDefaultLogo)&&(n||t.useInMobile)},logoKey:function(t){return t.logoKey},renderLogo:function(t){return t.renderLogo},fitInMenu:function(t){return!!(0,C.HD)(t.fitRectName)&&-1!==t.fitRectName.indexOf("menu")}};function K(t){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K(t)}function q(t,e,r){return(e=J(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function J(t){var e=$(t,"string");return"symbol"===K(e)?e:String(e)}function $(t,e){if("object"!==K(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Q=(q(j={},B,(function(t,e){var r=e.key,n=e.value;h().set(t,r,n)})),q(j,H,(function(t){t.logoKey=(1e6*Math.random()).toFixed()})),q(j,Z,(function(t,e){t.renderLogo=e})),q(j,Y,(function(t,e){t.fitRectName=e})),j),tt={namespaced:!0,actions:W,getters:X,mutations:Q,state:{useInMobile:!0,allowOpaqueBar:!1,position:"bottom-right",logoKey:null,renderLogo:!0,fitRectName:null}},et=r(7003),rt="single",nt="slide",ot="spread",it=r(0);function at(t){return(0,it.bh)().state[t]}function ut(t,e){return(0,it.bh)().commit(t,e)}function st(){return(0,it.bh)().getters}function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}function lt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ft(t,e){for(var r=0;r=0;n--){var o=r[n];if(o&&(e||!st()["pages/pageProp"](o,"stub")))return o}return null}},{key:"_getPagesStructure",value:function(){return at("pages").structure}},{key:"_getPageIndex",value:function(t){return t?this._getPagesStructure().indexOf(t):null}},{key:"_isValidPageId",value:function(t){return null!==t&&this._getPageIndex(t)>=0}},{key:"_isRtl",value:function(){return at("book").rightToLeft}},{key:"_getPageSides",value:function(){return this._isRtl()?["right","left"]:["left","right"]}}]),t}();function vt(t){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(t)}function mt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&yt(t,e)}function yt(t,e){return yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},yt(t,e)}function bt(t){var e=wt();return function(){var r,n=Pt(t);if(e){var o=Pt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return St(this,r)}}function St(t,e){if(e&&("object"===vt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Et(t)}function Et(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wt(){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(t){return!1}}function Pt(t){return Pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pt(t)}function _t(t,e){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;ut("pager/SET_PROPERTY",{key:"spread_leftPage",value:t}),ut("pager/SET_PROPERTY",{key:"spread_rightPage",value:e}),ut("pager/CHANGE_PAGE",{pageId:null!==(r=null!=n?n:t)&&void 0!==r?r:e,widePageSecondHalf:!(0,C.Ft)(o)&&o})}},{key:"goForward",value:function(){var t=this._getNextState(this.state.spread_leftPage,this.state.spread_rightPage,!0);(t.leftPage||t.rightPage)&&this.setPageParameters(t.leftPage,t.rightPage)}},{key:"goBackward",value:function(){var t=this._getPrevState(this.state.spread_leftPage,this.state.spread_rightPage,!0);(t.leftPage||t.rightPage)&&this.setPageParameters(t.leftPage,t.rightPage)}},{key:"getNextPageId",value:function(t){var e;return this._getNextPageId(null!==(e=this.state.spread_rightPage)&&void 0!==e?e:this.state.spread_leftPage,t)}},{key:"getPrevPageId",value:function(t){var e;return this._getPrevPageId(null!==(e=this.state.spread_leftPage)&&void 0!==e?e:this.state.spread_rightPage,t)}},{key:"getNextState",value:function(t){var e=this._getNextState(this.state.spread_leftPage,this.state.spread_rightPage,t);return e.leftPage||e.rightPage?this.getStateByPageId(e.leftPage||e.rightPage):null}},{key:"getPrevState",value:function(t){var e=this._getPrevState(this.state.spread_leftPage,this.state.spread_rightPage,t);return e.leftPage||e.rightPage?this.getStateByPageId(e.leftPage||e.rightPage):null}},{key:"getSecondNextState",value:function(t){var e=this._getNextState(this.state.spread_leftPage,this.state.spread_rightPage,t);if(!e.leftPage&&!e.rightPage)return null;var r=this._getNextState(e.leftPage,e.rightPage,t);return r.leftPage||r.rightPage?this.getStateByPageId(r.leftPage||r.rightPage):null}},{key:"getSecondPrevState",value:function(t){var e=this._getPrevState(this.state.spread_leftPage,this.state.spread_rightPage,t);if(!e.leftPage&&!e.rightPage)return null;var r=this._getPrevState(e.leftPage,e.rightPage,t);return r.leftPage||r.rightPage?this.getStateByPageId(r.leftPage||r.rightPage):null}},{key:"getDeltaTurns",value:function(t,e){var r,n;if(!t.spreadMode||!e.spreadMode)return null;if(t.rightPage===e.rightPage&&t.leftPage===e.leftPage)return 0;for(var o=this._getPageIndex(null!==(r=t.rightPage)&&void 0!==r?r:t.leftPage),i=this._getPageIndex(null!==(n=e.leftPage)&&void 0!==n?n:t.rightPage)-o,a=i>0?this._getNextState:this._getPrevState,u=0,s={leftPage:t.leftPage,rightPage:t.rightPage};s.leftPage!==e.leftPage||s.rightPage!==e.rightPage;){var c=a.apply(this,[s.leftPage,s.rightPage,!0]);if(c.null)return null;if(s=c,++u>this.state.maxDeltaTurns)break}return i>0?u:-u}},{key:"getState",value:function(){var t=this.state.currentPage,e=st()["pages/pageProp"](t,"wide");return new kt({leftPage:this.state.spread_leftPage,rightPage:this.state.spread_rightPage,currentPage:t,wide:e,zoomMode:this.state.zoomMode,isFirstSpread:!this.getPrevPageId(!0),isLastSpread:!this.getNextPageId(!0),target:this.state.lastTarget})}},{key:"getLegacyState",value:function(){return this.getState()}},{key:"getStateByPageId",value:function(t){var e=this._getPagesStructure().indexOf(t),r=st()["pages/pageProp"](t,"wide");if(e%2!=0){var n=t,o=r?n:this._getNextPageId(n,!0);return this._getStateByPages(n,o,r)}var i=t,a=r?i:this._getPrevPageId(i,!0);return this._getStateByPages(a,i,r)}},{key:"getFlipState",value:function(){var t=st()["pages/pageIndexById"](this.state.spread_leftPage),e=t+1,r=st()["pages/pagesCount"];return this._isRtl()?{pagesCount:r,currentRight:r-t-1,currentLeft:r-e-1}:{pagesCount:r,currentRight:e,currentLeft:t}}},{key:"getFlipParams",value:function(t){if(null===t)return null;var e=st()["pages/pagesCount"],r=t%2!=0?"left":"right",n=t;this._isRtl()&&(n=e-t-1,r=e%2!=0?t%2!=0?"right":"left":t%2!=0?"left":"right");var o=st()["pages/pageIdByIndexWide"](n);return{pageId:o,pageSide:r,isReverseSide:void 0,wide:st()["pages/pageProp"](o,"wide")}}},{key:"isCurrentPage",value:function(t){return t===this.state.spread_leftPage||t===this.state.spread_rightPage}},{key:"currentPages",value:function(){var t,e=null!==(t=this.state.spread_leftPage)&&void 0!==t?t:this.state.spread_rightPage,r=[e];return this.state.spread_rightPage&&this.state.spread_rightPage!==e&&r.push(this.state.spread_rightPage),r}},{key:"_getNextState",value:function(t,e,r){var n=this._getNextPageId(null!=e?e:t,r);return n?{leftPage:n,rightPage:st()["pages/pageProp"](n,"wide")?n:this._getNextPageId(n,r)}:{leftPage:null,rightPage:null}}},{key:"_getPrevState",value:function(t,e,r){var n=this._getPrevPageId(null!=t?t:e,r);return n?{leftPage:st()["pages/pageProp"](n,"wide")?n:this._getPrevPageId(n,r),rightPage:n}:{leftPage:null,rightPage:null}}},{key:"_getStateByPages",value:function(t,e,r){var n=this._getPrevPageId(null!=t?t:e,!0),o=this.getNextPageId(null!=e?e:t,!0);return new kt({leftPage:t,rightPage:e,currentPage:null!=t?t:e,isFirstSpread:!n,isLastSpread:!o,wide:r,zoomMode:this.state.zoomMode,target:this.state.lastTarget})}}]),r}(ht);function Wt(t){return Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wt(t)}function Xt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kt(t,e){for(var r=0;r0?this._getNextState:this._getPrevState,a=0,u={pageId:t.currentPage,pageSide:t.pageSide};u.pageId!==e.currentPage||u.pageSide!==e.pageSide;){var s=i.apply(this,[u.pageId,u.pageSide,!0]);if(null===s.pageId)return null;if(u=s,++a>this.state.maxDeltaTurns)break}return o>0?a:-a}},{key:"getState",value:function(){return new Ct({currentPage:this.state.single_currentPage,pageSide:this.state.single_currentSide,wide:this.state.single_wide,widePageSecondHalf:this.state.widePageSecondHalf,zoomMode:this.state.zoomMode,isFirstSpread:!this.getPrevPageId(!0),isLastSpread:!this.getNextPageId(!0),target:this.state.lastTarget})}},{key:"getLegacyState",value:function(){return new Ct({currentPage:this.state.single_currentPage,pageSide:this.state.single_currentSide,leftPage:null,rightPage:this.state.single_currentPage,widePageSecondHalf:this.state.widePageSecondHalf,wide:this.state.single_wide,zoomMode:this.state.zoomMode,isFirstSpread:!this.getPrevPageId(!0),isLastSpread:!this.getNextPageId(!0),target:this.state.lastTarget})}},{key:"getStateByPageId",value:function(t){var e=st()["pages/pageProp"](t,"wide"),r=this._getPageSides()[0],n=e?r:"both",o=this._getPrevState(t,n,!0),i=this._getNextState(t,n,!0),a=e&&t===o.pageId;return new Ct({currentPage:t,pageSide:n,wide:e,widePageSecondHalf:a,zoomMode:this.state.zoomMode,isFirstSpread:!o.pageId,isLastSpread:!i.pageId,target:this.state.lastTarget})}},{key:"getFlipState",value:function(){var t=st()["pages/pageIndexById"](this.state.single_currentPage),e=this.getPrevPageId(!0);this.state.single_currentPage===e&&t++;var r=2*st()["pages/pagesCount"]-1,n=2*t,o=2*t-1;return this._isRtl()?{pagesCount:r,currentRight:r-o-1,currentLeft:r-n-1}:{pagesCount:r,currentRight:n,currentLeft:o}}},{key:"getFlipParams",value:function(t){var e=t%2!=0&&0!==t,r=at("workspace").components.book.isTranslucentReverseSide;return e?r?this._getFlipParamsTranslucentReverseSide(t):{isReverseSide:e}:null===t?{}:this._getFlipParamsFrontSide(t)}},{key:"_getFlipParamsTranslucentReverseSide",value:function(t){var e,r;if(this._isRtl()){var n=st()["pages/pagesCount"];e=(t+1)/2,r=n%2!=0?(e+1)%2!=0?"left":"right":(e+1)%2!=0?"right":"left",e=n-e-1}else r=((e=(t-1)/2)-1)%2!=0?"right":"left";return this._createFlipParamsResult({pageIndex:e,pageSide:r,isReverseSide:!0})}},{key:"_getFlipParamsFrontSide",value:function(t){var e,r=t/2;if(this._isRtl()){var n=st()["pages/pagesCount"];e=n%2!=0?r%2!=0?"right":"left":r%2!=0?"left":"right",r=n-r-1}else e=r%2!=0?"left":"right";return this._createFlipParamsResult({pageIndex:r,pageSide:e,isReverseSide:!1})}},{key:"_createFlipParamsResult",value:function(t){var e=t.pageSide,r=t.pageIndex,n=t.isReverseSide,o=st()["pages/pageIdByIndexWide"](r);return{pageId:o,wide:st()["pages/pageProp"](o,"wide"),pageSide:e,isReverseSide:n}}},{key:"isCurrentPage",value:function(t,e,r){if(this.state.single_currentPage!==t)return!1;if(!this.state.single_wide)return!0;if(e)return this.state.single_currentSide===e;var n=this.state.single_currentSide===this._getPageSides()[0]&&!r,o=this.state.single_currentSide===this._getPageSides()[1]&&r;return n||o}},{key:"currentPages",value:function(){return[this.state.single_currentPage]}},{key:"_getNextState",value:function(t,e,r){var n=st()["pages/pageProp"](t,"wide"),o=this._getPageSides()[0];if(n&&e===o)return{pageId:t,pageSide:this._getPageSides()[1]};var i=this._getNextPageId(t,r);return null===i?{pageId:null,pageSide:null}:{pageId:i,pageSide:st()["pages/pageProp"](i,"wide")?this._getPageSides()[0]:"both"}}},{key:"_getPrevState",value:function(t,e,r){var n=st()["pages/pageProp"](t,"wide"),o=this._getPageSides()[1];if(n&&e===o)return{pageId:t,pageSide:this._getPageSides()[0]};var i=this._getPrevPageId(t,r);return null===i?{pageId:null,pageSide:null}:{pageId:i,pageSide:st()["pages/pageProp"](i,"wide")?this._getPageSides()[1]:"both"}}},{key:"_getFullState",value:function(t,e){var r=st()["pages/pageProp"](t,"wide"),n=r?e:"both",o=this._getPrevState(t,e,!0),i=this._getNextState(t,e,!0),a=r&&t===o.pageId;return new Ct({currentPage:t,pageSide:n,wide:r,widePageSecondHalf:a,zoomMode:this.state.zoomMode,isFirstSpread:!o.pageId,isLastSpread:!i.pageId,target:this.state.lastTarget})}},{key:"_calculateTargetSide",value:function(t,e){return st()["pages/pageProp"](t,"wide")?e?this._getPageSides()[1]:this._getPageSides()[0]:"both"}}]),r}(ht);function ue(t){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(t)}function se(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ce(t,e){for(var r=0;r1&&void 0!==arguments[1]&&arguments[1];ut("pager/SET_PROPERTY",{key:"slide_currentPage",value:t}),ut("pager/SET_PROPERTY",{key:"slide_wide",value:st()["pages/pageProp"](t,"wide")}),ut("pager/CHANGE_PAGE",{pageId:t,widePageSecondHalf:!!e&&this.state.widePageSecondHalf})}},{key:"goForward",value:function(){this.goToPageById(this.getNextPageId(!0))}},{key:"goBackward",value:function(){this.goToPageById(this.getPrevPageId(!0))}},{key:"getNextPageId",value:function(t){return this._getNextPageId(this.state.slide_currentPage,t)}},{key:"getPrevPageId",value:function(t){return this._getPrevPageId(this.state.slide_currentPage,t)}},{key:"getNextState",value:function(t){var e=this._getNextState(this.state.slide_currentPage,t);return e.currentPage?this.getStateByPageId(e.currentPage):null}},{key:"getPrevState",value:function(t){var e=this._getPrevState(this.state.slide_currentPage,t);return e.currentPage?this.getStateByPageId(e.currentPage):null}},{key:"getSecondNextState",value:function(t){var e=this._getNextState(this.state.slide_currentPage,t);if(!e.currentPage)return null;var r=this._getNextState(e.currentPage,t);return r.currentPage?this.getStateByPageId(r.currentPage):null}},{key:"getSecondPrevState",value:function(t){var e=this._getPrevState(this.state.slide_currentPage,t);if(!e.currentPage)return null;var r=this._getPrevState(e.currentPage,t);return r.currentPage?this.getStateByPageId(r.currentPage):null}},{key:"getDeltaTurns",value:function(t,e){if(!t.slideMode||!e.slideMode)return null;if(t.currentPage===e.currentPage)return 0;for(var r=this._getPageIndex(t.currentPage),n=this._getPageIndex(e.currentPage)-r,o=n>0?this._getNextState:this._getPrevState,i=0,a=t.currentPage;a!==e.currentPage&&i<=this.state.maxDeltaTurns;){var u=o.apply(this,[a,!0]);if(u.null)return null;a=u.currentPage,i++}return n>0?i:-i}},{key:"getState",value:function(){return new At({currentPage:this.state.slide_currentPage,wide:this.state.slide_wide,isFirstSpread:!this.getPrevPageId(!0),isLastSpread:!this.getNextPageId(!0),zoomMode:this.state.zoomMode,target:this.state.lastTarget})}},{key:"getLegacyState",value:function(){return new At({currentPage:this.state.slide_currentPage,leftPage:this.state.slide_currentPage,rightPage:null,wide:this.state.slide_wide,isFirstSpread:!this.getPrevPageId(!0),isLastSpread:!this.getNextPageId(!0),zoomMode:this.state.zoomMode,target:this.state.lastTarget})}},{key:"getStateByPageId",value:function(t){var e=st()["pages/pageProp"](t,"wide");return new At({currentPage:t,wide:e,isFirstSpread:!this.getPrevPageId(this.state.slide_currentPage,!0),isLastSpread:!this.getNextPageId(this.state.slide_currentPage,!0),zoomMode:this.state.zoomMode,target:this.state.lastTarget})}},{key:"getFlipState",value:function(){throw new Error("Not implemented")}},{key:"getFlipParams",value:function(){throw new Error("Not implemented")}},{key:"isCurrentPage",value:function(t){return this.state.slide_currentPage===t}},{key:"currentPages",value:function(){return[this.state.slide_currentPage]}},{key:"_getNextState",value:function(t,e){var r=this._getNextPageId(t,e);return{currentPage:null!=r?r:null}}},{key:"_getPrevState",value:function(t,e){var r=this._getPrevPageId(t,e);return{currentPage:null!=r?r:null}}}]),r}(ht),Ee=function(t,e){return t===ot?new Vt(e):t===nt?new Se(e):t===rt?new ae(e):null},we=function(t,e){var r=null!=e?e:t.mode;return t.logic[r]},Pe=function(t){var e,r=t.mode;return t.logic=null!==(e=t.logic)&&void 0!==e?e:{},t.logic[r]||(t.logic[r]=Ee(r,t)),t.logic[r]};function _e(t){var e,r=/[MDLV]|C[MD]?|X[CL]?|I[XV]?/g,n={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1},o=0;if(!(t=t.toUpperCase())||!/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(t))return null;for(e=r.exec(t);e;)o+=n[e[0]],e=r.exec(t);return o}function Te(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!+(t=parseInt(t,10))||t<0)return null;for(var r=String(+t).split(""),n=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],o="",i=3;i--;)o=(n[+r.pop()+10*i]||"")+o;var a=Array(+r.join("")+1).join("M")+o;return e&&(a=a.toLowerCase()),a}var Ie=null,Oe={init:function(t){var e=t.state;(0,t.dispatch)("changeMode",{mode:e.mode,target:"init"})},changeMode:function(t,e){var r=t.state,n=t.commit,o=(t.rootState,t.getters),i=(t.rootGetters,e.mode),a=e.target;if((i!==r.mode||!r.initiated)&&o.canChangeModeTo(i)){n(et.ZP.CHANGE_LAST_TARGET,{target:a}),n(et.ZP.SET_CURRENT_MODE,i);var u=Pe(r);r.currentPage&&u.onSelect()}},goToPageById:function(t,e){var r=t.state,n=t.commit,o=t.rootState,i=e.id,a=e.widePageSecondHalf,u=e.target,s=void 0===u?null:u,c=e.zoomMode;(void 0!==c&&c!==r.zoomMode&&(n(et.ZP.CHANGE_LAST_TARGET,{target:s}),n(et.ZP.CHANGE_ZOOM_MODE,{zoomMode:c})),!i||-1===o.pages.structure.indexOf(i)||r.freezed||r.isPageChanging||r.currentPage===i&&r.widePageSecondHalf===a)||(n(et.ZP.CHANGE_LAST_TARGET,{target:s}),we(r).goToPageById(i,a))},goForward:function(t,e){var r=t.state,n=t.commit,o=e.target,i=void 0===o?null:o;r.freezed||(n(et.ZP.CHANGE_LAST_TARGET,{target:i}),we(r).goForward())},goBackward:function(t,e){var r=t.state,n=t.commit,o=e.target,i=void 0===o?null:o;r.freezed||(n(et.ZP.CHANGE_LAST_TARGET,{target:i}),we(r).goBackward())},goToFirst:function(t,e){var r=t.dispatch,n=e.target;r("goToPageByIndex",{pageIndex:0,target:void 0===n?null:n})},goToLast:function(t,e){var r=t.dispatch,n=t.rootGetters,o=e.target,i=void 0===o?null:o;r("goToPageByIndex",{pageIndex:n["pages/pagesCount"]-1,target:i})},goToPageByIndex:function(t,e){var r=t.dispatch,n=t.rootGetters,o=t.state,i=e.pageIndex,a=e.target,u=void 0===a?null:a,s=e.zoomMode;if(o.freezed||o.isPageChanging)"history"===u&&(Ie={pageIndex:i,target:u,zoomMode:s});else{if(i<0||i>=n["pages/pagesCount"])return!1;var c=!1,l=n["pages/pageIdByIndex"](i);if(null===l&&(l=n["pages/pageIdByIndex"](i-1),c=!0),null===l)return!1;r("goToPageById",{id:l,widePageSecondHalf:c,target:u,zoomMode:s})}},goToPageByUserInput:function(t,e){var r,n=t.dispatch,o=(t.state,t.rootState),i=t.rootGetters,a=e.userInput,u=e.type,s=e.target,c=void 0===s?null:s,l=e.zoomMode,f=null===(r=o.pages)||void 0===r?void 0:r.structure;if(f){if("url"===u){var p=f.filter((function(t){var e;return t+="",(null===(e=o.pages[t])||void 0===e?void 0:e.urlHeader)===a}));if(p.length>0)return void n("goToPageById",{id:p[0],target:c,zoomMode:l})}if("caption"===u){var d=f.filter((function(t){var e;return t+="",(null===(e=o.pages[t])||void 0===e?void 0:e.displayName)===a}));if(d.length>0)return void n("goToPageById",{id:d[0],target:c,zoomMode:l})}var g=o.book.numerationOffset,h=a.split("-");a=h.length>1&&o.book.rightToLeft?h[1]:h[0];var v=i["pages/pagesCount"];if(g>0){var m=_e(a);if(null!==m)return void(m<=Math.min(g,v)?n("goToPageByIndex",{pageIndex:m-1,target:c,zoomMode:l}):n("goToFirst",{target:"error"}))}var y=parseInt(a,10),b=!isNaN(y)&&y>0,S=b?y+g-1:null;b&&S>=0&&S1&&void 0!==arguments[1]?arguments[1]:{}).target,o=void 0===n?"unknown":n;r.freezed||e(et.ZP.FREEZE,{target:o})},unfreeze:function(t){var e=t.dispatch,r=t.commit,n=t.state,o=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).target,i=void 0===o?"unknown":o;n.freezed&&n.frozenBy===i&&(r(et.ZP.UNFREEZE),Ie&&"slide-book"!==i&&(e("goToPageByIndex",Ie),Ie=null))},setFlipState:function(t,e){var r=t.state,n=t.commit,o=e.newState;if(o===r.flipState)return!1;n(et.ZP.CHANGE_FLIP_STATE,{flipState:o})},setForceFlip:function(t,e){var r=t.state,n=t.commit,o=e.forceFlip;if(o===r.forceFlip)return!1;n(et.ZP.CHANGE_FORCE_FLIP,{forceFlip:o})},setForceRerender:function(t,e){var r=t.state,n=t.commit,o=e.forceRerender;if(o===r.forceRerender)return!1;n(et.ZP.CHANGE_FORCE_RERENDER,{forceRerender:o})},changeZoomMode:function(t,e){var r=t.state,n=t.commit,o=e.zoomMode;o!==r.zoomMode&&n(et.ZP.CHANGE_ZOOM_MODE,{zoomMode:o})},setMoveWatcher:function(t,e){(0,t.commit)(et.ZP.SET_MOVE_WATCHER,e)},isPageChanging:function(t,e){var r=t.dispatch,n=t.commit;t.state;n(et.ZP.SET_PAGE_CHANGING,e),Ie&&!e&&(r("goToPageByIndex",Ie),Ie=null)},setLastTarget:function(t){var e=t.commit,r=(t.state,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unknown");e(et.ZP.CHANGE_LAST_TARGET,{target:r})}};function xe(t,e,r,n){var o=[];if(t.slideMode||t.singleMode){e=e.filter((function(t){return null!==t}));var i=t.currentPage,a=e.indexOf(i);o.push(e[a]),r&&(o.push(e[a+1]||null),o.push(e[a-1]||null),o.push(e[a+2]||null),o.push(e[a-2]||null))}else{var u=function(t,r){var n=e.indexOf(t);return n>=0?n:r},s=u(t.leftPage||!1,-10),c=u(t.rightPage||!1,-10);s===c&&(c+=1),o.push(e[s]||null),o.push(e[c]||null),n&&(o.push(e[c+1]||null),o.push(e[c+2]||null),o.push(e[s-1]||null),o.push(e[s-2]||null),o.push(e[c+3]||null),o.push(e[s-3]||null))}return o=o.filter((function(t){return null!==t&&!(0,C.o8)(t)}))}var Le,Ce={mode:function(t){return t.mode},canChangeModeTo:function(t,e,r,n){return function(t){var e=n["workspace/isMobile"],r=n["workspace/orientation"];return!(e&&"portrait"===r&&"spread"===t)}},isFirstSpread:function(t){return null===we(t).getPrevPageId(!0)},isLastSpread:function(t){return null===we(t).getNextPageId(!0)},isCurrentPage:function(t){return function(e){var r=e.pageId,n=e.pageSide,o=e.widePageSecondHalf,i=we(t);return(0,C.hj)(r)&&(r=r.toString()),i.isCurrentPage(r,n,o)}},currentPages:function(t){return we(t).currentPages()},nextPageId:function(t){return we(t).getNextPageId(!0)},nextNonStubPageId:function(t){return we(t).getNextPageId(!1)},nextState:function(t){return we(t).getNextState(!0)},secondNextState:function(t){return we(t).getSecondNextState(!0)},prevPageId:function(t){return we(t).getPrevPageId(!0)},prevNonStubPageId:function(t){return we(t).getPrevPageId(!1)},prevState:function(t){return we(t).getPrevState(!0)},secondPrevState:function(t){return we(t).getSecondPrevState(!0)},state:function(t){return we(t).getState()},isFrozen:function(t){return t.freezed},legacyState:function(t){return we(t).getLegacyState()},flipState:function(t){return we(t).getFlipState()},flipParams:function(t){return function(e){return we(t).getFlipParams(e)}},stateByPageId:function(t){return function(e){return we(t).getStateByPageId(e)}},stateForDisplay:function(t,e,r,n){var o;if(0===n["pages/pagesCount"])return"0";var i,a=n["pages/pageProp"](t.currentPage,"wide");if(t.spreadMode&&!a){var u,s,c=r.book.rightToLeft,l=null!==(u=n["pages/pageCaptionWithTrimmedDisplayNameById"]({id:t.spread_leftPage}))&&void 0!==u?u:"",f=null!==(s=n["pages/pageCaptionWithTrimmedDisplayNameById"]({id:t.spread_rightPage}))&&void 0!==s?s:"";return l&&f?c?f+" -‎ "+l:l+" -‎ "+f:l||f}if(t.single_wide){var p=r.book.rightToLeft;i=t.single_currentSide===(p?"left":"right")}return null!==(o=n["pages/pageCaptionWithTrimmedDisplayNameById"]({id:t.currentPage,widePageSecondHalf:i}))&&void 0!==o?o:""},totalForDisplay:function(t,e,r){var n=r.book.numerationOffset,o=r.pages.structure.length;if(n>=o)return Te(o,r.workspace.lowercaseRomans);var i=o-n;return r.workspace.customTotalPages||i},getDeltaTurns:function(t){return function(e,r){return e.mode!==r.mode?null:we(t,e.mode).getDeltaTurns(e,r)}},resourcesForLoading:function(t,e,r){return xe(e.state,r.pages.structure,!0,!0)},currentResourcesForLoading:function(t,e,r){return xe(e.state,r.pages.structure,!1,!1)}};function Ae(t){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ae(t)}function ke(t,e,r){return(e=Ne(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ne(t){var e=Re(t,"string");return"symbol"===Ae(e)?e:String(e)}function Re(t,e){if("object"!==Ae(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Ae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Me=(ke(Le={},et.n_,(function(t,e){t.isMoveWatcherActive=e})),ke(Le,et.MC,(function(t,e){var r=e.key,n=e.value;h().set(t,r,n)})),ke(Le,et.gG,(function(t,e){var r=e.pageId,n=e.widePageSecondHalf;t.currentPage=r,t.widePageSecondHalf=null!=n&&n})),ke(Le,et.OC,(function(t,e){t.mode=e,t.singleMode=t.slideMode=t.spreadMode=!1,e===rt?t.singleMode=!0:e===nt?t.slideMode=!0:e===ot&&(t.spreadMode=!0),t.initialized||(t.initialized=!0)})),ke(Le,et.In,(function(t,e){var r=e.target;t.freezed=!0,t.frozenBy=r})),ke(Le,et.zC,(function(t){t.freezed=!1,t.frozenBy=null})),ke(Le,et.Bm,(function(t,e){var r=e.target;t.lastTarget=r})),ke(Le,et.Zs,(function(t,e){var r=e.flipState;t.flipState=r})),ke(Le,et.hp,(function(t,e){var r=e.forceFlip;t.forceFlip=r})),ke(Le,et.Kq,(function(t,e){var r=e.forceRerender;t.forceRerender=r})),ke(Le,et.RA,(function(t,e){var r=e.zoomMode;t.zoomMode=r})),ke(Le,et.SX,(function(t,e){t.isPageChanging=e})),Le),De={namespaced:!0,actions:Oe,getters:Ce,mutations:Me,state:{mode:"spread",singleMode:!1,spreadMode:!1,slideMode:!1,currentPage:null,widePageSecondHalf:!1,freezed:!1,frozenBy:null,lastTarget:null,flipState:"pending",forceFlip:!1,forceRerender:!1,zoomMode:!1,initialized:!1,isMoveWatcherActive:!1,maxDeltaTurns:2,isPageChanging:!1}},je="ADD_CONTENT",Fe="REMOVE_CONTENT",Ue="CHANGE_PAGE_SIZE",ze="LOAD_THUMBNAIL",Ge="LOAD_SUBSTRATE",Be="LOAD_TEXT_LAYER",He="LOAD_VECTOR_LAYER",Ze="SET_NEXT_SUBSTRATE_URL",Ye="SET_NEXT_TEXT_URL",Ve="RESET_RESOURCES",We="RESET_RESOURCES_EXCL_TH",Xe="CHANGE_LOAD_PENDING",Ke="CHANGE_UPDATE_PENDING",qe="SET_PAGE_PROPERTY",Je="REMOVE_PAGE_PROPERTY",$e="SET_PAGE_INFO",Qe="API_CHANGE",tr="SET_CURRENT_SIZE",er="SET_DOWNLOAD_PROGRESS",rr={ADD_CONTENT:je,REMOVE_CONTENT:Fe,CHANGE_PAGE_SIZE:Ue,CHANGE_LOAD_PENDING:Xe,CHANGE_UPDATE_PENDING:Ke,LOAD_THUMBNAIL:ze,LOAD_SUBSTRATE:Ge,LOAD_TEXT_LAYER:Be,LOAD_VECTOR_LAYER:He,SET_NEXT_SUBSTRATE_URL:Ze,SET_NEXT_TEXT_URL:Ye,RESET_RESOURCES:Ve,RESET_TH_RESOURCES:"RESET_TH_RESOURCES",RESET_RESOURCES_EXCL_TH:We,SET_PAGE_PROPERTY:qe,REMOVE_PAGE_PROPERTY:Je,SET_PAGE_INFO:$e,API_CHANGE:Qe,SET_CURRENT_SIZE:tr,SET_DOWNLOAD_PROGRESS:er},nr=r(2155),or={changePageSize:function(t,e){var r=t.state,n=t.commit,o=t.dispatch,i=e.width,a=e.height,u=e.zoomFactor,s=void 0===u?1:u;r.size.width===i&&r.size.height===a||(n(rr.CHANGE_PAGE_SIZE,{width:Math.round(i),height:Math.round(a),zoomFactor:s}),s>=1&&o("pager/changeZoomMode",{zoomMode:s>1},{root:!0}))},restoreUnzoomedPageSize:function(t){var e=t.getters,r=t.dispatch,n=e.size;1!==n.zoomFactor&&r("changePageSize",{width:n.width/n.zoomFactor,height:n.height/n.zoomFactor,zoomFactor:1})},resourceLoad:function(t,e){t.state;var r=t.commit,n=t.rootGetters,o=e.resType,i=e.url,a=e.pageID,u=e.thOnly;switch(o){case"thumbnail":r(rr.LOAD_THUMBNAIL,{url:i,pageID:a});break;case"substrate":r(rr.LOAD_SUBSTRATE,{url:i,pageID:a});break;case"text":r(rr.LOAD_TEXT_LAYER,{url:i,pageID:a});break;case"vector":r(rr.LOAD_VECTOR_LAYER,{url:i,pageID:a})}if(!u){if(!n["pages/pageProp"](a,"substrateUrl"))return;if((n["pages/textImageUrl"](a)||n["pages/vectorUrl"](a))&&!n["pages/pageProp"](a,"textUrl"))return;r(rr.CHANGE_LOAD_PENDING,{pageID:a,value:!1})}n["pages/pageProp"](a,"updatePending")&&(n["pages/pageProp"](a,"nextSubstrateUrl")&&n["pages/pageProp"](a,"substrateUrl")!==n["pages/pageProp"](a,"nextSubstrateUrl")||n["pages/pageProp"](a,"nextTextUrl")&&!n["pages/vectorUrl"](a)&&n["pages/pageProp"](a,"textUrl")!==n["pages/pageProp"](a,"nextTextUrl")||r(rr.CHANGE_UPDATE_PENDING,{pageID:a,value:!1}))},setNextUrl:function(t,e){var r=t.commit,n=e.resType,o=e.url,i=e.pageID;switch(n){case"substrate":r(rr.SET_NEXT_SUBSTRATE_URL,{url:o,pageID:i});break;case"text":r(rr.SET_NEXT_TEXT_URL,{url:o,pageID:i})}r(rr.CHANGE_UPDATE_PENDING,{pageID:i,value:!0})},resetResources:function(t){var e=t.commit,r=t.getters;t.rootGetters["thumbnails/windowIsOpen"]?e(rr.RESET_RESOURCES_EXCL_TH,{pageIDsArray:r.pagesWithResources}):e(rr.RESET_RESOURCES,{pageIDsArray:r.pagesWithResources})},resetPageResources:function(t,e){var r=t.commit,n=(t.getters,e.pageID),o=e.thumbnail;r(void 0===o||o?rr.RESET_RESOURCES:rr.RESET_RESOURCES_EXCL_TH,{pageIDsArray:[n]})},addContent:function(t,e){(0,t.commit)(rr.ADD_CONTENT,e)},removeContent:function(t,e){(0,t.commit)(rr.REMOVE_CONTENT,e)},changeLoadPending:function(t,e){(0,t.commit)(rr.CHANGE_LOAD_PENDING,e)},setStatus:function(t,e){var r=t.commit,n=e.pageID,o=e.value;r(rr.SET_PAGE_PROPERTY,{pageID:n,property:"status",value:o})},setPageProperty:function(t,e){var r=t.commit,n=e.pageID,o=e.property,i=e.value;r(rr.SET_PAGE_PROPERTY,{pageID:n,property:o,value:i}),r(rr.API_CHANGE,{pageID:n,property:o})},removePageProperty:function(t,e){var r=t.commit,n=e.pageID,o=e.property;r(rr.REMOVE_PAGE_PROPERTY,{pageID:n,property:o}),r(rr.API_CHANGE,{pageID:n,property:o})},setPageInfo:function(t,e){var r=t.state,n=(t.dispatch,t.commit),o=(t.rootState,e.pageID),i=e.value,a=(0,nr.Z)({},r[o],i);n(rr.SET_PAGE_INFO,{pageID:o,value:a})},resetNumeration:function(t){var e=t.state,r=t.commit;for(var n in e)if(e.hasOwnProperty(n)){if("size"===n||"defaults"===n||"structure"===n||!e[n])continue;e[n].hasOwnProperty("displayName")&&r(rr.REMOVE_PAGE_PROPERTY,{pageID:n,property:"displayName"}),e[n].hasOwnProperty("urlHeader")&&r(rr.REMOVE_PAGE_PROPERTY,{pageID:n,property:"urlHeader"})}},setCurrentSize:function(t,e){var r,n,o=t.state,i=t.commit,a=e.pageID,u=e.value;(null===(r=o[a])||void 0===r||null===(r=r.currentSize)||void 0===r?void 0:r.width)===(null==u?void 0:u.width)&&(null===(n=o[a])||void 0===n||null===(n=n.currentSize)||void 0===n?void 0:n.height)===(null==u?void 0:u.height)||i(rr.SET_CURRENT_SIZE,{pageID:a,value:u})},setDownloadProgress:function(t,e){t.state;(0,t.commit)(rr.SET_DOWNLOAD_PROGRESS,e)}},ir=r(2918),ar=r(776);function ur(t){return fr(t)||lr(t)||cr(t)||sr()}function sr(){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 cr(t,e){if(t){if("string"==typeof t)return pr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pr(t,e):void 0}}function lr(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function fr(t){if(Array.isArray(t))return pr(t)}function pr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=e.pagesCount||r<0?null:t.structure[r]}},pageIdByIndexWide:function(t,e){return function(r){return null===r||(0,C.o8)(r)||r>=e.pagesCount||r<0?null:t.structure[r]?t.structure[r]:t.structure[r-1]}},pagesCount:function(t){return t.structure.length},pageResourcesCount:function(t){return t.structure.filter((function(t){return null!==t})).length},pageIndexById:function(t){return function(e){return null===e||(0,C.o8)(e)?-1:t.structure.indexOf(e)}},urlHeaderById:function(t,e,r){return function(n){var o=n.id,i=n.forceFullWide,a=n.widePageSecondHalf,u=n.joinSpread,s=void 0!==u&&u,c=n.forceSingleMode;if(!t[o])return null;var l=e.pageProp(o,"wide"),f=r.pager.spreadMode;if(!l&&f&&s){var p,d=e.pageIndexById(o),g=d%2==0?d-1:d+1,h=e.pageIdByIndex(g),v=e.pageProp(o,"urlHeader")||e.pageCaptionById({id:o});if(h){var m=e.pageCaptionById({id:h});if(r.book.rightToLeft){var y=[m,v];v=y[0],m=y[1]}p=d>g?m+"-"+v:v+"-"+m}else p=v;return p}return e.pageProp(o,"urlHeader")&&!i?e.pageProp(o,"urlHeader"):e.calculatedCaptionById({id:o,divider:"-",forceFullWide:i,widePageSecondHalf:a,forceSingleMode:c})}},calculatedCaptionById:function(t,e,r,n){return function(t){var o=t.id,i=t.divider,a=t.forceFullWide,u=void 0!==a&&a,s=t.widePageSecondHalf,c=t.forceSingleMode,l=e.pageIndexById(o),f=e.pageProp(o,"wide"),p=r.book.rightToLeft,d=r.book.numerationOffset,g=r.workspace.lowercaseRomans,h=n["pager/state"];if(d>0&&(!h.singleMode||u)&&!c){var v=gr(l,d,g);return f&&(p?v=gr(l+1,d,g)+i+v:v+=i+gr(l+1,d,g)),""+v}return h.singleMode&&!u||c?h.singleMode||c?f&&(null!=s?s:h.widePageSecondHalf)?gr(l+1,d,g).toString():gr(l,d,g).toString():(l+1).toString():f?p?(l+2-d).toString()+i+(l+1-d).toString():(l+1-d).toString()+i+(l+2-d).toString():(l+1-d).toString()}},pageCaptionById:function(t,e){return function(r){var n=r.id,o=r.forceFullWide,i=void 0!==o&&o,a=r.widePageSecondHalf;return t[n]?e.pageProp(n,"displayName")||e.calculatedCaptionById({id:n,divider:" - ",forceFullWide:i,widePageSecondHalf:a}):null}},pageCaptionWithTrimmedDisplayNameById:function(t,e){return function(r){var n=r.id,o=r.widePageSecondHalf,i=r.trimLength,a=void 0===i?15:i;if(!t[n])return null;var u=e.pageProp(n,"displayName");return u.length>a&&(u=u.substr(0,a)+"…"),u||e.calculatedCaptionById({id:n,divider:" - ",widePageSecondHalf:o})}},pageCaptionByIndex:function(t,e,r){return function(n){n*=1;var o=e.pageIdByIndex(n);if(!o){var i=e.pageIdByIndex(n-1);e.pageProp(i,"wide")&&(o=i)}if(!t[o])return null;var a=e.pageProp(o,"displayName");if(a)return a;var u=r.book.numerationOffset,s=r.workspace.lowercaseRomans;return u>0?gr(n,u,s).toString():(n+1-u).toString()}},pageIdByUrlHeader:function(t,e,r){return function(t){var n,o,i=t.split("-"),a=r.book.numerationOffset;return r.book.urlNames&&(n=r.book.urlNames[t])?n:(o=(0,C.sH)(i[0])?_e(i[0]):Number(i[0])+a,e.pageIdByIndexWide(o-1))}},isFirstPage:function(t,e){return function(r){return t[r]?0===e.pageIndexById(r):null}},isLastPage:function(t,e){return function(r){return t[r]?e.pageIndexById(r)+(e.pageProp(r,"wide")?2:1)===e.pagesCount:null}},contentSize:function(t,e,r){return function(t){var n,o=t.pageID,i=t.pageSide,a=void 0===i?"both":i,u=t.pageSize,s=t.resizeOverride,c=void 0===s?null:s,l=e.pageProp(o,"wide")&&"both"!==a,f=parseInt(e.pageProp(o,"width"),10)/(l?2:1),p=parseInt(e.pageProp(o,"height"),10),d="FIT"===(c||e.pageProp(o,"pageResize"))?ir.Tj:ir.hl;return!(r.workspace.userAgentInfo.browser.publisher?(0,ir.lx)({rect:{width:f,height:p},bounds:r.book.bookSize}):e.pageProp(o,"hasMargins"))||r.pager.slideMode&&r.book.contentCrop?n=u:((n=d({width:f,height:p},u)).width=Math.ceil(n.width),n.height=Math.ceil(n.height),n.width=n.width%2==0||n.width===u.width?n.width:n.width-1,n.height=n.height%2==0||n.height===u.height?n.height:n.height-1),{width:n.width,height:n.height,offsetX:(u.width-n.width)/(l?1:2),offsetY:(u.height-n.height)/2,scaleRatio:{w:n.width/f,h:n.height/p}}}},imageSizes:function(t,e,r){return function(t,n){var o=e.pageProp(t,"substrateSizes"),i={};if(o){var a=parseInt(e.pageProp(t,"substrateSizesReady"),10),u=e.pageProp(t,"customSubstrateSize"),s=e.pageProp(t,"textSizes");0===a&&(a=4);var c=o.slice(0,a);u&&(c=c.slice(0,c.length-1)).push(parseInt(u,10));var l=e.pageProp(t,"wide"),f=Math.max(l?n.width/2:n.width,n.height);window.devicePixelRatio>=1.5&&(f*=1.5);var p=c.filter((function(t){return t>=f||t===c[c.length-1]}))[0],d=s.filter((function(t){return t>=f||t===s[s.length-1]}))[0];i.substrate=c.indexOf(p)+1,i.text=s.indexOf(d)+1}else r.pager.singleMode||!0===r.pager.zoomMode?(i.substrate="l",i.text="l1"):(i.substrate="",i.text="c");return i}},isSVGSupported:function(t,e,r){return function(t){var n=r.workspace.userAgentInfo;return!!e.pageProp(t,"vectorText")&&(!e.pageProp(t,"rasterize")&&(!n.browser.msedge&&((!n.browser.samsung||!r.workspace.alteredSVGColors)&&((!n.browser.ie||"11.0"!==n.browser.version)&&(!(n.os.ios&&n.os.version.split(".")[0]<9)&&!(n.os.android&&n.os.version.split(".")[0]<5))))))}},thumbnailUrl:function(t,e){return function(t){if(e.pageProp(t,"stub"))return null;var r=(0,L.qQ)(t),n=e.pageProp(t,"thFormat");return n&&(n="."+n),(0,ar.Z)().translatePath("assets/pages/thumbnails/page".concat(r,"_s").concat(n))}},currentSize:function(t,e){return function(r){var n=e.pageProp(r,"wide")?2*t.size.width:t.size.width;return e.pageProp(r,"currentSize")||{height:t.size.height,width:n}}},substrateUrl:function(t,e,r){return function(t){if(e.pageProp(t,"stub"))return null;var n=function(t){return""===t?"":"."+t},o=e.currentSize(t),i=e.contentSize({pageID:t,pageSize:o}),a=e.imageSizes(t,i).substrate,u=e.pageProp(t,"substrateWebPCount"),s=r.workspace.webPSupported&&(0,C.hj)(a)&&u>=a?".webp":n(e.pageProp(t,"substrateFormat")),c=a?"_":"",l=(0,L.qQ)(t);return(0,ar.Z)().translatePath("assets/pages/substrates/page".concat(l).concat(c).concat(a).concat(s))}},textImageUrl:function(t,e){return function(t){if(e.pageProp(t,"stub"))return null;var r=e.pageProp(t,"textLayer"),n=e.currentSize(t),o=e.contentSize({pageID:t,pageSize:n}),i=e.imageSizes(t,o).text,a=(0,L.qQ)(t);return r?(0,ar.Z)().translatePath("assets/pages/text/page".concat(a,"_").concat(i,".png")):null}},vectorUrl:function(t,e){return function(t){if(e.pageProp(t,"stub"))return null;var r=e.isSVGSupported(t),n=(0,L.qQ)(t);return r?(0,ar.Z)().translatePath("assets/pages/vector/".concat(n,".svg")):null}},pagesWithResources:function(t,e,r,n){var o=[],i=n["pager/resourcesForLoading"];for(var a in t){var u=["size","defaults","structure","downloadProgress","downloadProgressUpdated","changeInPage","apiChange"];if(t.hasOwnProperty(a)&&-1===u.indexOf(a)){var s=t[a];if(-1!==i.indexOf(a))continue;null===s.substrateUrl&&null===s.textUrl&&null===s.thumbnailUrl||o.push(a)}}return o},pageContent:function(t,e,r){return function(e){return t[e].content.map((function(t){return r.content.items[t]})).filter((function(t){return!!t}))}},contentItems:function(t,e){return function(t){var r=t.pageID,n=t.contentType;return e.pageContent(r).filter((function(t){return t.type===n}))}},pageContentGrouppedByType:function(t,e,r,n){return function(t){return e.pageContent(t).reduce((function(t,e){return t[e.type]=[].concat(ur(t[e.type]||[]),[e]),t}),{})}},size:function(t){return t.size},pageGradient:function(t,e,r){return function(n){var o=t[n]?e.pageProp(n,"shadowDepth"):null;switch(null===o&&(o=t.defaults.shadowDepth),null!==o&&-1!==o||(o=r.book.shadowDepth),1*o){case 0:return"gradient-zero";case 1:return"gradient-light";case 3:return"gradient-dark";case 4:return"gradient-max";default:return"gradient-middle"}}},originalPageSize:function(t,e){return function(t){return{width:e.pageProp(t,"width"),height:e.pageProp(t,"height")}}},hasError:function(t,e){return function(t){return e.pageProp(t,"status")===A.Z.ERROR||-1===e.pageProp(t,"thumbnailUrl")||-1===e.pageProp(t,"substrateUrl")||-1===e.pageProp(t,"textUrl")}},currentPagesUpdating:function(t,e,r,n){var o=!1,i=!1;return n["pager/currentPages"].forEach((function(r){var n;o|=null===(n=t[r])||void 0===n?void 0:n.updatePending,i|=e.hasError(r)})),o&&!i},isDownloaded:function(t,e){return function(r){return!!e.isFullyDownloaded||t.downloadProgress[r-1]}},isFullyDownloaded:function(t,e,r,n){return"mobile-app"!==n["info/version"]||0===t.downloadProgress.length||0===t.downloadProgress.filter((function(t){return!t})).length}};function vr(t){return vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vr(t)}function mr(t){return Er(t)||Sr(t)||br(t)||yr()}function yr(){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 br(t,e){if(t){if("string"==typeof t)return wr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wr(t,e):void 0}}function Sr(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Er(t){if(Array.isArray(t))return wr(t)}function wr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=r.results.length||n(Br.n_,{resultIndex:e})},setActiveItemToFirst:function(t){var e=t.state,r=t.commit;0!==e.results.length&&r(Br.n_,{resultIndex:0})},setActiveItemToLast:function(t){var e=t.state,r=t.commit;if(0!==e.results.length){var n=e.results.length;r(Br.n_,{resultIndex:n-1})}},setActiveNextItem:function(t){var e=t.state,r=t.commit;if(0!==e.results.length){var n=e.results.length-1,o=e.activeItemIndex;if(null!==o)return o0&&void r(Br.n_,{resultIndex:n-1})}}},Zr=r(5475),Yr={normalizedQuery:function(t){return t.query?Zr.Z.normalize(t.query,!0):""},trimmedNormalizedQuery:function(t,e){var r,n;return null!==(r=null===(n=e.normalizedQuery)||void 0===n?void 0:n.trim())&&void 0!==r?r:""},getProgress:function(t){if(null===t.status)return null;if("complete"===t.status)return 100;var e=t.status,r=e.progress,n=e.of;return Math.round(100*r/n)},getHighlights:function(t){return function(e){return"complete"===t.status?t.highlights[e]:[]}},getSearchText:function(t){return function(e){return((t.searchIndex.filter((function(t){return t.some((function(t){return t["@ID"]==e}))}))[0]||[]).filter((function(t){return t["@ID"]==e}))[0]||{})["#text"]||""}},isSearchTextInfoLoaded:function(t,e,r,n){return function(e){return(0,C.e$)(t.textInfo,e)&&(n["pages/pageProp"](e,"hasNoText")||!(0,C.xb)(t.textInfo[e].searchTextMap))}},isSelectTextInfoLoaded:function(t){return function(e){return(0,C.e$)(t.textInfo,e)}},getSearchTextInfoLoadedPages:function(t,e){var r=[];for(var n in t.textInfo)e.isSearchTextInfoLoaded(n)&&r.push(n);return r},getSelectTextInfo:function(t,e,r,n){return function(r,o,i){if(!e.isSelectTextInfoLoaded(r))return{};var a=n["pages/pageProp"](r,"wide"),u=t.textInfo[r].isCrossWide||i,s=t.textInfo[r].isRtlSelection,c=t.textInfo[r].finalTree.filter((function(t){return!t.onlyForSearch}));return a&&!u&&(c=c.filter((function(t){return t.isRight===o}))),{isCrossWide:u,isRtlSelection:s,finalTree:c}}},getSearchTextInfo:function(t,e){return function(r){return e.isSearchTextInfoLoaded(r)?{finalTree:t.textInfo[r].finalTree,searchTextMap:t.textInfo[r].searchTextMap}:{}}},getRightWideHalfSelection:function(t,e,r,n){return function(t){var o=n["pages/pageProp"](t,"wide");if(!r.pager.singleMode||!o)return!1;var i=e.getHighlights(t);if(null==i||!i.ready)return!1;for(var a=n["pages/pageProp"](t,"width")/2,u=r.book.rightToLeft,s=i.data,c=0,l=s.length;c=a:s[c].rect[2]1&&void 0!==arguments[1]?arguments[1]:[],n=0,o=e.length;n1;)if(t--,void 0!==En[t])return En[t];return e};function In(t){return Cn(t)||Ln(t)||xn(t)||On()}function On(){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 xn(t,e){if(t){if("string"==typeof t)return An(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?An(t,e):void 0}}function Ln(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Cn(t){if(Array.isArray(t))return An(t)}function An(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);re[n]))return null;r=i[e[n]]}return r}},getActiveItem:function(t,e){return e.getItem(t.activeRoute)},firstElement:function(t,e){return e.getItem([0])},lastElement:function(t,e){var r=[];function n(t){var e=t.length-1,o=t[e];r.push(e),o.children&&o.toggle&&n(o.children)}return n(t.children),e.getItem(r)},nextElement:function(t,e){for(var r=null,n=t.activeRoute.length-1;n>=0;n--){var o=e.getItem(t.activeRoute);if(o.toggle&&o.children){r=e.getItem([].concat(In(t.activeRoute),[0]));break}var i=t.activeRoute[n]+1,a=In(t.activeRoute);if(a[n]=i,a=a.slice(0,n+1),null!==(r=e.getItem(a)))break}return r},prevElement:function(t,e){var r=In(t.activeRoute),n=t.activeRoute.length-1;function o(t){return t.toggle&&t.children&&(t=o(t.children[t.children.length-1])),t}return r[n]>0?(r[n]-=1,o(e.getItem(r))):1===r.length?null:(r=r.slice(0,n),e.getItem(r))},activePageIndexes:function(t,e,r,n){var o=n["pager/state"],i=n["pages/pageIndexById"](o.currentPage),a=r.pager.lastTarget;if("toc"===a||"thumbnails"===a||"search"===a||"link"===a||"notes"===a||"init"===a)return[i];var u=(o.spreadMode?[o.leftPage,o.rightPage]:[]).map((function(t){return n["pages/pageIndexById"](t)}));return In(new Set([i].concat(In(u))))}};function Rn(t){return Rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rn(t)}function Mn(t,e,r){return(e=Dn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Dn(t){var e=jn(t,"string");return"symbol"===Rn(e)?e:String(e)}function jn(t,e){if("object"!==Rn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Rn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Fn,Un=(Mn(kn={},pn,(function(t){t.enabled=!0})),Mn(kn,dn,(function(t){t.enabled=!1})),Mn(kn,gn,(function(t,e){var r=e.value;h().set(t,"children",r)})),Mn(kn,hn,(function(t,e){var r=e.branch;r.toggle=!r.toggle})),Mn(kn,vn,(function(t,e){var r=e.y;t.scrollY=r})),Mn(kn,mn,(function(t,e){var r=e.branch,n=e.value;r.active=n})),Mn(kn,yn,(function(t,e){var r=e.value;t.activeRoute=r})),kn),zn={namespaced:!0,actions:_n,getters:Nn,mutations:Un,state:{enabled:!0,scrollY:0,activeRoute:[],children:[]}},Gn="SET_FULLSCREEN_MODE",Bn="UNSET_FULLSCREEN_MODE",Hn="ENABLE",Zn="INIT",Yn="DISABLE",Vn="FREEZE",Wn="UNFREEZE",Xn="FROZEN_BY",Kn="CHANGE_PROPERTY",qn="SET_LAYOUT",Jn="SET_BOOK_COMPONENT",$n="SET_RESIZING",Qn="SET_MODAL",to="SET_PRELOADER",eo="SET_SIZE",ro="SET_CONTAINER_SIZE",no="SET_HOLDER_SIZE",oo="SET_VISIBLE",io="SET_EMBED",ao="SET_STATUS",uo="SET_COMPONENT",so="SET_HIGHLIGHT_TIMEOUT",co="SET_MINI",lo="SET_ZOOM_PANEL",fo="SET_FLASH_MESSAGE",po="SET_COPYRIGHT",go="SET_SLIDESHOW",ho="SET_SLIDESHOW_ACTIVE",vo="SET_WHEEL_SCROLL",mo="SET_ANIMATION_PROGRESS",yo="UNSET_ANIMATION_PROGRESS",bo="SET_ANIMATION_TYPE",So="UNSET_ANIMATION_TYPE",Eo="SET_SHOW_SELECT_TEXT_TIP_COUNT",wo="SET_CONTEXT_MENU_VISIBLE",Po="TOGGLE_ACCESSIBILITY_MODE",_o="SET_CALL_TO_NAVIGATION",To="CHANGE_POLICY_UPDATED",Io="SET_ATTRACT_ON_CONTROLS_SET",Oo="SET_INSPECTOR_MODE",xo="SET_KEEP_ZOOM_ON_PAGER_MOVE",Lo="SET_LIGHTBOX_NEIGHBORS_NAV_ENABLED",Co="SET_PRINTED_IN_SAFARI_15",Ao="SET_ANDROID_KEYBOARD_OPENED",ko="RESET_ANDROID_KEYBOARD_TIMINGS",No="CLEAR_INITIAL_ZOOM",Ro="SET_PAUSED_BY_READER",Mo={SET_PRINTED_IN_SAFARI_15:Co,SET_KEEP_ZOOM_ON_PAGER_MOVE:xo,SET_LIGHTBOX_NEIGHBORS_NAV_ENABLED:Lo,SET_FULLSCREEN_MODE:Gn,UNSET_FULLSCREEN_MODE:Bn,DISABLE:Yn,ENABLE:Hn,INIT:Zn,FREEZE:Vn,UNFREEZE:Wn,FROZEN_BY:Xn,CHANGE_PROPERTY:Kn,SET_LAYOUT:qn,SET_BOOK_COMPONENT:Jn,SET_RESIZING:$n,SET_MODAL:Qn,SET_PRELOADER:to,SET_SIZE:eo,SET_CONTAINER_SIZE:ro,SET_HOLDER_SIZE:no,SET_VISIBLE:oo,SET_EMBED:io,SET_STATUS:ao,SET_COMPONENT:uo,SET_HIGHLIGHT_TIMEOUT:so,SET_MINI:co,SET_ZOOM_PANEL:lo,SET_FLASH_MESSAGE:fo,SET_COPYRIGHT:po,SET_SLIDESHOW:go,SET_SLIDESHOW_ACTIVE:ho,SET_WHEEL_SCROLL:vo,SET_ANIMATION_PROGRESS:mo,UNSET_ANIMATION_PROGRESS:yo,SET_ANIMATION_TYPE:bo,UNSET_ANIMATION_TYPE:So,SET_SHOW_SELECT_TEXT_TIP_COUNT:Eo,SET_CONTEXT_MENU_VISIBLE:wo,TOGGLE_ACCESSIBILITY_MODE:Po,SET_CALL_TO_NAVIGATION:_o,CHANGE_POLICY_UPDATED:To,SET_ATTRACT_ON_CONTROLS_SET:Io,SET_INSPECTOR_MODE:Oo,SET_ANDROID_KEYBOARD_OPENED:Ao,RESET_ANDROID_KEYBOARD_TIMINGS:ko,CLEAR_INITIAL_ZOOM:No,SET_PAUSED_BY_READER:Ro},Do={setInspectorMode:function(t,e){(0,t.commit)(Mo.SET_INSPECTOR_MODE,e)},setPrintedInSafari15:function(t){(0,t.commit)(Mo.SET_PRINTED_IN_SAFARI_15)},toggleAccessibilityMode:function(t){(0,t.commit)(Mo.TOGGLE_ACCESSIBILITY_MODE)},workspaceInit:function(t){(0,t.commit)(Mo.INIT)},toggleFullScreen:function(t){var e=t.commit;t.state.fullScreenMode?e(Mo.UNSET_FULLSCREEN_MODE):e(Mo.SET_FULLSCREEN_MODE)},setFullScreen:function(t,e){var r=t.commit,n=t.state;n.fullScreenMode&&!e?r(Mo.UNSET_FULLSCREEN_MODE):!n.fullScreenMode&&e&&r(Mo.SET_FULLSCREEN_MODE)},freeze:function(t){var e=t.commit,r=t.state,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.target,i=void 0===o?"unknown":o,a=n.apiTarget,u=void 0===a?null:a;r.freezed||(e(Mo.FROZEN_BY,{target:i,apiTarget:u}),e(Mo.FREEZE))},unfreeze:function(t){var e=t.commit,r=t.state,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).target,o=void 0===n?"unknown":n;r.freezed&&r.frozenBy===o&&(e(Mo.FROZEN_BY,{target:null,apiTarget:null}),e(Mo.UNFREEZE))},setLayout:function(t,e){var r=t.commit;t.state;r(Mo.SET_LAYOUT,e)},setBookComponent:function(t,e){var r=t.commit;t.state;r(Mo.SET_BOOK_COMPONENT,e)},setResizing:function(t,e){var r=t.commit;t.state;r(Mo.SET_RESIZING,e)},setModalOpened:function(t,e){var r=t.commit;t.state;r(Mo.SET_MODAL,e)},setPreloader:function(t,e){var r=t.commit;t.state;r(Mo.SET_PRELOADER,e)},setSize:function(t,e){var r=t.commit,n=(t.state,e.width),o=e.height,i=e.changedBy,a=void 0===i?null:i;r(Mo.SET_SIZE,{width:n,height:o,changedBy:a})},setContainerSize:function(t,e){var r=t.commit;t.state;r(Mo.SET_CONTAINER_SIZE,e)},setHolderSize:function(t,e){var r=t.commit,n=(t.state,e.width),o=e.height,i=e.top,a=e.left;r(Mo.SET_HOLDER_SIZE,{width:Math.round(n),height:Math.round(o),top:Math.round(i),left:Math.round(a)})},setVisible:function(t,e){var r=t.commit;t.state;r(Mo.SET_VISIBLE,e)},setEmbed:function(t,e){var r=t.commit;t.state;r(Mo.SET_EMBED,e)},setStatus:function(t,e){var r=t.commit;t.state;r(Mo.SET_STATUS,e)},changeProperty:function(t,e){var r=t.commit,n=(t.state,e.key),o=e.value;r(Mo.CHANGE_PROPERTY,{key:n,value:o})},enable:function(t,e){var r=t.commit;t.state;r(Mo.ENABLE,e)},disable:function(t,e){var r=t.commit;t.state;r(Mo.DISABLE,e)},setComponent:function(t,e){var r=t.commit,n=(t.state,e.component),o=e.value;r(Mo.SET_COMPONENT,{component:n,value:o})},changeTotalPagesVisible:function(t,e){var r=t.commit,n=t.state;!0===n.components.paginator||!1===n.components.paginator?r(Mo.SET_COMPONENT,{component:"paginator",value:{enabled:n.components.paginator,totalPagesVisible:e}}):r(Mo.SET_COMPONENT,{component:"paginator",value:{enabled:n.components.paginator.enabled,totalPagesVisible:e}})},setPaginatorEnabled:function(t,e){var r=t.commit,n=t.state;!0===n.components.paginator||!1===n.components.paginator?r(Mo.SET_COMPONENT,{component:"paginator",value:{enabled:e}}):r(Mo.SET_COMPONENT,{component:"paginator",value:{enabled:e,totalPagesVisible:n.components.paginator.totalPagesVisible}})},setHighlightTimeout:function(t,e){var r=t.commit;t.state;r(Mo.SET_HIGHLIGHT_TIMEOUT,e)},setMini:function(t,e){var r=t.commit,n=t.state,o=t.dispatch;n.mini!==e&&(r(Mo.SET_MINI,e),n.mini&&(o("sidebar/closeSidebar",null,{root:!0}),o("popup/closePopup",null,{root:!0})))},setZoomPanel:function(t,e){var r=t.commit;t.state;r(Mo.SET_ZOOM_PANEL,e)},setFlashMessage:function(t,e){var r=t.commit;t.state;r(Mo.SET_FLASH_MESSAGE,e)},setCopyright:function(t,e){var r=t.commit,n=(t.state,e.param),o=e.value;r(Mo.SET_COPYRIGHT,{param:n,value:o})},setSlideshow:function(t,e){var r=t.commit,n=(t.state,e.param),o=e.value;r(Mo.SET_SLIDESHOW,{param:n,value:o})},setSlideshowActive:function(t,e){var r,n=t.commit,o=t.state,i=e.value;(null===(r=o.components.slideshow)||void 0===r?void 0:r.active)!==i&&n(Mo.SET_SLIDESHOW_ACTIVE,{value:i})},setWheelScroll:function(t,e){var r=t.commit;t.state;r(Mo.SET_WHEEL_SCROLL,e)},setAnimationProgress:function(t,e){var r=t.commit;r(Mo.SET_ANIMATION_PROGRESS),r(Mo.SET_ANIMATION_TYPE,e?e.animationType:null)},unsetAnimationProgress:function(t){var e=t.commit;e(Mo.UNSET_ANIMATION_PROGRESS),e(Mo.UNSET_ANIMATION_TYPE)},increaseSelectTextTipShowsCount:function(t){var e=t.commit,r=t.getters.getSelectTextTipShowsCount;e(Mo.SET_SHOW_SELECT_TEXT_TIP_COUNT,r+1)},setContextMenuState:function(t,e){(0,t.commit)(Mo.SET_CONTEXT_MENU_VISIBLE,e)},setCallToNavigation:function(t,e){(0,t.commit)(Mo.SET_CALL_TO_NAVIGATION,e)},setAttractToControlsSet:function(t,e){(0,t.commit)(Mo.SET_ATTRACT_ON_CONTROLS_SET,e)},setKeepZoomOnPagerMove:function(t,e){(0,t.commit)(Mo.SET_KEEP_ZOOM_ON_PAGER_MOVE,e)},setLightboxNeighborsNavEnabled:function(t,e){(0,t.commit)(Mo.SET_LIGHTBOX_NEIGHBORS_NAV_ENABLED,e)},changePolicyUpdated:function(t){(0,t.commit)(Mo.CHANGE_POLICY_UPDATED)},setAndroidKeyboardOpened:function(t,e){(0,t.commit)(Mo.SET_ANDROID_KEYBOARD_OPENED,e)},resetKeyboardTimings:function(t){(0,t.commit)(Mo.RESET_ANDROID_KEYBOARD_TIMINGS)},clearInitialZoom:function(t){(0,t.commit)(Mo.CLEAR_INITIAL_ZOOM)}},jo={fullScreenMode:function(t){return t.fullScreenMode},isInited:function(t){return t.isInited},size:function(t){return t.size},orientation:function(t){return t.size.width&&t.size.height?t.size.width>=t.size.height?"landscape":"portrait":null},containerSize:function(t){return t.containerSize},holderSize:function(t){return t.holderSize},flashMessage:function(t){return t.flashMessage},animationInProgress:function(t){return t.animationInProgress},canShowSelectTextTip:function(t,e){return e.getSelectTextTipShowsCount2e3)},isFrozen:function(t){return t.freezed}};function Fo(t){return Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fo(t)}function Uo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zo(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r0)return e[0]},isLocaleRtl:function(t){return-1!==t.config.rtl.indexOf(t.currentLocale)},getCurrent:function(t){return t.currentLocale}};function Pi(t){return Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pi(t)}function _i(t,e,r){return(e=Ti(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ti(t){var e=Ii(t,"string");return"symbol"===Pi(e)?e:String(e)}function Ii(t,e){if("object"!==Pi(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Pi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Oi,xi=(_i(Si={},hi.qg,(function(t){t.initialized=!0})),_i(Si,hi.rs,(function(t,e){var r=e.value;t.localeLoaded=r})),_i(Si,hi.n0,(function(t,e){var r=e.value;t.fontLoaded=r})),_i(Si,hi.rV,(function(t,e){var r=e.locale;t.currentLocale=r})),_i(Si,hi.d7,(function(t,e){var r=e.font;t.currentFont=r})),_i(Si,hi.fc,(function(t,e){var r=e.strings;t.strings=r})),_i(Si,hi.lX,(function(t,e){var r=e.locale,n=e.strings;t.strings[r]=n})),_i(Si,hi.yA,(function(t,e){for(var r=e.locale,n=e.name,o=e.value,i=n.split("."),a=t.strings[r],u=0;ut.length)&&(e=t.length);for(var r=0,n=new Array(e);r=i;return!c&&s+u>i?"both":c?"right":"left"}},isSelected:function(t){return function(e){var r=e.contentId;return t.selectedContentId===r}},hasSelected:function(t){return function(){return null!=t.selectedContentId}},selectedItemRect:function(t){return null!=t.selectedContentId?t.items[t.selectedContentId].rect:[]},selectedContentId:function(t){return t.selectedContentId},pagesArray:function(t){return t.pagesArray}};function Ha(t){return Ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ha(t)}function Za(t,e,r){return(e=Ya(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ya(t){var e=Va(t,"string");return"symbol"===Ha(e)?e:String(e)}function Va(t,e){if("object"!==Ha(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Ha(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function Wa(){return Wa=Object.assign?Object.assign.bind():function(t){for(var e=1;ea.lastId&&r(au.SET_LASTID,{id:b});var E=a.lastId+1;if(null===c||null===f){var w=n.notesPointsByPageId(u),P=o.book.bookSize.width*(d?2:1),_=o.book.bookSize.height;if(h)for(var T=0,I=w.length;T=parseInt(o.book.bookSize.width)?"right":"left":null,initiator:y,id:E});r(au.SORT_NOTES,o.book.rightToLeft?"left":"right")},moveNote:function(t,e){var r=t.commit,n=t.getters,o=t.state,i=t.rootState,a=t.rootGetters,u=e.id,s=e.page,c=e.pX,l=e.pY,f=su(o.items,u);if(null!==f){var p=n.noteByID(u),d=a["pages/pageProp"](s,"wide")?c>=parseInt(i.book.bookSize.width)?"right":"left":null,g=p.page!==s||i.pager.singleMode&&p.side!==d,h={id:p.id,page:p.page};r(au.MOVE_NOTE,{index:f,page:s,pX:c,pY:l,side:d,oldValue:h}),g&&r(au.SORT_NOTES,i.book.rightToLeft?"left":"right")}},changeText:function(t,e){var r=t.commit,n=t.state,o=e.id,i=e.text,a=su(n.items,o);null!==a&&r(au.CHANGE_TEXT,{index:a,text:i})},changeColor:function(t,e){var r=t.commit,n=t.state,o=e.id,i=e.color,a=su(n.items,o);null!==a&&(r(au.CHANGE_COLOR,{index:a,color:i}),i!==n.color&&r(au.SET_COLOR,{color:i}))},deleteNote:function(t,e){var r=t.commit,n=t.state,o=e.id,i=e.initiator,a=void 0===i?null:i,u=su(n.items,o);null!==u&&((u=r.items.length||n(Br.n_,{itemIndex:e})},setActiveItemById:function(t,e){var r=t.state,n=t.commit,o=su(r.items,e);null!==o&&n(Br.n_,{itemIndex:o})},setActiveItemToFirst:function(t){var e=t.state,r=t.commit;0!==e.items.length&&r(Br.n_,{itemIndex:0})},setActiveItemToLast:function(t){var e=t.state,r=t.commit;0!==e.items.length&&r(Br.n_,{itemIndex:e.items.length-1})},setActiveNextItem:function(t){var e=t.state,r=t.commit;if(0!==e.items.length){var n=e.items.length-1,o=e.activeItemIndex;if(null!==o)return o0&&void r(Br.n_,{itemIndex:n-1})}}},fu={notesPointsByPageId:function(t){return function(e){for(var r=[],n=0;n=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function Uu(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(c){return void r(c)}u.done?e(s):Promise.resolve(s).then(n,o)}function zu(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Uu(i,n,o,a,u,"next",t)}function u(t){Uu(i,n,o,a,u,"throw",t)}a(void 0)}))}}var Gu=new Blob([new Uint8Array([255,227,24,196,0,0,0,3,72,1,64,0,0,4,132,16,31,227,192,225,76,255,67,12,255,221,27,255,228,97,73,63,255,195,131,69,192,232,223,255,255,207,102,239,255,255,255,101,158,206,70,20,59,255,254,95,70,149,66,4,16,128,0,2,2,32,240,138,255,36,106,183,255,227,24,196,59,11,34,62,80,49,135,40,0,253,29,191,209,200,141,71,7,255,252,152,74,15,130,33,185,6,63,255,252,195,70,203,86,53,15,255,255,247,103,76,121,64,32,47,255,34,227,194,209,138,76,65,77,69,51,46,57,55,170,170,170,170,170,170,170,170,170,170,255,227,24,196,73,13,153,210,100,81,135,56,0,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170])],{type:"audio/mpeg"}),Bu=new Blob([new Uint8Array([0,0,0,28,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,109,112,52,49,0,0,0,8,102,114,101,101,0,0,2,239,109,100,97,116,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,2,194,109,111,111,118,0,0,0,108,109,118,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,232,0,0,0,47,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,236,116,114,97,107,0,0,0,92,116,107,104,100,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,101,100,116,115,0,0,0,28,101,108,115,116,0,0,0,0,0,0,0,1,0,0,0,47,0,0,0,0,0,1,0,0,0,0,1,100,109,100,105,97,0,0,0,32,109,100,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,68,0,0,8,0,85,196,0,0,0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0,0,0,1,15,109,105,110,102,0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0,0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1,0,0,0,211,115,116,98,108,0,0,0,103,115,116,115,100,0,0,0,0,0,0,0,1,0,0,0,87,109,112,52,97,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,16,0,0,0,0,172,68,0,0,0,0,0,51,101,115,100,115,0,0,0,0,3,128,128,128,34,0,2,0,4,128,128,128,20,64,21,0,0,0,0,1,244,0,0,1,243,249,5,128,128,128,2,18,16,6,128,128,128,1,2,0,0,0,24,115,116,116,115,0,0,0,0,0,0,0,1,0,0,0,2,0,0,4,0,0,0,0,28,115,116,115,99,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,28,115,116,115,122,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,115,0,0,1,116,0,0,0,20,115,116,99,111,0,0,0,0,0,0,0,1,0,0,0,44,0,0,0,98,117,100,116,97,0,0,0,90,109,101,116,97,0,0,0,0,0,0,0,33,104,100,108,114,0,0,0,0,0,0,0,0,109,100,105,114,97,112,112,108,0,0,0,0,0,0,0,0,0,0,0,0,45,105,108,115,116,0,0,0,37,169,116,111,111,0,0,0,29,100,97,116,97,0,0,0,1,0,0,0,0,76,97,118,102,53,54,46,52,48,46,49,48,49])],{type:"video/mp4"});function Hu(t,e){var r=t.mute,n=t.inline,o=e.elementType,i=e.source,a=document.createElement(o);return a.muted=r,r&&a.setAttribute("muted","muted"),n&&a.setAttribute("playsinline","playsinline"),a.src=i,new Promise((function(t){var e,r=null==a||null===(e=a.play)||void 0===e?void 0:e.call(a),n=setTimeout((function(){o(!1,new Error("Timeout 1500 ms has been reached"))}),1500),o=function(e){clearTimeout(n),t(e)};void 0!==r?r.then((function(){return o(!0)})).catch((function(t){return o(!1,t)})):o(!0)}))}function Zu(){return Yu.apply(this,arguments)}function Yu(){return(Yu=zu(Fu().mark((function t(){var e;return Fu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={},t.next=3,Hu({mute:!1,inline:!0},{elementType:"video",source:URL.createObjectURL(Bu)});case 3:return e.inlineAutoplay=t.sent,t.next=6,Hu({mute:!0,inline:!0},{elementType:"video",source:URL.createObjectURL(Bu)});case 6:return e.inlineMuteAutoplay=t.sent,t.abrupt("return",e);case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Vu(){return Wu.apply(this,arguments)}function Wu(){return(Wu=zu(Fu().mark((function t(){var e;return Fu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={},t.next=3,Hu({mute:!1,inline:!0},{elementType:"audio",source:URL.createObjectURL(Gu)});case 3:return e.autoplay=t.sent,t.next=6,Hu({mute:!0,inline:!0},{elementType:"audio",source:URL.createObjectURL(Gu)});case 6:return e.muteAutoplay=t.sent,t.abrupt("return",e);case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var Xu="SET_INLINE_AUTOPLAY",Ku="SET_INLINE_MUTE_AUTOPLAY",qu="SET_SOUND_MUTED_AUTOPLAY",Ju="SET_SOUND_AUTOPLAY",$u="SET_FIRST_CLICK",Qu="SET_FIRST_FLIP",ts={SET_VIDEO_INLINE_AUTOPLAY:Xu,SET_VIDEO_INLINE_MUTED_AUTOPLAY:Ku,SET_SOUND_MUTED_AUTOPLAY:qu,SET_SOUND_AUTOPLAY:Ju,SET_FIRST_CLICK:$u,SET_FIRST_FLIP:Qu};function es(t){return es="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},es(t)}function rs(){rs=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),u=new C(n||[]);return o(a,"_invoke",{value:I(t,r,u)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var p="suspendedStart",d="suspendedYield",g="executing",h="completed",v={};function m(){}function y(){}function b(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,w=E&&E(E(A([])));w&&w!==r&&n.call(w,a)&&(S=w);var P=b.prototype=m.prototype=Object.create(S);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,i,a,u){var s=f(t[o],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==es(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function I(e,r,n){var o=p;return function(i,a){if(o===g)throw new Error("Generator is already running");if(o===h){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var s=O(u,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?h:d,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=h,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function A(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function ns(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(c){return void r(c)}u.done?e(s):Promise.resolve(s).then(n,o)}function os(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ns(i,n,o,a,u,"next",t)}function u(t){ns(i,n,o,a,u,"throw",t)}a(void 0)}))}}var is,as={updateAudioPermissions:function(t){var e=t.commit,r=t.rootState;return os(rs().mark((function t(){var n;return rs().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r.workspace.userAgentInfo.device.desktop){t.next=6;break}return t.next=3,Vu();case 3:n=t.sent,t.next=7;break;case 6:n={autoplay:!1,muteAutoplay:!1};case 7:e(ts.SET_SOUND_AUTOPLAY,n.autoplay),e(ts.SET_SOUND_MUTED_AUTOPLAY,n.muteAutoplay);case 9:case"end":return t.stop()}}),t)})))()},updateVideoPermissions:function(t){var e=t.commit,r=t.rootState;return os(rs().mark((function t(){var n;return rs().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r.workspace.userAgentInfo.device.desktop){t.next=6;break}return t.next=3,Zu();case 3:n=t.sent,t.next=7;break;case 6:n={inlineAutoplay:!1,inlineMuteAutoplay:!1};case 7:e(ts.SET_VIDEO_INLINE_AUTOPLAY,n.inlineAutoplay),e(ts.SET_VIDEO_INLINE_MUTED_AUTOPLAY,n.inlineMuteAutoplay);case 9:case"end":return t.stop()}}),t)})))()},setFirstClick:function(t){(0,t.commit)(ts.SET_FIRST_CLICK)},setFirstFlip:function(t){(0,t.commit)(ts.SET_FIRST_FLIP)}},us={};function ss(t){return ss="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ss(t)}function cs(t,e,r){return(e=ls(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ls(t){var e=fs(t,"string");return"symbol"===ss(e)?e:String(e)}function fs(t,e){if("object"!==ss(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==ss(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var ps,ds=(cs(is={},Xu,(function(t,e){t.video.inlineAutoplay=e})),cs(is,Ku,(function(t,e){t.video.inlineMutedAutoplay=e})),cs(is,Ju,(function(t,e){t.audio.autoplay=e})),cs(is,qu,(function(t,e){t.audio.mutedAutoplay=e})),cs(is,$u,(function(t){t.userInteractions.firstClick=!0})),cs(is,Qu,(function(t){t.userInteractions.firstFlip=!0})),is),gs={namespaced:!0,actions:as,getters:us,mutations:ds,state:{video:{inlineAutoplay:null,inlineMutedAutoplay:null},audio:{autoplay:null,mutedAutoplay:null},userInteractions:{firstClick:!1,firstFlip:!1}}},hs="SET_CURRENT_ITEM",vs="CLOSE_LIGHTBOX",ms="SET_LIGHTBOX_ACTIVE",ys="SET_THUMBNAILS_READY",bs="SET_DEFAULT_SETTINGS",Ss={SET_CURRENT_ITEM:hs,CLOSE_LIGHTBOX:vs,SET_LIGHTBOX_ACTIVE:ms,SET_THUMBNAILS_READY:ys,SET_DEFAULT_SETTINGS:bs},Es={openLightbox:function(t,e){var r,n=t.rootGetters,o=t.commit,i=e.itemId,a=e.galleryItemIndex,u=void 0===a?0:a,s=e.target;if(o(Ss.SET_THUMBNAILS_READY,!1),n["content/currentContent"].some((function(t){if(t.itemId===i)return r=t,!0})),r){var c="gallery"===r.type;c&&!r.items[u]||(clearTimeout(ps),o(Ss.SET_CURRENT_ITEM,{itemId:i,galleryItemIndex:c?u:null,target:s}))}},closeLightbox:function(t){var e=t.commit,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e(Ss.SET_LIGHTBOX_ACTIVE,!1),ps=setTimeout((function(){e(Ss.CLOSE_LIGHTBOX,r)}),110)},lightboxGoTo:function(t,e){t.state;var r=t.commit,n=e.itemId,o=e.galleryItemIndex,i=void 0===o?null:o,a=e.target;r(Ss.SET_CURRENT_ITEM,{itemId:n,galleryItemIndex:i,target:a})},lightboxGoNext:function(t,e){var r=t.state,n=t.getters,o=t.commit,i=e+"-next",a=n.currentItem;if("gallery"===a.type){var u=r.currentGalleryItemIndex;if(u!==a.items.length-1)return void o(Ss.SET_CURRENT_ITEM,{galleryItemIndex:u+1,target:i})}var s=n.currentItemIndex,c=s===n.currentContent.length-1?0:s+1,l=n.currentContent[c],f=l.itemId;o(Ss.SET_CURRENT_ITEM,{itemId:f,galleryItemIndex:"gallery"===l.type?0:null,target:i})},lightboxGoPrev:function(t,e){var r=t.state,n=t.getters,o=t.commit,i=e+"-prev";if("gallery"===n.currentItem.type){var a=r.currentGalleryItemIndex;if(0!==a)return void o(Ss.SET_CURRENT_ITEM,{galleryItemIndex:a-1,target:i})}var u=n.currentItemIndex,s=0===u?n.currentContent.length-1:u-1,c=n.currentContent[s],l=c.itemId;o(Ss.SET_CURRENT_ITEM,{itemId:l,galleryItemIndex:"gallery"===c.type?c.items.length-1:null,target:i})}};function ws(t,e){return Os(t)||Is(t,e)||_s(t,e)||Ps()}function Ps(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _s(t,e){if(t){if("string"==typeof t)return Ts(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ts(t,e):void 0}}function Ts(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r1||"gallery"===(null===(r=e.currentItem)||void 0===r?void 0:r.type)&&(null===(n=e.currentItem)||void 0===n||null===(n=n.items)||void 0===n?void 0:n.length)>1},currentItemNumber:function(t,e){for(var r=0,n=0;nr.width){var c=(0,ir.Tj)({width:i,height:a},r,!0);s=Math.ceil(c.width),u=Math.ceil(c.height)}return{width:(s=(s=s%2==0?s:s-1)||1)+2*n,height:(u=u||1)+2*n}}function As(t){return As="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},As(t)}function ks(t,e,r){return(e=Ns(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ns(t){var e=Rs(t,"string");return"symbol"===As(e)?e:String(e)}function Rs(t,e){if("object"!==As(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==As(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Ms=(ks(xs={},hs,(function(t,e){var r=e.itemId,n=e.galleryItemIndex,o=e.target;t.currentItemId=r||t.currentItemId,t.currentGalleryItemIndex=n,t.target=o})),ks(xs,ms,(function(t,e){t.isLightboxActive=e})),ks(xs,vs,(function(t,e){t.currentItemId=null,t.currentGalleryItemIndex=null,t.target=e})),ks(xs,ys,(function(t,e){t.areThumbnailsReady=e})),ks(xs,bs,(function(t){t.thumbnailSizeLimits.width=124,t.thumbnailSizeLimits.height=70,t.thumbnailMargin=6,t.thumbnailBorderWidth=2,t.thumbnailsPaddingTop=20,t.thumbnailsPaddingBottom=12,t.buttonSize=60,t.smallWorkspaceButtonSize=48,t.navAreaPadding=12})),xs),Ds={caniuse:{module:gs},book:{module:w},downloads:{module:U},info:{module:G},logo:{module:tt},pager:{module:De},pages:{module:Cr},print:{module:Gr},search:{module:en},skin:{module:fn},toc:{module:zn},workspace:{module:Vo},sound:{module:gi},i18n:{module:Li},popup:{module:oa},sidebar:{module:ga},social:{module:Ci},content:{module:Ka},thumbnails:{module:Vi},notes:{module:yu},text:{module:Du},lightbox:{module:{namespaced:!0,actions:Es,getters:Ls,mutations:Ms,state:{currentItemId:null,currentGalleryItemIndex:null,target:null,isLightboxActive:null,areThumbnailsReady:null,thumbnailSizeLimits:{width:164,height:70},thumbnailMargin:6,thumbnailBorderWidth:2,thumbnailsPaddingTop:20,thumbnailsPaddingBottom:12,buttonSize:60,smallWorkspaceButtonSize:48,navAreaPadding:12}}}}},1378:function(t,e,r){r.d(e,{d7:function(){return u},fc:function(){return s},lX:function(){return c},n0:function(){return i},qg:function(){return n},rV:function(){return a},rs:function(){return o},yA:function(){return l}});var n="INIT",o="LOCALE_LOADED",i="FONT_LOADED",a="SET_CURRENT_LOCALE",u="SET_CURRENT_FONT",s="SET_STRINGS",c="SET_LOCALE",l="SET_LOCALE_STRING"},7003:function(t,e,r){r.d(e,{Bm:function(){return s},In:function(){return a},Kq:function(){return f},MC:function(){return n},OC:function(){return i},RA:function(){return p},SX:function(){return g},Zs:function(){return c},gG:function(){return o},hp:function(){return l},n_:function(){return d},zC:function(){return u}});var n="SET_PROPERTY",o="CHANGE_PAGE",i="SET_CURRENT_MODE",a="FREEZE",u="UNFREEZE",s="CHANGE_LAST_TARGET",c="CHANGE_FLIP_STATE",l="CHANGE_FORCE_FLIP",f="CHANGE_FORCE_RERENDER",p="CHANGE_ZOOM_MODE",d="SET_MOVE_WATCHER",g="SET_PAGE_CHANGING";e.ZP={SET_MOVE_WATCHER:d,SET_PROPERTY:n,CHANGE_PAGE:o,SET_CURRENT_MODE:i,FREEZE:a,UNFREEZE:u,CHANGE_LAST_TARGET:s,CHANGE_FLIP_STATE:c,CHANGE_FORCE_FLIP:l,CHANGE_FORCE_RERENDER:f,CHANGE_ZOOM_MODE:p,SET_PAGE_CHANGING:g}},1071:function(t,e,r){r.d(e,{A9:function(){return f},B9:function(){return h},BQ:function(){return S},Eg:function(){return w},Hc:function(){return l},IC:function(){return o},If:function(){return m},J$:function(){return a},Kk:function(){return g},Ql:function(){return u},Sb:function(){return b},Tt:function(){return d},V8:function(){return s},_m:function(){return y},lJ:function(){return n},lY:function(){return p},n5:function(){return c},n_:function(){return P},o6:function(){return E},po:function(){return v},pz:function(){return i}});var n="INITIALIZATION_STARTED",o="INITIALIZATION_COMPLETED",i="START_NORMALIZE_INITIALIZATION",a="NORMALIZE_INITIALIZED",u="LIBRARY_INITIALIZED",s="ALGORITHM_INITIALIZED",c="INDEX_LOADING",l="INDEX_LOADED",f="CHANGE_QUERY",p="CHANGE_PROPERTY",d="CHANGE_EXACT_MATCH",g="CHANGE_STATUS",h="ADD_CHUNK",v="ADD_RESULTS",m="CLEAR_RESULTS",y="ADD_HIGHLIGHTS",b="CLEAR_HIGHLIGHTS",S="UPDATE_SCROLL",E="SAVE_SELECT_TEXT_INFO",w="LIMIT_SAVED_SELECT_TEXT_INFO",P="SET_ACTIVE_INDEX"},5688:function(t,e,r){r.d(e,{GS:function(){return i},Op:function(){return n},bH:function(){return o}});var n="OPEN_SIDEBAR",o="CLOSE_SIDEBAR",i="OPEN_PREVIOUS";e.ZP={OPEN_SIDEBAR:n,CLOSE_SIDEBAR:o,OPEN_PREVIOUS:i}},6142:function(t,e,r){r.d(e,{kd:function(){return i},qg:function(){return n},vG:function(){return o}});var n="INIT",o="TEMPLATES_LOADED",i="CHANGE_PARAM"},2574:function(t,e,r){r.d(e,{q:function(){return y}});var n=r(3074),o=r(1378),i=r(776),a=r(710),u=r(9364),s=r(7347),c=r.n(s),l="fontCss",f="buttonCaptionFontCss",p=function(t,e){var r=d(t);e.dispatch("i18n/setCurrentLocale",{locale:r}),m()},d=function(t){var e=t.workspace.userAgentInfo?t.workspace.userAgentInfo.locales:[],r=t.workspace.locales.length>0?t.workspace.locales:t.i18n.config.locales,n=t.i18n.config.substitutes,o="en";if(r&&r.length>0&&(o=r[0]),e){for(var i in n)if(n.hasOwnProperty(i)){var a=e.indexOf(i);a>=0&&(e[a]=n[i])}for(var u=0;u=0){o=e[u];break}}return o},g=function(t,e,r){e.commit("i18n/"+o.rs,{value:!1}),(0,a.Z)({url:(0,i.Z)().translatePath("static/locales/"+r+".json"),responseType:"json",callback:function(n){var i=/%\{(\w+)\}/g,a=JSON.stringify(n).replace(i,"{$1}");n=JSON.parse(a),a=null,e.dispatch("i18n/setLocale",{locale:r,strings:n}),e.commit("i18n/"+o.rs,{value:!0}),h(t,e,r),n=null}})},h=function(t,e,r){t.i18n.strings[r]?(n.Z.setLocaleMessage(r,e.getters["i18n/getLocaleStrings"](r)),n.Z.locale=r,document.documentElement.setAttribute("lang",r),v(t,e)):g(t,e,r)},v=function(t,e){var r=e.getters["i18n/getFontConfig"],n=document.getElementsByClassName("publication-container")[0];if(void 0===r)return n.style.fontFamily='"Helvetica Neue", Helvetica, Arial, sans-serif',e.dispatch("i18n/setCurrentFont",{font:"Helvetica Neue"}),void e.commit("i18n/"+o.n0,{value:!0});var a=r["font-family"]+" ("+r.subset+")";if(a!==t.i18n.currentFont){e.commit("i18n/"+o.n0,{value:!1}),n.style.fontFamily=r["font-family"]+", Helvetica, Arial, sans-serif";var s=(0,i.Z)().translatePath("static/fonts/css/"+r.css);(0,u.Z)(s,(function(){e.state.skin&&(e.dispatch("skin/setParam",{param:"font-weight-normal",value:r["font-weight-normal"]}),e.dispatch("skin/setParam",{param:"font-weight-bold",value:r["font-weight-bold"]})),e.dispatch("i18n/setCurrentFont",{font:a});var t=new(c())(r["font-family"],{weight:r["font-weight-normal"]}),n=new(c())(r["font-family"],{weight:r["font-weight-bold"]});Promise.all([t.load(r.checkString,r.timeout),n.load(r.checkString,r.timeout)]).then((function(){e.commit("i18n/"+o.n0,{value:!0})}),(function(t){console.error('Error loading font "'+a+'": '+t.message),e.commit("i18n/"+o.n0,{value:!0})}))}),l)}},m=function(){var t=(0,i.Z)().translatePath("static/content-button-font/roboto-custom-set.css");(0,u.Z)(t,(function(){}),f)};function y(){var t=document.getElementById(l);t&&t.parentElement&&t.parentElement.removeChild(t);var e=document.getElementById(f);e&&e.parentElement&&e.parentElement.removeChild(e)}e.Z=function(t){t.subscribe((function(e,r){switch(e.type){case"i18n/"+o.qg:p(r,t);break;case"i18n/"+o.rV:h(r,t,e.payload.locale)}}))}},8941:function(t,e,r){r.d(e,{XO:function(){return F},Ix:function(){return V},tq:function(){return Y}});var n=r(776),o=r(924);function i(){this.states={},this.pageInfo={}}i.prototype.constructor=i,i.prototype.on=function(t,e){this._setState(t,o.Z.READY),e(this.getInfo(t))},i.prototype.off=function(){},i.prototype._setState=function(t,e){this.states[t]=e},i.prototype._getState=function(t){return this.states.hasOwnProperty(t)?this.states[t]:o.Z.UNREADY},i.prototype._getPageInfo=function(t){return this.pageInfo.hasOwnProperty(t)?this.pageInfo[t]:{}},i.prototype.getInfo=function(t){return{id:t,state:this._getState(t),pageInfo:this._getPageInfo(t)}};var a=r(5392),u=r(320),s=r(4618),c=r(2834),l=r.n(c),f=r(8531),p=r(5475);function d(){}d.fillNormalizationMap=function(t,e){var r=p.Z.normalize(t,!0);if(r!==t.toLowerCase()){e[t]=r;for(var n=0,o=t.length;nf;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},50:function(t,r,e){var n=e(741),o=e(9797),i=e(508),a=e(875),u=e(6886);t.exports=function(t,r){var e=1==t,c=2==t,s=3==t,f=4==t,l=6==t,h=5==t||l,p=r||u;return function(r,u,y){for(var v,d,m=i(r),g=o(m),b=n(u,y,3),w=a(g.length),x=0,_=e?p(r,w):c?p(r,0):void 0;w>x;x++)if((h||x in g)&&(d=b(v=g[x],x,m),t))if(e)_[x]=d;else if(d)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:_.push(v)}else if(f)return!1;return l?-1:s||f?f:_}}},2736:function(t,r,e){var n=e(5286),o=e(4302),i=e(6314)("species");t.exports=function(t){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)||(r=void 0),n(r)&&null===(r=r[i])&&(r=void 0)),void 0===r?Array:r}},6886:function(t,r,e){var n=e(2736);t.exports=function(t,r){return new(n(t))(r)}},1488:function(t,r,e){var n=e(2032),o=e(6314)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(t,r){try{return t[r]}catch(e){}};t.exports=function(t){var r,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=a(r=Object(t),o))?e:i?n(r):"Object"==(u=n(r))&&"function"==typeof r.callee?"Arguments":u}},2032:function(t){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},5645:function(t){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},741:function(t,r,e){var n=e(4963);t.exports=function(t,r,e){if(n(t),void 0===r)return t;switch(e){case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}}},1355:function(t){t.exports=function(t){if(null==t)throw TypeError("Can\'t call method on "+t);return t}},7057:function(t,r,e){t.exports=!e(4253)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},2457:function(t,r,e){var n=e(5286),o=e(3816).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},4430:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5541:function(t,r,e){var n=e(7184),o=e(4548),i=e(4682);t.exports=function(t){var r=n(t),e=o.f;if(e)for(var a,u=e(t),c=i.f,s=0;u.length>s;)c.call(t,a=u[s++])&&r.push(a);return r}},2985:function(t,r,e){var n=e(3816),o=e(5645),i=e(7728),a=e(7234),u=e(741),c="prototype",s=function(t,r,e){var f,l,h,p,y=t&s.F,v=t&s.G,d=t&s.S,m=t&s.P,g=t&s.B,b=v?n:d?n[r]||(n[r]={}):(n[r]||{})[c],w=v?o:o[r]||(o[r]={}),x=w[c]||(w[c]={});for(f in v&&(e=r),e)h=((l=!y&&b&&void 0!==b[f])?b:e)[f],p=g&&l?u(h,n):m&&"function"==typeof h?u(Function.call,h):h,b&&a(b,f,h,t&s.U),w[f]!=h&&i(w,f,p),m&&x[f]!=h&&(x[f]=h)};n.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},4253:function(t){t.exports=function(t){try{return!!t()}catch(r){return!0}}},3531:function(t,r,e){var n=e(741),o=e(8851),i=e(6555),a=e(7007),u=e(875),c=e(9002),s={},f={},l=t.exports=function(t,r,e,l,h){var p,y,v,d,m=h?function(){return t}:c(t),g=n(e,l,r?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(p=u(t.length);p>b;b++)if((d=r?g(a(y=t[b])[0],y[1]):g(t[b]))===s||d===f)return d}else for(v=m.call(t);!(y=v.next()).done;)if((d=o(v,g,y.value,r))===s||d===f)return d};l.BREAK=s,l.RETURN=f},18:function(t,r,e){t.exports=e(3825)("native-function-to-string",Function.toString)},3816:function(t){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},9181:function(t){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},7728:function(t,r,e){var n=e(9275),o=e(681);t.exports=e(7057)?function(t,r,e){return n.f(t,r,o(1,e))}:function(t,r,e){return t[r]=e,t}},639:function(t,r,e){var n=e(3816).document;t.exports=n&&n.documentElement},1734:function(t,r,e){t.exports=!e(7057)&&!e(4253)((function(){return 7!=Object.defineProperty(e(2457)("div"),"a",{get:function(){return 7}}).a}))},7242:function(t){t.exports=function(t,r,e){var n=void 0===e;switch(r.length){case 0:return n?t():t.call(e);case 1:return n?t(r[0]):t.call(e,r[0]);case 2:return n?t(r[0],r[1]):t.call(e,r[0],r[1]);case 3:return n?t(r[0],r[1],r[2]):t.call(e,r[0],r[1],r[2]);case 4:return n?t(r[0],r[1],r[2],r[3]):t.call(e,r[0],r[1],r[2],r[3])}return t.apply(e,r)}},9797:function(t,r,e){var n=e(2032);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},6555:function(t,r,e){var n=e(2803),o=e(6314)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},4302:function(t,r,e){var n=e(2032);t.exports=Array.isArray||function(t){return"Array"==n(t)}},5286:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8851:function(t,r,e){var n=e(7007);t.exports=function(t,r,e,o){try{return o?r(n(e)[0],e[1]):r(e)}catch(a){var i=t.return;throw void 0!==i&&n(i.call(t)),a}}},9988:function(t,r,e){"use strict";var n=e(2503),o=e(681),i=e(2943),a={};e(7728)(a,e(6314)("iterator"),(function(){return this})),t.exports=function(t,r,e){t.prototype=n(a,{next:o(1,e)}),i(t,r+" Iterator")}},2923:function(t,r,e){"use strict";var n=e(4461),o=e(2985),i=e(7234),a=e(7728),u=e(2803),c=e(9988),s=e(2943),f=e(468),l=e(6314)("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",y="keys",v="values",d=function(){return this};t.exports=function(t,r,e,m,g,b,w){c(e,r,m);var x,_,E,O=function(t){if(!h&&t in P)return P[t];switch(t){case y:case v:return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=r+" Iterator",L=g==v,j=!1,P=t.prototype,T=P[l]||P[p]||g&&P[g],A=T||O(g),k=g?L?O("entries"):A:void 0,F="Array"==r&&P.entries||T;if(F&&(E=f(F.call(new t)))!==Object.prototype&&E.next&&(s(E,S,!0),n||"function"==typeof E[l]||a(E,l,d)),L&&T&&T.name!==v&&(j=!0,A=function(){return T.call(this)}),n&&!w||!h&&!j&&P[l]||a(P,l,A),u[r]=A,u[S]=d,g)if(x={values:L?A:O(v),keys:b?A:O(y),entries:k},w)for(_ in x)_ in P||i(P,_,x[_]);else o(o.P+o.F*(h||j),r,x);return x}},7462:function(t,r,e){var n=e(6314)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(a){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:e=!0}},i[n]=function(){return u},t(i)}catch(a){}return e}},5436:function(t){t.exports=function(t,r){return{value:r,done:!!t}}},2803:function(t){t.exports={}},4461:function(t){t.exports=!1},4728:function(t,r,e){var n=e(3953)("meta"),o=e(5286),i=e(9181),a=e(9275).f,u=0,c=Object.isExtensible||function(){return!0},s=!e(4253)((function(){return c(Object.preventExtensions({}))})),f=function(t){a(t,n,{value:{i:"O"+ ++u,w:{}}})},l=function(t,r){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!c(t))return"F";if(!r)return"E";f(t)}return t[n].i},h=function(t,r){if(!i(t,n)){if(!c(t))return!0;if(!r)return!1;f(t)}return t[n].w},p=function(t){return s&&y.NEED&&c(t)&&!i(t,n)&&f(t),t},y=t.exports={KEY:n,NEED:!1,fastKey:l,getWeak:h,onFreeze:p}},4351:function(t,r,e){var n=e(3816),o=e(4193).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,u=n.Promise,c="process"==e(2032)(a);t.exports=function(){var t,r,e,s=function(){var n,o;for(c&&(n=a.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(i){throw t?e():r=void 0,i}}r=void 0,n&&n.enter()};if(c)e=function(){a.nextTick(s)};else if(!i||n.navigator&&n.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);e=function(){f.then(s)}}else e=function(){o.call(n,s)};else{var l=!0,h=document.createTextNode("");new i(s).observe(h,{characterData:!0}),e=function(){h.data=l=!l}}return function(n){var o={fn:n,next:void 0};r&&(r.next=o),t||(t=o,e()),r=o}}},3499:function(t,r,e){"use strict";var n=e(4963);function o(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n})),this.resolve=n(r),this.reject=n(e)}t.exports.f=function(t){return new o(t)}},2503:function(t,r,e){var n=e(7007),o=e(5588),i=e(4430),a=e(9335)("IE_PROTO"),u=function(){},c="prototype",s=function(){var t,r=e(2457)("iframe"),n=i.length,o="<",a=">";for(r.style.display="none",e(639).appendChild(r),r.src="javascript:",(t=r.contentWindow.document).open(),t.write(o+"script"+a+"document.F=Object"+o+"/script"+a),t.close(),s=t.F;n--;)delete s[c][i[n]];return s()};t.exports=Object.create||function(t,r){var e;return null!==t?(u[c]=n(t),e=new u,u[c]=null,e[a]=t):e=s(),void 0===r?e:o(e,r)}},9275:function(t,r,e){var n=e(7007),o=e(1734),i=e(1689),a=Object.defineProperty;r.f=e(7057)?Object.defineProperty:function(t,r,e){if(n(t),r=i(r,!0),n(e),o)try{return a(t,r,e)}catch(u){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[r]=e.value),t}},5588:function(t,r,e){var n=e(9275),o=e(7007),i=e(7184);t.exports=e(7057)?Object.defineProperties:function(t,r){o(t);for(var e,a=i(r),u=a.length,c=0;u>c;)n.f(t,e=a[c++],r[e]);return t}},8693:function(t,r,e){var n=e(4682),o=e(681),i=e(2110),a=e(1689),u=e(9181),c=e(1734),s=Object.getOwnPropertyDescriptor;r.f=e(7057)?s:function(t,r){if(t=i(t),r=a(r,!0),c)try{return s(t,r)}catch(e){}if(u(t,r))return o(!n.f.call(t,r),t[r])}},9327:function(t,r,e){var n=e(2110),o=e(616).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(r){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(n(t))}},616:function(t,r,e){var n=e(189),o=e(4430).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},4548:function(t,r){r.f=Object.getOwnPropertySymbols},468:function(t,r,e){var n=e(9181),o=e(508),i=e(9335)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},189:function(t,r,e){var n=e(9181),o=e(2110),i=e(9315)(!1),a=e(9335)("IE_PROTO");t.exports=function(t,r){var e,u=o(t),c=0,s=[];for(e in u)e!=a&&n(u,e)&&s.push(e);for(;r.length>c;)n(u,e=r[c++])&&(~i(s,e)||s.push(e));return s}},7184:function(t,r,e){var n=e(189),o=e(4430);t.exports=Object.keys||function(t){return n(t,o)}},4682:function(t,r){r.f={}.propertyIsEnumerable},188:function(t){t.exports=function(t){try{return{e:!1,v:t()}}catch(r){return{e:!0,v:r}}}},94:function(t,r,e){var n=e(7007),o=e(5286),i=e(3499);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise}},681:function(t){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},4408:function(t,r,e){var n=e(7234);t.exports=function(t,r,e){for(var o in r)n(t,o,r[o],e);return t}},7234:function(t,r,e){var n=e(3816),o=e(7728),i=e(9181),a=e(3953)("src"),u=e(18),c="toString",s=(""+u).split(c);e(5645).inspectSource=function(t){return u.call(t)},(t.exports=function(t,r,e,u){var c="function"==typeof e;c&&(i(e,"name")||o(e,"name",r)),t[r]!==e&&(c&&(i(e,a)||o(e,a,t[r]?""+t[r]:s.join(String(r)))),t===n?t[r]=e:u?t[r]?t[r]=e:o(t,r,e):(delete t[r],o(t,r,e)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||u.call(this)}))},2974:function(t,r,e){"use strict";var n=e(3816),o=e(9275),i=e(7057),a=e(6314)("species");t.exports=function(t){var r=n[t];i&&r&&!r[a]&&o.f(r,a,{configurable:!0,get:function(){return this}})}},2943:function(t,r,e){var n=e(9275).f,o=e(9181),i=e(6314)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},9335:function(t,r,e){var n=e(3825)("keys"),o=e(3953);t.exports=function(t){return n[t]||(n[t]=o(t))}},3825:function(t,r,e){var n=e(5645),o=e(3816),i="__core-js_shared__",a=o[i]||(o[i]={});(t.exports=function(t,r){return a[t]||(a[t]=void 0!==r?r:{})})("versions",[]).push({version:n.version,mode:e(4461)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},8364:function(t,r,e){var n=e(7007),o=e(4963),i=e(6314)("species");t.exports=function(t,r){var e,a=n(t).constructor;return void 0===a||null==(e=n(a)[i])?r:o(e)}},4496:function(t,r,e){var n=e(1467),o=e(1355);t.exports=function(t){return function(r,e){var i,a,u=String(o(r)),c=n(e),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c))<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},4193:function(t,r,e){var n,o,i,a=e(741),u=e(7242),c=e(639),s=e(2457),f=e(3816),l=f.process,h=f.setImmediate,p=f.clearImmediate,y=f.MessageChannel,v=f.Dispatch,d=0,m={},g="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var r=m[t];delete m[t],r()}},w=function(t){b.call(t.data)};h&&p||(h=function(t){for(var r=[],e=1;arguments.length>e;)r.push(arguments[e++]);return m[++d]=function(){u("function"==typeof t?t:Function(t),r)},n(d),d},p=function(t){delete m[t]},"process"==e(2032)(l)?n=function(t){l.nextTick(a(b,t,1))}:v&&v.now?n=function(t){v.now(a(b,t,1))}:y?(i=(o=new y).port2,o.port1.onmessage=w,n=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!1)):n=g in s("script")?function(t){c.appendChild(s("script"))[g]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:h,clear:p}},2337:function(t,r,e){var n=e(1467),o=Math.max,i=Math.min;t.exports=function(t,r){return(t=n(t))<0?o(t+r,0):i(t,r)}},1467:function(t){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},2110:function(t,r,e){var n=e(9797),o=e(1355);t.exports=function(t){return n(o(t))}},875:function(t,r,e){var n=e(1467),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},508:function(t,r,e){var n=e(1355);t.exports=function(t){return Object(n(t))}},1689:function(t,r,e){var n=e(5286);t.exports=function(t,r){if(!n(t))return t;var e,o;if(r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!n(o=e.call(t)))return o;if(!r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;throw TypeError("Can\'t convert object to primitive value")}},3953:function(t){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},575:function(t,r,e){var n=e(3816).navigator;t.exports=n&&n.userAgent||""},6074:function(t,r,e){var n=e(3816),o=e(5645),i=e(4461),a=e(8787),u=e(9275).f;t.exports=function(t){var r=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in r||u(r,t,{value:a.f(t)})}},8787:function(t,r,e){r.f=e(6314)},6314:function(t,r,e){var n=e(3825)("wks"),o=e(3953),i=e(3816).Symbol,a="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=n},9002:function(t,r,e){var n=e(1488),o=e(6314)("iterator"),i=e(2803);t.exports=e(5645).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},4899:function(t,r,e){"use strict";var n=e(2985),o=e(50)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),n(n.P+n.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(7722)(i)},6997:function(t,r,e){"use strict";var n=e(7722),o=e(5436),i=e(2803),a=e(2110);t.exports=e(2923)(Array,"Array",(function(t,r){this._t=a(t),this._i=0,this._k=r}),(function(){var t=this._t,r=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==r?e:"values"==r?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},6253:function(t,r,e){"use strict";var n=e(1488),o={};o[e(6314)("toStringTag")]="z",o+""!="[object z]"&&e(7234)(Object.prototype,"toString",(function(){return"[object "+n(this)+"]"}),!0)},851:function(t,r,e){"use strict";var n,o,i,a,u=e(4461),c=e(3816),s=e(741),f=e(1488),l=e(2985),h=e(5286),p=e(4963),y=e(3328),v=e(3531),d=e(8364),m=e(4193).set,g=e(4351)(),b=e(3499),w=e(188),x=e(575),_=e(94),E="Promise",O=c.TypeError,S=c.process,L=S&&S.versions,j=L&&L.v8||"",P=c[E],T="process"==f(S),A=function(){},k=o=b.f,F=!!function(){try{var t=P.resolve(1),r=(t.constructor={})[e(6314)("species")]=function(t){t(A,A)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof r&&0!==j.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(n){}}(),N=function(t){var r;return!(!h(t)||"function"!=typeof(r=t.then))&&r},I=function(t,r){if(!t._n){t._n=!0;var e=t._c;g((function(){for(var n=t._v,o=1==t._s,i=0,a=function(r){var e,i,a,u=o?r.ok:r.fail,c=r.resolve,s=r.reject,f=r.domain;try{u?(o||(2==t._h&&M(t),t._h=1),!0===u?e=n:(f&&f.enter(),e=u(n),f&&(f.exit(),a=!0)),e===r.promise?s(O("Promise-chain cycle")):(i=N(e))?i.call(e,c,s):c(e)):s(n)}catch(l){f&&!a&&f.exit(),s(l)}};e.length>i;)a(e[i++]);t._c=[],t._n=!1,r&&!t._h&&B(t)}))}},B=function(t){m.call(c,(function(){var r,e,n,o=t._v,i=G(t);if(i&&(r=w((function(){T?S.emit("unhandledRejection",o,t):(e=c.onunhandledrejection)?e({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)})),t._h=T||G(t)?2:1),t._a=void 0,i&&r.e)throw r.v}))},G=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(t){m.call(c,(function(){var r;T?S.emit("rejectionHandled",t):(r=c.onrejectionhandled)&&r({promise:t,reason:t._v})}))},R=function(t){var r=this;r._d||(r._d=!0,(r=r._w||r)._v=t,r._s=2,r._a||(r._a=r._c.slice()),I(r,!0))},D=function(t){var r,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw O("Promise can\'t be resolved itself");(r=N(t))?g((function(){var n={_w:e,_d:!1};try{r.call(t,s(D,n,1),s(R,n,1))}catch(o){R.call(n,o)}})):(e._v=t,e._s=1,I(e,!1))}catch(n){R.call({_w:e,_d:!1},n)}}};F||(P=function(t){y(this,P,E,"_h"),p(t),n.call(this);try{t(s(D,this,1),s(R,this,1))}catch(r){R.call(this,r)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e(4408)(P.prototype,{then:function(t,r){var e=k(d(this,P));return e.ok="function"!=typeof t||t,e.fail="function"==typeof r&&r,e.domain=T?S.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&I(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=s(D,t,1),this.reject=s(R,t,1)},b.f=k=function(t){return t===P||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!F,{Promise:P}),e(2943)(P,E),e(2974)(E),a=e(5645)[E],l(l.S+l.F*!F,E,{reject:function(t){var r=k(this);return(0,r.reject)(t),r.promise}}),l(l.S+l.F*(u||!F),E,{resolve:function(t){return _(u&&this===a?P:this,t)}}),l(l.S+l.F*!(F&&e(7462)((function(t){P.all(t).catch(A)}))),E,{all:function(t){var r=this,e=k(r),n=e.resolve,o=e.reject,i=w((function(){var e=[],i=0,a=1;v(t,!1,(function(t){var u=i++,c=!1;e.push(void 0),a++,r.resolve(t).then((function(t){c||(c=!0,e[u]=t,--a||n(e))}),o)})),--a||n(e)}));return i.e&&o(i.v),e.promise},race:function(t){var r=this,e=k(r),n=e.reject,o=w((function(){v(t,!1,(function(t){r.resolve(t).then(e.resolve,n)}))}));return o.e&&n(o.v),e.promise}})},9115:function(t,r,e){"use strict";var n=e(4496)(!0);e(2923)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,r=this._t,e=this._i;return e>=r.length?{value:void 0,done:!0}:(t=n(r,e),this._i+=t.length,{value:t,done:!1})}))},5767:function(t,r,e){"use strict";var n=e(3816),o=e(9181),i=e(7057),a=e(2985),u=e(7234),c=e(4728).KEY,s=e(4253),f=e(3825),l=e(2943),h=e(3953),p=e(6314),y=e(8787),v=e(6074),d=e(5541),m=e(4302),g=e(7007),b=e(5286),w=e(508),x=e(2110),_=e(1689),E=e(681),O=e(2503),S=e(9327),L=e(8693),j=e(4548),P=e(9275),T=e(7184),A=L.f,k=P.f,F=S.f,N=n.Symbol,I=n.JSON,B=I&&I.stringify,G="prototype",M=p("_hidden"),R=p("toPrimitive"),D={}.propertyIsEnumerable,U=f("symbol-registry"),C=f("symbols"),H=f("op-symbols"),z=Object[G],q="function"==typeof N&&!!j.f,V=n.QObject,Y=!V||!V[G]||!V[G].findChild,W=i&&s((function(){return 7!=O(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=A(z,r);n&&delete z[r],k(t,r,e),n&&t!==z&&k(z,r,n)}:k,K=function(t){var r=C[t]=O(N[G]);return r._k=t,r},J=q&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},Q=function(t,r,e){return t===z&&Q(H,r,e),g(t),r=_(r,!0),g(e),o(C,r)?(e.enumerable?(o(t,M)&&t[M][r]&&(t[M][r]=!1),e=O(e,{enumerable:E(0,!1)})):(o(t,M)||k(t,M,E(1,{})),t[M][r]=!0),W(t,r,e)):k(t,r,e)},X=function(t,r){g(t);for(var e,n=d(r=x(r)),o=0,i=n.length;i>o;)Q(t,e=n[o++],r[e]);return t},$=function(t,r){return void 0===r?O(t):X(O(t),r)},Z=function(t){var r=D.call(this,t=_(t,!0));return!(this===z&&o(C,t)&&!o(H,t))&&(!(r||!o(this,t)||!o(C,t)||o(this,M)&&this[M][t])||r)},tt=function(t,r){if(t=x(t),r=_(r,!0),t!==z||!o(C,r)||o(H,r)){var e=A(t,r);return!e||!o(C,r)||o(t,M)&&t[M][r]||(e.enumerable=!0),e}},rt=function(t){for(var r,e=F(x(t)),n=[],i=0;e.length>i;)o(C,r=e[i++])||r==M||r==c||n.push(r);return n},et=function(t){for(var r,e=t===z,n=F(e?H:x(t)),i=[],a=0;n.length>a;)!o(C,r=n[a++])||e&&!o(z,r)||i.push(C[r]);return i};q||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),r=function(e){this===z&&r.call(H,e),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),W(this,t,E(1,e))};return i&&Y&&W(z,t,{configurable:!0,set:r}),K(t)},u(N[G],"toString",(function(){return this._k})),L.f=tt,P.f=Q,e(616).f=S.f=rt,e(4682).f=Z,j.f=et,i&&!e(4461)&&u(z,"propertyIsEnumerable",Z,!0),y.f=function(t){return K(p(t))}),a(a.G+a.W+a.F*!q,{Symbol:N});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ot=0;nt.length>ot;)p(nt[ot++]);for(var it=T(p.store),at=0;it.length>at;)v(it[at++]);a(a.S+a.F*!q,"Symbol",{for:function(t){return o(U,t+="")?U[t]:U[t]=N(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var r in U)if(U[r]===t)return r},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),a(a.S+a.F*!q,"Object",{create:$,defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:tt,getOwnPropertyNames:rt,getOwnPropertySymbols:et});var ut=s((function(){j.f(1)}));a(a.S+a.F*ut,"Object",{getOwnPropertySymbols:function(t){return j.f(w(t))}}),I&&a(a.S+a.F*(!q||s((function(){var t=N();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))}))),"JSON",{stringify:function(t){for(var r,e,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(e=r=n[1],(b(r)||void 0!==t)&&!J(t))return m(r)||(r=function(t,r){if("function"==typeof e&&(r=e.call(this,t,r)),!J(r))return r}),n[1]=r,B.apply(I,n)}}),N[G][R]||e(7728)(N[G],R,N[G].valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},1181:function(t,r,e){for(var n=e(6997),o=e(7184),i=e(7234),a=e(3816),u=e(7728),c=e(2803),s=e(6314),f=s("iterator"),l=s("toStringTag"),h=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},y=o(p),v=0;v=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;A(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:F(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}}}function w(t,r,e,n){var o=r&&r.prototype instanceof _?r:_,i=Object.create(o.prototype),a=new k(n||[]);return i._invoke=j(t,e,a),i}function x(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(n){return{type:"throw",arg:n}}}function _(){}function E(){}function O(){}function S(t){["next","throw","return"].forEach((function(r){t[r]=function(t){return this._invoke(r,t)}}))}function L(t){function r(e,n,i,a){var u=x(t[e],t,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then((function(t){r("next",t,i,a)}),(function(t){r("throw",t,i,a)})):Promise.resolve(s).then((function(t){c.value=t,i(c)}),a)}a(u.arg)}var e;function n(t,n){function o(){return new Promise((function(e,o){r(t,n,e,o)}))}return e=e?e.then(o,o):o()}this._invoke=n}function j(t,r,e){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw i;return N()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=P(a,e);if(u){if(u===v)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===l)throw n=y,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var c=x(t,r,e);if("normal"===c.type){if(n=e.done?y:h,c.arg===v)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n=y,e.method="throw",e.arg=c.arg)}}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a \'throw\' method")}return v}var o=x(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function A(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function F(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n-1};f.prototype.append=function(t,r){t=u(t),r=c(r);var e=this.map[t];this.map[t]=e?e+","+r:r},f.prototype.delete=function(t){delete this.map[u(t)]},f.prototype.get=function(t){return t=u(t),this.has(t)?this.map[t]:null},f.prototype.has=function(t){return this.map.hasOwnProperty(u(t))},f.prototype.set=function(t,r){this.map[u(t)]=c(r)},f.prototype.forEach=function(t,r){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(r,this.map[e],e,this)},f.prototype.keys=function(){var t=[];return this.forEach((function(r,e){t.push(e)})),s(t)},f.prototype.values=function(){var t=[];return this.forEach((function(r){t.push(r)})),s(t)},f.prototype.entries=function(){var t=[];return this.forEach((function(r,e){t.push([e,r])})),s(t)},r.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);var i=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},m.call(b.prototype),m.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:""});return t.type="error",t};var a=[301,302,303,307,308];_.redirect=function(t,r){if(-1===a.indexOf(r))throw new RangeError("Invalid status code");return new _(null,{status:r,headers:{location:t}})},t.Headers=f,t.Request=b,t.Response=_,t.fetch=function(t,e){return new Promise((function(n,o){var i=new b(t,e),a=new XMLHttpRequest;a.onload=function(){var t={status:a.status,statusText:a.statusText,headers:x(a.getAllResponseHeaders()||"")};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;n(new _(r,t))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&r.blob&&(a.responseType="blob"),i.headers.forEach((function(t,r){a.setRequestHeader(r,t)})),a.send(void 0===i._bodyInit?null:i._bodyInit)}))},t.fetch.polyfill=!0}function u(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\\-#$%&\'*+.\\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var r=t.shift();return{done:void 0===r,value:r}}};return r.iterable&&(e[Symbol.iterator]=function(){return e}),e}function f(t){this.map={},t instanceof f?t.forEach((function(t,r){this.append(r,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(r){this.append(r,t[r])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(r,e){t.onload=function(){r(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var r=new FileReader,e=h(r);return r.readAsArrayBuffer(t),e}function y(t){var r=new FileReader,e=h(r);return r.readAsText(t),e}function v(t){for(var r=new Uint8Array(t),e=new Array(r.length),n=0;n-1?r:t}function b(t,r){var e=(r=r||{}).body;if(t instanceof b){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,r.headers||(this.headers=new f(t.headers)),this.method=t.method,this.mode=t.mode,e||null==t._bodyInit||(e=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=r.credentials||this.credentials||"omit",!r.headers&&this.headers||(this.headers=new f(r.headers)),this.method=g(r.method||this.method||"GET"),this.mode=r.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&e)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(e)}function w(t){var r=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),n=e.shift().replace(/\\+/g," "),o=e.join("=").replace(/\\+/g," ");r.append(decodeURIComponent(n),decodeURIComponent(o))}})),r}function x(t){var r=new f;return t.replace(/\\r?\\n[\\t ]+/g," ").split(/\\r?\\n/).forEach((function(t){var e=t.split(":"),n=e.shift().trim();if(n){var o=e.join(":").trim();r.append(n,o)}})),r}function _(t,r){r||(r={}),this.type="default",this.status=void 0===r.status?200:r.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in r?r.statusText:"OK",this.headers=new f(r.headers),this.url=r.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n].call(i.exports,i,i.exports,e),i.exports}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}();!function(){"use strict";e(9074),e(4244),e(1440),e(5666),e(7147);function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(){r=function(){return n};var e,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,r,e){t[r]=e.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(e){l=function(t,r,e){return t[r]=e}}function h(t,r,e,n){var o=r&&r.prototype instanceof b?r:b,i=Object.create(o.prototype),u=new F(n||[]);return a(i,"_invoke",{value:P(t,e,u)}),i}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function b(){}function w(){}function x(){}var _={};l(_,c,(function(){return this}));var E=Object.getPrototypeOf,O=E&&E(E(N([])));O&&O!==o&&i.call(O,c)&&(_=O);var S=x.prototype=b.prototype=Object.create(_);function L(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function j(r,e){function n(o,a,u,c){var s=p(r[o],r,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==t(l)&&i.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(l).then((function(t){f.value=t,u(f)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function P(t,r,n){var o=y;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=T(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?m:v,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function T(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,T(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a \'"+n+"\' method")),g;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function k(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(r){if(r||""===r){var n=r[c];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;k(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},n}function n(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=o(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}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,u=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==e.return||e.return()}finally{if(c)throw a}}}}function o(t,r){if(t){if("string"==typeof t)return i(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,r):void 0}}function i(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e0;){var o=e-1,i=t[o];if(!(r(n,i)<0))break;t[e]=i,e=o}return t[e]=n,e}var h=Symbol("data"),p=Symbol("compareFunction"),y=Symbol("checkUniqueFunction"),v=function(t){function e(t,r){if(a(this,e),"function"!=typeof t)throw new Error("PriorityQueue: no compareFunction defined");this[p]=t,"function"==typeof r&&(this[y]=r),this[h]=[]}return c(e,[{key:"add",value:function(t){var r,e,n,o=this;return this[y]&&(r=this[h].filter((function(r){return o[y](r,t)}))[0],e=this[h].indexOf(r),n=r&&0===this[p](t,r)),(!this[y]||!r||!n)&&(r&&!n&&this[h].splice(e,1),this[h].push(t),l(this[h],this[p],this.size-1)),this}},{key:"peek",value:function(){return this[h][0]}},{key:"remove",value:function(){return this[h].shift()}},{key:"delete",value:function(t){var r=this[h].indexOf(t);return-1!==r&&(this[h].splice(r,1),!0)}},{key:"clear",value:function(){this[h]=[]}},{key:"size",get:function(){return this[h].length}},{key:"forEach",value:function(t,r){var e,o=n(this);try{for(o.s();!(e=o.n()).done;){var i=e.value;t.call(r,i,this)}}catch(a){o.e(a)}finally{o.f()}}},{key:Symbol.iterator,value:r().mark((function t(){var e;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=0;case 1:if(!(er?1:0}),t)}},{key:"newNaturalMax",value:function(t){return new e((function(t,r){return tr?-1:0}),t)}}]),e}();function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(){m=function(){return r};var t,r={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,r,e){t[r]=e.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(t){s=function(t,r,e){return t[r]=e}}function f(t,r,e,n){var i=r&&r.prototype instanceof b?r:b,a=Object.create(i.prototype),u=new F(n||[]);return o(a,"_invoke",{value:P(t,e,u)}),a}function l(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var h="suspendedStart",p="suspendedYield",y="executing",v="completed",g={};function b(){}function w(){}function x(){}var _={};s(_,a,(function(){return this}));var E=Object.getPrototypeOf,O=E&&E(E(N([])));O&&O!==e&&n.call(O,a)&&(_=O);var S=x.prototype=b.prototype=Object.create(_);function L(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function j(t,r){function e(o,i,a,u){var c=l(t[o],t,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==d(f)&&n.call(f,"__await")?r.resolve(f.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):r.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return e("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new r((function(r,o){e(t,n,r,o)}))}return i=i?i.then(o,o):o()}})}function P(r,e,n){var o=h;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=T(u,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=l(r,e,n);if("normal"===s.type){if(o=n.done?v:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function T(r,e){var n=e.method,o=r.iterator[n];if(o===t)return e.delegate=null,"throw"===n&&r.iterator.return&&(e.method="return",e.arg=t,T(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a \'"+n+"\' method")),g;var i=l(o,r.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[r.resultName]=a.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function A(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function k(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(r){if(r||""===r){var e=r[a];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,i=function e(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;k(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(r,e,n){return this.delegate={iterator:N(r),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=t),g}},r}function g(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(s){return void e(s)}u.done?r(c):Promise.resolve(c).then(n,o)}function b(t){return function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){g(i,n,o,a,u,"next",t)}function u(t){g(i,n,o,a,u,"throw",t)}a(void 0)}))}}var w,x,_=new v((function(t,r){return t.priority-r.priority}),(function(t,r){return t.url===r.url})),E=[],O=0,S=6;onmessage=function(){var t=b(m().mark((function t(r){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r.data.action){t.next=2;break}return t.abrupt("return");case 2:t.t0=r.data.action,t.next="crossOrigin"===t.t0?5:"setOrigin"===t.t0?7:"load"===t.t0?9:"clear"===t.t0?11:13;break;case 5:return w=r.data.data,t.abrupt("break",13);case 7:return x=r.data.data,t.abrupt("break",13);case 9:return L(r.data.data),t.abrupt("break",13);case 11:return j(r.data.clearMode),t.abrupt("break",13);case 13:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}();var L=function(){var t=b(m().mark((function t(r){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:_.add(r),O=0&&E.splice(r,1)}}()}();',"Worker",void 0,void 0)}function b(){return m()('!function(){var t={9074:function(t,r,e){e(6253),e(9115),e(1181),e(851),e(5645).Promise},2298:function(t,r,e){e(6253),e(9115),e(1181),e(8184),e(5645).Set},4244:function(t,r,e){e(5767),e(6253),e(5645).Symbol},4814:function(t,r,e){e(9115),e(522),e(5645).Array.from},4963:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},7722:function(t,r,e){var n=e(6314)("unscopables"),o=Array.prototype;null==o[n]&&e(7728)(o,n,{}),t.exports=function(t){o[n][t]=!0}},3328:function(t){t.exports=function(t,r,e,n){if(!(t instanceof r)||void 0!==n&&n in t)throw TypeError(e+": incorrect invocation!");return t}},7007:function(t,r,e){var n=e(5286);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},9315:function(t,r,e){var n=e(2110),o=e(875),i=e(2337);t.exports=function(t){return function(r,e,a){var s,c=n(r),u=o(c.length),f=i(a,u);if(t&&e!=e){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},1488:function(t,r,e){var n=e(2032),o=e(6314)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(t,r){try{return t[r]}catch(e){}};t.exports=function(t){var r,e,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=a(r=Object(t),o))?e:i?n(r):"Object"==(s=n(r))&&"function"==typeof r.callee?"Arguments":s}},2032:function(t){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},9824:function(t,r,e){"use strict";var n=e(9275).f,o=e(2503),i=e(4408),a=e(741),s=e(3328),c=e(3531),u=e(2923),f=e(5436),l=e(2974),h=e(7057),p=e(4728).fastKey,d=e(1616),v=h?"_s":"size",y=function(t,r){var e,n=p(r);if("F"!==n)return t._i[n];for(e=t._f;e;e=e.n)if(e.k==r)return e};t.exports={getConstructor:function(t,r,e,u){var f=t((function(t,n){s(t,f,r,"_i"),t._t=r,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,null!=n&&c(n,e,t[u],t)}));return i(f.prototype,{clear:function(){for(var t=d(this,r),e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var e=d(this,r),n=y(e,t);if(n){var o=n.n,i=n.p;delete e._i[n.i],n.r=!0,i&&(i.n=o),o&&(o.p=i),e._f==n&&(e._f=o),e._l==n&&(e._l=i),e[v]--}return!!n},forEach:function(t){d(this,r);for(var e,n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(d(this,r),t)}}),h&&n(f.prototype,"size",{get:function(){return d(this,r)[v]}}),f},def:function(t,r,e){var n,o,i=y(t,r);return i?i.v=e:(t._l=i={i:o=p(r,!0),k:r,v:e,p:n=t._l,n:void 0,r:!1},t._f||(t._f=i),n&&(n.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,r,e){u(t,r,(function(t,e){this._t=d(t,r),this._k=e,this._l=void 0}),(function(){for(var t=this,r=t._k,e=t._l;e&&e.r;)e=e.p;return t._t&&(t._l=e=e?e.n:t._t._f)?f(0,"keys"==r?e.k:"values"==r?e.v:[e.k,e.v]):(t._t=void 0,f(1))}),e?"entries":"values",!e,!0),l(r)}}},5795:function(t,r,e){"use strict";var n=e(3816),o=e(2985),i=e(7234),a=e(4408),s=e(4728),c=e(3531),u=e(3328),f=e(5286),l=e(4253),h=e(7462),p=e(2943),d=e(266);t.exports=function(t,r,e,v,y,g){var m=n[t],b=m,w=y?"set":"add",x=b&&b.prototype,_={},S=function(t){var r=x[t];i(x,t,"delete"==t||"has"==t?function(t){return!(g&&!f(t))&&r.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:r.call(this,0===t?0:t)}:"add"==t?function(t){return r.call(this,0===t?0:t),this}:function(t,e){return r.call(this,0===t?0:t,e),this})};if("function"==typeof b&&(g||x.forEach&&!l((function(){(new b).entries().next()})))){var T=new b,E=T[w](g?{}:-0,1)!=T,O=l((function(){T.has(1)})),j=h((function(t){new b(t)})),L=!g&&l((function(){for(var t=new b,r=5;r--;)t[w](r,r);return!t.has(-0)}));j||((b=r((function(r,e){u(r,b,t);var n=d(new m,r,b);return null!=e&&c(e,y,n[w],n),n}))).prototype=x,x.constructor=b),(O||L)&&(S("delete"),S("has"),y&&S("get")),(L||E)&&S(w),g&&x.clear&&delete x.clear}else b=v.getConstructor(r,t,y,w),a(b.prototype,e),s.NEED=!0;return p(b,t),_[t]=b,o(o.G+o.W+o.F*(b!=m),_),g||v.setStrong(b,t,y),b}},5645:function(t){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},2811:function(t,r,e){"use strict";var n=e(9275),o=e(681);t.exports=function(t,r,e){r in t?n.f(t,r,o(0,e)):t[r]=e}},741:function(t,r,e){var n=e(4963);t.exports=function(t,r,e){if(n(t),void 0===r)return t;switch(e){case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}}},1355:function(t){t.exports=function(t){if(null==t)throw TypeError("Can\'t call method on "+t);return t}},7057:function(t,r,e){t.exports=!e(4253)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},2457:function(t,r,e){var n=e(5286),o=e(3816).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},4430:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5541:function(t,r,e){var n=e(7184),o=e(4548),i=e(4682);t.exports=function(t){var r=n(t),e=o.f;if(e)for(var a,s=e(t),c=i.f,u=0;s.length>u;)c.call(t,a=s[u++])&&r.push(a);return r}},2985:function(t,r,e){var n=e(3816),o=e(5645),i=e(7728),a=e(7234),s=e(741),c="prototype",u=function(t,r,e){var f,l,h,p,d=t&u.F,v=t&u.G,y=t&u.S,g=t&u.P,m=t&u.B,b=v?n:y?n[r]||(n[r]={}):(n[r]||{})[c],w=v?o:o[r]||(o[r]={}),x=w[c]||(w[c]={});for(f in v&&(e=r),e)h=((l=!d&&b&&void 0!==b[f])?b:e)[f],p=m&&l?s(h,n):g&&"function"==typeof h?s(Function.call,h):h,b&&a(b,f,h,t&u.U),w[f]!=h&&i(w,f,p),g&&x[f]!=h&&(x[f]=h)};n.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},4253:function(t){t.exports=function(t){try{return!!t()}catch(r){return!0}}},3531:function(t,r,e){var n=e(741),o=e(8851),i=e(6555),a=e(7007),s=e(875),c=e(9002),u={},f={},l=t.exports=function(t,r,e,l,h){var p,d,v,y,g=h?function(){return t}:c(t),m=n(e,l,r?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(p=s(t.length);p>b;b++)if((y=r?m(a(d=t[b])[0],d[1]):m(t[b]))===u||y===f)return y}else for(v=g.call(t);!(d=v.next()).done;)if((y=o(v,m,d.value,r))===u||y===f)return y};l.BREAK=u,l.RETURN=f},18:function(t,r,e){t.exports=e(3825)("native-function-to-string",Function.toString)},3816:function(t){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},9181:function(t){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},7728:function(t,r,e){var n=e(9275),o=e(681);t.exports=e(7057)?function(t,r,e){return n.f(t,r,o(1,e))}:function(t,r,e){return t[r]=e,t}},639:function(t,r,e){var n=e(3816).document;t.exports=n&&n.documentElement},1734:function(t,r,e){t.exports=!e(7057)&&!e(4253)((function(){return 7!=Object.defineProperty(e(2457)("div"),"a",{get:function(){return 7}}).a}))},266:function(t,r,e){var n=e(5286),o=e(7375).set;t.exports=function(t,r,e){var i,a=r.constructor;return a!==e&&"function"==typeof a&&(i=a.prototype)!==e.prototype&&n(i)&&o&&o(t,i),t}},7242:function(t){t.exports=function(t,r,e){var n=void 0===e;switch(r.length){case 0:return n?t():t.call(e);case 1:return n?t(r[0]):t.call(e,r[0]);case 2:return n?t(r[0],r[1]):t.call(e,r[0],r[1]);case 3:return n?t(r[0],r[1],r[2]):t.call(e,r[0],r[1],r[2]);case 4:return n?t(r[0],r[1],r[2],r[3]):t.call(e,r[0],r[1],r[2],r[3])}return t.apply(e,r)}},9797:function(t,r,e){var n=e(2032);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},6555:function(t,r,e){var n=e(2803),o=e(6314)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},4302:function(t,r,e){var n=e(2032);t.exports=Array.isArray||function(t){return"Array"==n(t)}},5286:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8851:function(t,r,e){var n=e(7007);t.exports=function(t,r,e,o){try{return o?r(n(e)[0],e[1]):r(e)}catch(a){var i=t.return;throw void 0!==i&&n(i.call(t)),a}}},9988:function(t,r,e){"use strict";var n=e(2503),o=e(681),i=e(2943),a={};e(7728)(a,e(6314)("iterator"),(function(){return this})),t.exports=function(t,r,e){t.prototype=n(a,{next:o(1,e)}),i(t,r+" Iterator")}},2923:function(t,r,e){"use strict";var n=e(4461),o=e(2985),i=e(7234),a=e(7728),s=e(2803),c=e(9988),u=e(2943),f=e(468),l=e(6314)("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",d="keys",v="values",y=function(){return this};t.exports=function(t,r,e,g,m,b,w){c(e,r,g);var x,_,S,T=function(t){if(!h&&t in L)return L[t];switch(t){case d:case v:return function(){return new e(this,t)}}return function(){return new e(this,t)}},E=r+" Iterator",O=m==v,j=!1,L=t.prototype,P=L[l]||L[p]||m&&L[m],A=P||T(m),M=m?O?T("entries"):A:void 0,C="Array"==r&&L.entries||P;if(C&&(S=f(C.call(new t)))!==Object.prototype&&S.next&&(u(S,E,!0),n||"function"==typeof S[l]||a(S,l,y)),O&&P&&P.name!==v&&(j=!0,A=function(){return P.call(this)}),n&&!w||!h&&!j&&L[l]||a(L,l,A),s[r]=A,s[E]=y,m)if(x={values:O?A:T(v),keys:b?A:T(d),entries:M},w)for(_ in x)_ in L||i(L,_,x[_]);else o(o.P+o.F*(h||j),r,x);return x}},7462:function(t,r,e){var n=e(6314)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(a){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i=[7],s=i[n]();s.next=function(){return{done:e=!0}},i[n]=function(){return s},t(i)}catch(a){}return e}},5436:function(t){t.exports=function(t,r){return{value:r,done:!!t}}},2803:function(t){t.exports={}},4461:function(t){t.exports=!1},4728:function(t,r,e){var n=e(3953)("meta"),o=e(5286),i=e(9181),a=e(9275).f,s=0,c=Object.isExtensible||function(){return!0},u=!e(4253)((function(){return c(Object.preventExtensions({}))})),f=function(t){a(t,n,{value:{i:"O"+ ++s,w:{}}})},l=function(t,r){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!c(t))return"F";if(!r)return"E";f(t)}return t[n].i},h=function(t,r){if(!i(t,n)){if(!c(t))return!0;if(!r)return!1;f(t)}return t[n].w},p=function(t){return u&&d.NEED&&c(t)&&!i(t,n)&&f(t),t},d=t.exports={KEY:n,NEED:!1,fastKey:l,getWeak:h,onFreeze:p}},4351:function(t,r,e){var n=e(3816),o=e(4193).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==e(2032)(a);t.exports=function(){var t,r,e,u=function(){var n,o;for(c&&(n=a.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(i){throw t?e():r=void 0,i}}r=void 0,n&&n.enter()};if(c)e=function(){a.nextTick(u)};else if(!i||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);e=function(){f.then(u)}}else e=function(){o.call(n,u)};else{var l=!0,h=document.createTextNode("");new i(u).observe(h,{characterData:!0}),e=function(){h.data=l=!l}}return function(n){var o={fn:n,next:void 0};r&&(r.next=o),t||(t=o,e()),r=o}}},3499:function(t,r,e){"use strict";var n=e(4963);function o(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n})),this.resolve=n(r),this.reject=n(e)}t.exports.f=function(t){return new o(t)}},2503:function(t,r,e){var n=e(7007),o=e(5588),i=e(4430),a=e(9335)("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,r=e(2457)("iframe"),n=i.length,o="<",a=">";for(r.style.display="none",e(639).appendChild(r),r.src="javascript:",(t=r.contentWindow.document).open(),t.write(o+"script"+a+"document.F=Object"+o+"/script"+a),t.close(),u=t.F;n--;)delete u[c][i[n]];return u()};t.exports=Object.create||function(t,r){var e;return null!==t?(s[c]=n(t),e=new s,s[c]=null,e[a]=t):e=u(),void 0===r?e:o(e,r)}},9275:function(t,r,e){var n=e(7007),o=e(1734),i=e(1689),a=Object.defineProperty;r.f=e(7057)?Object.defineProperty:function(t,r,e){if(n(t),r=i(r,!0),n(e),o)try{return a(t,r,e)}catch(s){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[r]=e.value),t}},5588:function(t,r,e){var n=e(9275),o=e(7007),i=e(7184);t.exports=e(7057)?Object.defineProperties:function(t,r){o(t);for(var e,a=i(r),s=a.length,c=0;s>c;)n.f(t,e=a[c++],r[e]);return t}},8693:function(t,r,e){var n=e(4682),o=e(681),i=e(2110),a=e(1689),s=e(9181),c=e(1734),u=Object.getOwnPropertyDescriptor;r.f=e(7057)?u:function(t,r){if(t=i(t),r=a(r,!0),c)try{return u(t,r)}catch(e){}if(s(t,r))return o(!n.f.call(t,r),t[r])}},9327:function(t,r,e){var n=e(2110),o=e(616).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(r){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(n(t))}},616:function(t,r,e){var n=e(189),o=e(4430).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},4548:function(t,r){r.f=Object.getOwnPropertySymbols},468:function(t,r,e){var n=e(9181),o=e(508),i=e(9335)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},189:function(t,r,e){var n=e(9181),o=e(2110),i=e(9315)(!1),a=e(9335)("IE_PROTO");t.exports=function(t,r){var e,s=o(t),c=0,u=[];for(e in s)e!=a&&n(s,e)&&u.push(e);for(;r.length>c;)n(s,e=r[c++])&&(~i(u,e)||u.push(e));return u}},7184:function(t,r,e){var n=e(189),o=e(4430);t.exports=Object.keys||function(t){return n(t,o)}},4682:function(t,r){r.f={}.propertyIsEnumerable},188:function(t){t.exports=function(t){try{return{e:!1,v:t()}}catch(r){return{e:!0,v:r}}}},94:function(t,r,e){var n=e(7007),o=e(5286),i=e(3499);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise}},681:function(t){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},4408:function(t,r,e){var n=e(7234);t.exports=function(t,r,e){for(var o in r)n(t,o,r[o],e);return t}},7234:function(t,r,e){var n=e(3816),o=e(7728),i=e(9181),a=e(3953)("src"),s=e(18),c="toString",u=(""+s).split(c);e(5645).inspectSource=function(t){return s.call(t)},(t.exports=function(t,r,e,s){var c="function"==typeof e;c&&(i(e,"name")||o(e,"name",r)),t[r]!==e&&(c&&(i(e,a)||o(e,a,t[r]?""+t[r]:u.join(String(r)))),t===n?t[r]=e:s?t[r]?t[r]=e:o(t,r,e):(delete t[r],o(t,r,e)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},7375:function(t,r,e){var n=e(5286),o=e(7007),i=function(t,r){if(o(t),!n(r)&&null!==r)throw TypeError(r+": can\'t set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,n){try{(n=e(741)(Function.call,e(8693).f(Object.prototype,"__proto__").set,2))(t,[]),r=!(t instanceof Array)}catch(o){r=!0}return function(t,e){return i(t,e),r?t.__proto__=e:n(t,e),t}}({},!1):void 0),check:i}},2974:function(t,r,e){"use strict";var n=e(3816),o=e(9275),i=e(7057),a=e(6314)("species");t.exports=function(t){var r=n[t];i&&r&&!r[a]&&o.f(r,a,{configurable:!0,get:function(){return this}})}},2943:function(t,r,e){var n=e(9275).f,o=e(9181),i=e(6314)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},9335:function(t,r,e){var n=e(3825)("keys"),o=e(3953);t.exports=function(t){return n[t]||(n[t]=o(t))}},3825:function(t,r,e){var n=e(5645),o=e(3816),i="__core-js_shared__",a=o[i]||(o[i]={});(t.exports=function(t,r){return a[t]||(a[t]=void 0!==r?r:{})})("versions",[]).push({version:n.version,mode:e(4461)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},8364:function(t,r,e){var n=e(7007),o=e(4963),i=e(6314)("species");t.exports=function(t,r){var e,a=n(t).constructor;return void 0===a||null==(e=n(a)[i])?r:o(e)}},4496:function(t,r,e){var n=e(1467),o=e(1355);t.exports=function(t){return function(r,e){var i,a,s=String(o(r)),c=n(e),u=s.length;return c<0||c>=u?t?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},4193:function(t,r,e){var n,o,i,a=e(741),s=e(7242),c=e(639),u=e(2457),f=e(3816),l=f.process,h=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,g={},m="onreadystatechange",b=function(){var t=+this;if(g.hasOwnProperty(t)){var r=g[t];delete g[t],r()}},w=function(t){b.call(t.data)};h&&p||(h=function(t){for(var r=[],e=1;arguments.length>e;)r.push(arguments[e++]);return g[++y]=function(){s("function"==typeof t?t:Function(t),r)},n(y),y},p=function(t){delete g[t]},"process"==e(2032)(l)?n=function(t){l.nextTick(a(b,t,1))}:v&&v.now?n=function(t){v.now(a(b,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=w,n=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!1)):n=m in u("script")?function(t){c.appendChild(u("script"))[m]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:h,clear:p}},2337:function(t,r,e){var n=e(1467),o=Math.max,i=Math.min;t.exports=function(t,r){return(t=n(t))<0?o(t+r,0):i(t,r)}},1467:function(t){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},2110:function(t,r,e){var n=e(9797),o=e(1355);t.exports=function(t){return n(o(t))}},875:function(t,r,e){var n=e(1467),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},508:function(t,r,e){var n=e(1355);t.exports=function(t){return Object(n(t))}},1689:function(t,r,e){var n=e(5286);t.exports=function(t,r){if(!n(t))return t;var e,o;if(r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!n(o=e.call(t)))return o;if(!r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;throw TypeError("Can\'t convert object to primitive value")}},3953:function(t){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},575:function(t,r,e){var n=e(3816).navigator;t.exports=n&&n.userAgent||""},1616:function(t,r,e){var n=e(5286);t.exports=function(t,r){if(!n(t)||t._t!==r)throw TypeError("Incompatible receiver, "+r+" required!");return t}},6074:function(t,r,e){var n=e(3816),o=e(5645),i=e(4461),a=e(8787),s=e(9275).f;t.exports=function(t){var r=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in r||s(r,t,{value:a.f(t)})}},8787:function(t,r,e){r.f=e(6314)},6314:function(t,r,e){var n=e(3825)("wks"),o=e(3953),i=e(3816).Symbol,a="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=n},9002:function(t,r,e){var n=e(1488),o=e(6314)("iterator"),i=e(2803);t.exports=e(5645).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},522:function(t,r,e){"use strict";var n=e(741),o=e(2985),i=e(508),a=e(8851),s=e(6555),c=e(875),u=e(2811),f=e(9002);o(o.S+o.F*!e(7462)((function(t){Array.from(t)})),"Array",{from:function(t){var r,e,o,l,h=i(t),p="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,g=0,m=f(h);if(y&&(v=n(v,d>2?arguments[2]:void 0,2)),null==m||p==Array&&s(m))for(e=new p(r=c(h.length));r>g;g++)u(e,g,y?v(h[g],g):h[g]);else for(l=m.call(h),e=new p;!(o=l.next()).done;g++)u(e,g,y?a(l,v,[o.value,g],!0):o.value);return e.length=g,e}})},6997:function(t,r,e){"use strict";var n=e(7722),o=e(5436),i=e(2803),a=e(2110);t.exports=e(2923)(Array,"Array",(function(t,r){this._t=a(t),this._i=0,this._k=r}),(function(){var t=this._t,r=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==r?e:"values"==r?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},6253:function(t,r,e){"use strict";var n=e(1488),o={};o[e(6314)("toStringTag")]="z",o+""!="[object z]"&&e(7234)(Object.prototype,"toString",(function(){return"[object "+n(this)+"]"}),!0)},851:function(t,r,e){"use strict";var n,o,i,a,s=e(4461),c=e(3816),u=e(741),f=e(1488),l=e(2985),h=e(5286),p=e(4963),d=e(3328),v=e(3531),y=e(8364),g=e(4193).set,m=e(4351)(),b=e(3499),w=e(188),x=e(575),_=e(94),S="Promise",T=c.TypeError,E=c.process,O=E&&E.versions,j=O&&O.v8||"",L=c[S],P="process"==f(E),A=function(){},M=o=b.f,C=!!function(){try{var t=L.resolve(1),r=(t.constructor={})[e(6314)("species")]=function(t){t(A,A)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof r&&0!==j.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(n){}}(),F=function(t){var r;return!(!h(t)||"function"!=typeof(r=t.then))&&r},I=function(t,r){if(!t._n){t._n=!0;var e=t._c;m((function(){for(var n=t._v,o=1==t._s,i=0,a=function(r){var e,i,a,s=o?r.ok:r.fail,c=r.resolve,u=r.reject,f=r.domain;try{s?(o||(2==t._h&&B(t),t._h=1),!0===s?e=n:(f&&f.enter(),e=s(n),f&&(f.exit(),a=!0)),e===r.promise?u(T("Promise-chain cycle")):(i=F(e))?i.call(e,c,u):c(e)):u(n)}catch(l){f&&!a&&f.exit(),u(l)}};e.length>i;)a(e[i++]);t._c=[],t._n=!1,r&&!t._h&&k(t)}))}},k=function(t){g.call(c,(function(){var r,e,n,o=t._v,i=R(t);if(i&&(r=w((function(){P?E.emit("unhandledRejection",o,t):(e=c.onunhandledrejection)?e({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)})),t._h=P||R(t)?2:1),t._a=void 0,i&&r.e)throw r.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(t){g.call(c,(function(){var r;P?E.emit("rejectionHandled",t):(r=c.onrejectionhandled)&&r({promise:t,reason:t._v})}))},U=function(t){var r=this;r._d||(r._d=!0,(r=r._w||r)._v=t,r._s=2,r._a||(r._a=r._c.slice()),I(r,!0))},N=function(t){var r,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw T("Promise can\'t be resolved itself");(r=F(t))?m((function(){var n={_w:e,_d:!1};try{r.call(t,u(N,n,1),u(U,n,1))}catch(o){U.call(n,o)}})):(e._v=t,e._s=1,I(e,!1))}catch(n){U.call({_w:e,_d:!1},n)}}};C||(L=function(t){d(this,L,S,"_h"),p(t),n.call(this);try{t(u(N,this,1),u(U,this,1))}catch(r){U.call(this,r)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e(4408)(L.prototype,{then:function(t,r){var e=M(y(this,L));return e.ok="function"!=typeof t||t,e.fail="function"==typeof r&&r,e.domain=P?E.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&I(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=u(N,t,1),this.reject=u(U,t,1)},b.f=M=function(t){return t===L||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!C,{Promise:L}),e(2943)(L,S),e(2974)(S),a=e(5645)[S],l(l.S+l.F*!C,S,{reject:function(t){var r=M(this);return(0,r.reject)(t),r.promise}}),l(l.S+l.F*(s||!C),S,{resolve:function(t){return _(s&&this===a?L:this,t)}}),l(l.S+l.F*!(C&&e(7462)((function(t){L.all(t).catch(A)}))),S,{all:function(t){var r=this,e=M(r),n=e.resolve,o=e.reject,i=w((function(){var e=[],i=0,a=1;v(t,!1,(function(t){var s=i++,c=!1;e.push(void 0),a++,r.resolve(t).then((function(t){c||(c=!0,e[s]=t,--a||n(e))}),o)})),--a||n(e)}));return i.e&&o(i.v),e.promise},race:function(t){var r=this,e=M(r),n=e.reject,o=w((function(){v(t,!1,(function(t){r.resolve(t).then(e.resolve,n)}))}));return o.e&&n(o.v),e.promise}})},8184:function(t,r,e){"use strict";var n=e(9824),o=e(1616),i="Set";t.exports=e(5795)(i,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return n.def(o(this,i),t=0===t?0:t,t)}},n)},9115:function(t,r,e){"use strict";var n=e(4496)(!0);e(2923)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,r=this._t,e=this._i;return e>=r.length?{value:void 0,done:!0}:(t=n(r,e),this._i+=t.length,{value:t,done:!1})}))},5767:function(t,r,e){"use strict";var n=e(3816),o=e(9181),i=e(7057),a=e(2985),s=e(7234),c=e(4728).KEY,u=e(4253),f=e(3825),l=e(2943),h=e(3953),p=e(6314),d=e(8787),v=e(6074),y=e(5541),g=e(4302),m=e(7007),b=e(5286),w=e(508),x=e(2110),_=e(1689),S=e(681),T=e(2503),E=e(9327),O=e(8693),j=e(4548),L=e(9275),P=e(7184),A=O.f,M=L.f,C=E.f,F=n.Symbol,I=n.JSON,k=I&&I.stringify,R="prototype",B=p("_hidden"),U=p("toPrimitive"),N={}.propertyIsEnumerable,D=f("symbol-registry"),G=f("symbols"),z=f("op-symbols"),W=Object[R],H="function"==typeof F&&!!j.f,q=n.QObject,V=!q||!q[R]||!q[R].findChild,K=i&&u((function(){return 7!=T(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=A(W,r);n&&delete W[r],M(t,r,e),n&&t!==W&&M(W,r,n)}:M,J=function(t){var r=G[t]=T(F[R]);return r._k=t,r},Y=H&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},X=function(t,r,e){return t===W&&X(z,r,e),m(t),r=_(r,!0),m(e),o(G,r)?(e.enumerable?(o(t,B)&&t[B][r]&&(t[B][r]=!1),e=T(e,{enumerable:S(0,!1)})):(o(t,B)||M(t,B,S(1,{})),t[B][r]=!0),K(t,r,e)):M(t,r,e)},Q=function(t,r){m(t);for(var e,n=y(r=x(r)),o=0,i=n.length;i>o;)X(t,e=n[o++],r[e]);return t},$=function(t,r){return void 0===r?T(t):Q(T(t),r)},Z=function(t){var r=N.call(this,t=_(t,!0));return!(this===W&&o(G,t)&&!o(z,t))&&(!(r||!o(this,t)||!o(G,t)||o(this,B)&&this[B][t])||r)},tt=function(t,r){if(t=x(t),r=_(r,!0),t!==W||!o(G,r)||o(z,r)){var e=A(t,r);return!e||!o(G,r)||o(t,B)&&t[B][r]||(e.enumerable=!0),e}},rt=function(t){for(var r,e=C(x(t)),n=[],i=0;e.length>i;)o(G,r=e[i++])||r==B||r==c||n.push(r);return n},et=function(t){for(var r,e=t===W,n=C(e?z:x(t)),i=[],a=0;n.length>a;)!o(G,r=n[a++])||e&&!o(W,r)||i.push(G[r]);return i};H||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),r=function(e){this===W&&r.call(z,e),o(this,B)&&o(this[B],t)&&(this[B][t]=!1),K(this,t,S(1,e))};return i&&V&&K(W,t,{configurable:!0,set:r}),J(t)},s(F[R],"toString",(function(){return this._k})),O.f=tt,L.f=X,e(616).f=E.f=rt,e(4682).f=Z,j.f=et,i&&!e(4461)&&s(W,"propertyIsEnumerable",Z,!0),d.f=function(t){return J(p(t))}),a(a.G+a.W+a.F*!H,{Symbol:F});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ot=0;nt.length>ot;)p(nt[ot++]);for(var it=P(p.store),at=0;it.length>at;)v(it[at++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=F(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var r in D)if(D[r]===t)return r},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!H,"Object",{create:$,defineProperty:X,defineProperties:Q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:rt,getOwnPropertySymbols:et});var st=u((function(){j.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return j.f(w(t))}}),I&&a(a.S+a.F*(!H||u((function(){var t=F();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))}))),"JSON",{stringify:function(t){for(var r,e,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(e=r=n[1],(b(r)||void 0!==t)&&!Y(t))return g(r)||(r=function(t,r){if("function"==typeof e&&(r=e.call(this,t,r)),!Y(r))return r}),n[1]=r,k.apply(I,n)}}),F[R][U]||e(7728)(F[R],U,F[R].valueOf),l(F,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},1181:function(t,r,e){for(var n=e(6997),o=e(7184),i=e(7234),a=e(3816),s=e(7728),c=e(2803),u=e(6314),f=u("iterator"),l=u("toStringTag"),h=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=o(p),v=0;v=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;A(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}}}function w(t,r,e,n){var o=r&&r.prototype instanceof _?r:_,i=Object.create(o.prototype),a=new M(n||[]);return i._invoke=j(t,e,a),i}function x(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(n){return{type:"throw",arg:n}}}function _(){}function S(){}function T(){}function E(t){["next","throw","return"].forEach((function(r){t[r]=function(t){return this._invoke(r,t)}}))}function O(t){function r(e,n,i,a){var s=x(t[e],t,n);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&o.call(u,"__await")?Promise.resolve(u.__await).then((function(t){r("next",t,i,a)}),(function(t){r("throw",t,i,a)})):Promise.resolve(u).then((function(t){c.value=t,i(c)}),a)}a(s.arg)}var e;function n(t,n){function o(){return new Promise((function(e,o){r(t,n,e,o)}))}return e=e?e.then(o,o):o()}this._invoke=n}function j(t,r,e){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return F()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var s=L(a,e);if(s){if(s===v)continue;return s}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===l)throw n=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var c=x(t,r,e);if("normal"===c.type){if(n=e.done?d:h,c.arg===v)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n=d,e.method="throw",e.arg=c.arg)}}}function L(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a \'throw\' method")}return v}var o=x(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function P(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function A(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n-1};f.prototype.append=function(t,r){t=s(t),r=c(r);var e=this.map[t];this.map[t]=e?e+","+r:r},f.prototype.delete=function(t){delete this.map[s(t)]},f.prototype.get=function(t){return t=s(t),this.has(t)?this.map[t]:null},f.prototype.has=function(t){return this.map.hasOwnProperty(s(t))},f.prototype.set=function(t,r){this.map[s(t)]=c(r)},f.prototype.forEach=function(t,r){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(r,this.map[e],e,this)},f.prototype.keys=function(){var t=[];return this.forEach((function(r,e){t.push(e)})),u(t)},f.prototype.values=function(){var t=[];return this.forEach((function(r){t.push(r)})),u(t)},f.prototype.entries=function(){var t=[];return this.forEach((function(r,e){t.push([e,r])})),u(t)},r.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);var i=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:""});return t.type="error",t};var a=[301,302,303,307,308];_.redirect=function(t,r){if(-1===a.indexOf(r))throw new RangeError("Invalid status code");return new _(null,{status:r,headers:{location:t}})},t.Headers=f,t.Request=b,t.Response=_,t.fetch=function(t,e){return new Promise((function(n,o){var i=new b(t,e),a=new XMLHttpRequest;a.onload=function(){var t={status:a.status,statusText:a.statusText,headers:x(a.getAllResponseHeaders()||"")};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;n(new _(r,t))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&r.blob&&(a.responseType="blob"),i.headers.forEach((function(t,r){a.setRequestHeader(r,t)})),a.send(void 0===i._bodyInit?null:i._bodyInit)}))},t.fetch.polyfill=!0}function s(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\\-#$%&\'*+.\\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function u(t){var e={next:function(){var r=t.shift();return{done:void 0===r,value:r}}};return r.iterable&&(e[Symbol.iterator]=function(){return e}),e}function f(t){this.map={},t instanceof f?t.forEach((function(t,r){this.append(r,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(r){this.append(r,t[r])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(r,e){t.onload=function(){r(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var r=new FileReader,e=h(r);return r.readAsArrayBuffer(t),e}function d(t){var r=new FileReader,e=h(r);return r.readAsText(t),e}function v(t){for(var r=new Uint8Array(t),e=new Array(r.length),n=0;n-1?r:t}function b(t,r){var e=(r=r||{}).body;if(t instanceof b){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,r.headers||(this.headers=new f(t.headers)),this.method=t.method,this.mode=t.mode,e||null==t._bodyInit||(e=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=r.credentials||this.credentials||"omit",!r.headers&&this.headers||(this.headers=new f(r.headers)),this.method=m(r.method||this.method||"GET"),this.mode=r.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&e)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(e)}function w(t){var r=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),n=e.shift().replace(/\\+/g," "),o=e.join("=").replace(/\\+/g," ");r.append(decodeURIComponent(n),decodeURIComponent(o))}})),r}function x(t){var r=new f;return t.replace(/\\r?\\n[\\t ]+/g," ").split(/\\r?\\n/).forEach((function(t){var e=t.split(":"),n=e.shift().trim();if(n){var o=e.join(":").trim();r.append(n,o)}})),r}function _(t,r){r||(r={}),this.type="default",this.status=void 0===r.status?200:r.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in r?r.statusText:"OK",this.headers=new f(r.headers),this.url=r.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n].call(i.exports,i,i.exports,e),i.exports}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}();!function(){"use strict";e(4244),e(2298),e(9074),e(4814),e(5666),e(7147);function t(){}var r=/[\\u0300-\\u036f]/g,n={"ı":"i","ё":"е"},o="№℻ⓩ⻳⼀⿕㆖㆟㉇㉐㉠㊊㊰㋀㏿﷼",i=new RegExp(Object.keys(n).join("|"),"gi");t.normalize=function(r,e,n){var o;String.prototype.normalize||console.error("String does\'nt have normalize function");try{o=this.encodeExceptions(r).normalize("NFKD")}catch(i){o=3===arguments.length?n:r}return e&&(o=t.toLowerCase(o)),o},t.toLowerCase=function(t){return t.toLowerCase().replace(r,"").replace(i,(function(t){return n[t]}))},t.encodeExceptions=function(t){return t.replace(this.getUnicodeExceptions(),(function(t){return"&#"+t.charCodeAt(0)+";"}))},t.decodeExceptions=function(t){return t.replace(/&#(\\d+);/g,(function(t,r){return"".concat(String.fromCharCode(r))}))},t.getUnicodeExceptions=function(){return new RegExp("["+o+"]","g")},t.getHtmlExceptions=function(){return new RegExp("("+o.replace(this.getUnicodeExceptions(),(function(t){return"|(&#"+t.charCodeAt(0)+";)"})).slice(1)+")*","g")};var a=t;function s(){}s.fillNormalizationMap=function(t,r){var e=a.normalize(t,!0);if(e!==t.toLowerCase()){r[t]=e;for(var n=0,o=t.length;nMath.floor(t[0])&&r.pageWidthr.pageWidth}}));n.finalTree=L(o),b(r,n)}},b=function(t,r){function n(r){postMessage({action:"error",data:r,url:t.searchTextURL}),y.delete(t.pageId)}e.g.fetch(t.searchTextURL,{referrer:v}).then((function(t){if(t.ok)return t.text();n(t.status)})).then((function(e){x(e,t,r)})).catch((function(t){n(t)}))},w=function(t){t.finalTree=t.finalTree||[],t.finalTree.push({onlyForSearch:!0,lines:[]}),t.finalTreeLineIndexes=0},x=function(t,r,e){if(y.has(r.pageId)){w(e);for(var n=r.searchPageText,o=0,i=u(t),a=[0,0],s=0,c=i.length;sa[0],S(e),T(e),n.length>0&&O(e),E(e),postMessage({action:"textData",data:{pageId:r.pageId,isRtl:e.isRtl,isCrossWide:e.isCrossWide,finalTree:e.finalTree,searchTextMap:e.searchTextMap}}),y.delete(r.pageId),e=null}},_=function(t,r,e,n,o){for(var i=j(t,r,o,e),a=0,s=i.length;ai.top-a&&s.top+s.heighti.top-a+i.height&&(n[o].symbols=n[o].symbols.concat(n[o+1].symbols),n.splice(o+1,1))}}}},T=function(t){for(var r=0,e=t.finalTree.length;r=p.left-.5&&h<=p.left+.5||s.push({left:h,top:f.top,height:f.height,angle:f.angle,width:Math.ceil(100*(p.left-h))/100,word:" "})}n[o].symbols=s.filter((function(t){return t.width>=0}))}}}},E=function(t){for(var r=0,e=t.finalTree.length;r=1?e[r-1]:0)})),p=-1,d=0,v=i.length;d=1?l[d-1]:0)*Math.sin(u);if(r){g=d===v-1?0:l[v-d-2]*Math.sin(u);var m=l[d]*Math.cos(u);y=Math.ceil(100*(s-m))/100}else{var b=(d>=1?l[d-1]:0)*Math.cos(u);y=Math.ceil(100*(s+b))/100}var w=Math.ceil(100*h[d])/100,x=A(n,i[d],a[p+1]),_=a.indexOf(x,p+1);o.push({word:i[d],left:y,top:Math.ceil(100*(c+g))/100,angle:u,height:Math.ceil(100*f)/100,width:w,rtl:r,srcIndex:e>=0&&_>=0?e+_:-1}),_>=0&&(p=_)}return o},L=function(t){return t.sort((function(t,r){return t.left-r.left})),t.sort((function(t,r){return t.top+t.height-(r.top+t.height)})),t};function P(t,r){return!!r.onlyForSearch||0===t.angle&&(!(t.leftr.left+r.width)&&!(t.topr.top+r.height))}function A(t,r,e){if(t.normalizationMap)return c.normalizeFromMap(r,t.normalizationMap);var n=3===arguments.length?e:r;return a.normalize(r,!0,n)}}()}();',"Worker",void 0,void 0)}var S=r(1071),E=r(710);function w(t){return I(t)||T(t)||_(t)||P()}function P(){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 _(t,e){if(t){if("string"==typeof t)return O(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}function T(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function I(t){if(Array.isArray(t))return O(t)}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r3&&void 0!==arguments[3]&&arguments[3];function a(r,n,o){if(i||t.dispatch("pages/setStatus",{value:n.state,pageID:r}),!(0,u.xb)(n.pageInfo)&&!i){var a=j(t,r,n.pageInfo);t.dispatch("pages/setPageInfo",{value:a,pageID:r})}var s="slide-book"===e.workspace.bookComponent,c=t.getters["pages/pageProp"](r,"currentSize");(i||s&&c||!s)&&M(t,e,r,i,o)}n="thumbnails"===e.sidebar.opened||"notes"===e.sidebar.opened?i?"onlyTh":"exceptTh":"all",A.postMessage({action:"clear",clearMode:n});for(var s=function(){var e=r.shift(),n=null;i||(n=K(t).includes(e));var s=N.getInfo(e);if(t.getters["pages/pageProp"](e,"stub"))return t.dispatch("pages/setStatus",{value:o.Z.READY,pageID:e}),t.dispatch("pages/changeLoadPending",{value:!1,pageID:e}),1;switch(i||t.dispatch("pages/setStatus",{value:s.state,pageID:e}),s.state){case o.Z.READY:(0,u.o8)(s.pageInfo)?N.on(e,(function(t){a(e,t,n)})):a(e,s,n);break;case o.Z.UNREADY:N.on(e,(function(t){a(e,t,n)}));case o.Z.ERROR:}};r.length>0;)s()},j=function(t,e,r){var n=x({},r),o=w(t.state.pages[e].content),i=t.getters["pages/pageContentGrouppedByType"](e),s=function(s){if(r.hasOwnProperty(s)){var c=r[s];(0,a.k)(c)&&(0,u.e$)(C,s)&&((i[C[s].name]&&i[C[s].name].length!==c.length||!C[s].preconvert)&&(i[C[s].name]&&i[C[s].name].forEach((function(t){o.splice(o.indexOf(t.itemId),1)})),c.forEach((function(r){Object.isFrozen(r)&&(r=l()(r));var n=R.nextId();r.pageId=e,r.itemId=n,o.push(n),t.dispatch("content/add",{contentType:C[s].name,contentData:r,freeze:!0})}))),delete n[s])}};for(var c in r)s(c);return n.content=o,n},F=function(t){t&&t.resourceProvider&&(N=t.resourceProvider),t&&t.contentIdProvider&&(0,a.m)(t.contentIdProvider.nextId)&&(R=t.contentIdProvider),U(),z()},U=function(){A.postMessage({action:"crossOrigin",data:(0,n.Z)().getCrossOrigin()}),A.postMessage({action:"setOrigin",data:window.location.href}),A.onmessage=function(t){if(t.data.action&&t.data.data)switch(t.data.action){case"load":L.dispatch("pages/resourceLoad",{resType:t.data.data.resType,url:t.data.data.url,pageID:t.data.data.pageID,thOnly:t.data.data.thOnly});break;case"error":L.dispatch("pages/resourceLoad",{resType:t.data.data.resType,url:t.data.data.url,pageID:t.data.data.pageID})}}},z=function(){k.postMessage({action:"setOrigin",data:window.location.href}),k.onmessage=function(t){if(t.data.action&&t.data.data&&"textData"===t.data.action){var e=t.data.data.pageId,r=t.data.data.isRtl,n=t.data.data.finalTree,o=t.data.data.isCrossWide,i=t.data.data.searchTextMap;L.commit("search/"+S.o6,{pageId:e,isCrossWide:o,isRtlSelection:r,finalTree:n,searchTextMap:i})}}},G=function(t){var e=t.getters["pager/resourcesForLoading"].slice(0),r={},n=[];for(var o in t.state.content.items)t.state.content.items.hasOwnProperty(o)&&(t.contentData[o]=t.state.content.items[o]);e.forEach((function(e){n=n.concat(t.state.pages[e].content)})),n.forEach((function(e){r[e]=t.contentData[e]})),t.dispatch("content/replace",{contentData:r,pagesArray:e,freeze:!0}),r=null,e=null,n=null},B=function(t){var e=t.pagesPriorityArray,r=t.reloadAll,i=t.dontLimitTextInfo,a=t.textInfoLimitArray;function u(t){L.commit("search/"+S.Eg,{pageIds:t}),k.postMessage({action:"stopPagesExcept",pageIds:t})}L.getters["search/isNormalizationInitialized"]&&(r&&u([]),i||u(a||e),e.forEach((function(t){if(N.getInfo(t).state===o.Z.READY&&!L.getters["search/isSelectTextInfoLoaded"](t)&&!L.getters["pages/pageProp"](t,"stub"))if(L.getters["pages/pageProp"](t,"hasNoText"))L.commit("search/"+S.o6,{pageId:t});else{var e=(0,n.Z)().translatePath("assets/search/search"+(0,f.qQ)(t)+".xml");L.getters["search/isNormalizePolyfillUsed"]?(0,E.Z)({url:e,responseType:"text",callback:function(r){var n=H(r);Z(t,e,n)},errorback:function(t){}}):Z(t,e)}})))},H=function(t){for(var e={},r=(0,h.E)(t),n=0,o=r.length;n1;e(o,r)}}),100),"workspace/UNSET_ANIMATION_PROGRESS"===n.type||"pages/SET_CURRENT_SIZE"===n.type||"pages/SET_DOWNLOAD_PROGRESS"===n.type){if(0===t.state.pages.size.width||null===t.state.pages.size.width)return;if("pages/SET_CURRENT_SIZE"===n.type&&o.workspace.animationInProgress)return;var i=t.state.pages.size.zoomFactor>1;e(o,i),"thumbnails"===t.state.sidebar.opened&&r(o)}if("thumbnails/MAX_RANGE"!==n.type&&"thumbnails/MIN_RANGE"!==n.type&&"thumbnails/CHANGE_RANGE"!==n.type||r(o),"thumbnails/ADD_QUEUE"===n.type&&(D(t,o,t.state.thumbnails.queue.slice(0),!0),t.dispatch("thumbnails/clearQueue")),"search/NORMALIZE_INITIALIZED"===n.type||"search/INDEX_LOADED"===n.type){var a=X(t,t.state.pages.size.zoomFactor>1),u="search/INDEX_LOADED"===n.type;B({pagesPriorityArray:a.slice(0),reloadAll:u})}"pages/SET_PAGE_INFO"===n.type&&(X(t).some((function(t){return t===n.payload.pageID}))&&B({pagesPriorityArray:[n.payload.pageID],reloadAll:!1,dontLimitTextInfo:!0}))}));var o=setInterval((function(){t.getters["pages/isFullyDownloaded"]?clearInterval(o):(0,E.Z)({url:(0,n.Z)().translatePath("assets/progress.json?rand="+(1e6*Math.random()).toFixed()),responseType:"json",callback:function(e){t.dispatch("pages/setDownloadProgress",e)}})}),2e3);document.addEventListener("visibilitychange",W)},V=function(){document.removeEventListener("visibilitychange",W)},W=function(){"visible"===document.visibilityState&&setTimeout((function(){if("visible"===document.visibilityState&&L.state.pages){var t=X(L,L.state.pages.size.zoomFactor>1);D(L,L.state,t.slice(0)),L.dispatch("workspace/changePolicyUpdated")}}),3e3)},X=function(t,e){return w(e?t.getters["pager/currentResourcesForLoading"].slice(0):t.getters["pager/resourcesForLoading"].slice(0))},K=function(t){return t.getters["pager/currentResourcesForLoading"].slice()}},7412:function(t,e,r){r.d(e,{Z:function(){return C},W:function(){return L}});var n=r(6142),o=r(1042),i=r(9364),a=r(90),u=r(9937),s=r(776),c=r(7476),l=r(5392);function f(t){var e=/url\(['"]?([^'"]+)['"]?\)/g.exec(t);return(0,l.k)(e)&&2===e.length?e[1]:null}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function d(){d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),u=new k(n||[]);return o(a,"_invoke",{value:x(t,r,u)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var g="suspendedStart",h="suspendedYield",v="executing",m="completed",y={};function b(){}function S(){}function E(){}var w={};c(w,a,(function(){return this}));var P=Object.getPrototypeOf,_=P&&P(P(N([])));_&&_!==r&&n.call(_,a)&&(w=_);var T=E.prototype=b.prototype=Object.create(w);function I(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,u){var s=f(t[o],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==p(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function x(e,r,n){var o=g;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var s=L(u,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===g)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=f(e,r,n);if("normal"===c.type){if(o=n.done?m:h,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function L(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,L(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function g(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(c){return void r(c)}u.done?e(s):Promise.resolve(s).then(n,o)}function h(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,u,"next",t)}function u(t){g(i,n,o,a,u,"throw",t)}a(void 0)}))}}var v,m,y=null,b={};function S(t){var e=parseInt(t[0]),r=parseInt(t[1]),n=parseInt(t[2]);return Math.round(299*e+587*r+114*n)/1e3>128?[0,0,0]:[255,255,255]}function E(t){return w.apply(this,arguments)}function w(){return(w=h(d().mark((function t(e){var r,n,o,i,u,s,c,l,p,g;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(0,a.l)(e["second-text-color"]).join(","),n=e["mobile-app-icon-color"]||e["second-text-color"],o=e["mobile-app-header-color"]||e["second-color"],i=e["mobile-app-header-text-color"]||e["second-text-color"],u=(0,a.l)(e["second-color"]).join(","),s=(0,a.l)(e["second-button-color"]).join(","),c=S((0,a.l)(e["second-button-color"])).join(","),l="rgba("+(0,a.l)(e["second-button-color"]).join(",")+",0.5)",p=e["background-image"],!(g=f(p))){t.next=16;break}return t.next=13,O("background-image",g);case 13:p=t.sent,t.next=17;break;case 16:p="none";case 17:"auto"===e["background-size"]?e["background-repeat"]="repeat":e["background-repeat"]="no-repeat",y=" \n#publication,\n.publication-container.mobile\n{\n background-color: ".concat(e["second-color"],";\n}\n\n.publication-container.mobile .main-frame\n{\n background-color: ").concat(e["second-color"],";\n \n background-image: ").concat(p,";\n background-position: ").concat(e["background-position"],";\n background-size: ").concat(e["background-size"],";\n background-repeat: ").concat(e["background-repeat"],";\n}\n\n.publication-container.mobile .banner-notice.inside,\n.publication-container.mobile .top-bar-mobile,\n.publication-container.mobile .bottom-bar-mobile {\n color: rgba(").concat(r,", .9);\n background-color: rgba(").concat(u,", .9);\n fill: rgba(").concat(r,", .9);\n border-color: ").concat(l," !important;\n}\n.publication-container.mobile .banner-notice .in-app-warn-icon{\n color: rgba(").concat(r,", .6);\n fill: rgba(").concat(r,", .6);\n}\n.publication-container.mobile .banner-notice.inside{\n border-bottom: 1px solid rgba(").concat(r,", .5) !important;\n}\n\n.publication-container.mobile .banner-notice.inside .notice-text {\n color: rgba(").concat(r,", .9);\n}\n\n.publication-container.mobile .banner-notice .notice-text .link{\n color: rgb(").concat(r,") !important;\n}\n\n.publication-container.mobile .banner-notice .notice-text\n{\n /*font-family: 'Open Sans', Helvetica, Arial, sans-serif;*/\n /*font-weight: 600;*/\n}\n.publication-container.mobile .tool-window\n{\n color: ").concat(e["second-text-color"],";\n background-color: ").concat(e["second-color"],";\n}\n\n.publication-container.mobile .tool-window .tool-title-frame .close-button svg\n{\n fill: ").concat(n,";\n}\n\n.publication-container.mobile .tool-title-frame\n{\n background-color: ").concat(o,";\n border-color: ").concat(l," !important;\n}\n\n.publication-container.mobile .tool-title\n{\n color: ").concat(i,";\n}\n\n.publication-container.mobile .bscroll-indicator\n{\n border-color: rgba(").concat(r,", .9)!important;\n background-color: rgba(255, 255, 255, .5) !important;\n}\n\n/* Search */\n\n.publication-container.mobile .search-input-block input\n{\n color: #596168;\n border: 1px solid rgba(").concat(r,", .2);\n background-color: #fff;\n}\n\n.search-input-block .filters-icon svg {\n fill: rgba(").concat(r,", .6);\n}\n\n.search-input-block .filters-icon.active {\n background: rgba(").concat(r,", .15);\n}\n\n.search-input-block .filters-icon.active svg {\n fill: ").concat(e["second-text-color"],";\n}\n\n.publication-container.mobile .search-input-block input::placeholder\n{\n color: #bababa;\n}\n\n.publication-container.mobile .search-input-block .search-icon,\n.publication-container.mobile .search-input-block .clear-icon\n{\n fill: #596168;\n}\n\n.publication-container.mobile li.search-item\n{\n border-top: 1px solid rgba(").concat(r,", .4);\n}\n\n.publication-container.mobile li.search-item:last-child\n{\n border-bottom: 1px solid rgba(").concat(r,", .4);\n}\n\n.publication-container.mobile .search-item-title\n{\n text-transform: none;\n\n color: ").concat(e["second-text-color"],";\n}\n\n.publication-container.mobile .search-item-p\n{\n color: ").concat(e["second-text-color"],";\n}\n\n.publication-container.mobile .search-item-more \n{\n color: rgba(").concat(r,", 0.7);\n}\n\n.publication-container.mobile .search-item-result b\n{\n font-weight: bold;\n}\n\n/* TOC */\n\n.publication-container.mobile li.toc-item\n{\n border-top: 1px solid rgba(").concat(r,", .2);\n}\n\n.publication-container.mobile .toc-items > li.toc-item:first-child\n{\n border-top: none;\n}\n\n.publication-container.mobile li.toc-item:last-child\n{\n border-top: 1px solid rgba(").concat(r,", .2);\n}\n\n.publication-container.mobile .list-item.toc-item-button svg.icon\n{\n fill: ").concat(e["second-text-color"],";\n}\n\n.publication-container.mobile .toc-item .page-label\n{\n color: rgba(").concat(r,", .6);\n}\n\n\n/* Thumbnails */\n\n.publication-container.mobile .th-spread-wrapper.double,\n.publication-container.mobile .th-spread-wrapper .th-item-wrapper:only-child,\n.publication-container.mobile .th-wrapper > .th-item-wrapper\n{\n outline: 1px solid rgba(").concat(r,", .20);\n}\n\n.publication-container.mobile .slide .th-spread-wrapper\n{\n outline: none;\n}\n\n.publication-container.mobile .th-spread-wrapper.double.active,\n.publication-container.mobile .th-spread-wrapper.active .th-item-wrapper:only-child .th-img-element,\n.th-item-wrapper.active .th-img-element\n{\n outline: #4A90E2 4px solid;\n}\n\n.publication-container.mobile .th-item-title\n{\n font-weight: 600;\n}\n\n/* Downloads */\n\n.publication-container.mobile .download-header\n{\n color: ").concat(e["second-text-color"],";\n border-color: ").concat(l," !important;\n}\n.publication-container.mobile .downloads {\n background-color: ").concat(e["second-color"],";\n}\n\n.publication-container.mobile .download-item .download-icon svg,\n.publication-container.mobile .download-header .arrow svg\n{\n fill: ").concat(e["second-text-color"],";\n}\n\n.publication-container.mobile li.download-item\n{\n border-top: 1px solid rgba(").concat(r,", .4);\n}\n\n.publication-container.mobile li.download-item a\n{\n text-decoration: none;\n color: ").concat(e["second-text-color"],";\n}\n\n.publication-container.mobile .download-size {\n color: rgba(").concat(r,", .6);\n}\n\n.publication-container.mobile .svg-logo\n{\n fill: ").concat(e["second-text-color"],";\n}\n\n.publication-container.mobile .page-progress-filler\n{\n background-color: ").concat(e["mobile-progress-color"],";\n}\n\n.publication-container .modal-notice {\n background-color: rgba(").concat(u,", .7);\n border: 3px solid rgba(").concat(r,", .2);\n color: ").concat(e["second-text-color"],";\n fill: rgba(").concat(r,", .8);\n}\n\n.publication-container .inapp-notice-button {\n background-color: rgba(").concat(s,", .8);\n border: 1px solid ").concat(l,";\n color: rgba(").concat(c,", .6);\n}\n\n.checkbox-body {\n border: 1px solid rgba(").concat(r,", .2) !important;\n background-color: #fff;\n}\n\n.checkbox-container .checkbox-body:after {\n border-color: #596168;\n}\n"),m.textContent=y;case 20:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var P=function(){var t=h(d().mark((function t(e,r){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.skin.initialized){t.next=2;break}return t.abrupt("return");case 2:if("html"!==e.info.version){t.next=6;break}(0,i.Z)((0,s.Z)().translatePath("skins/current/css/build.css"),(function(t){m=t,(0,o.Z)((0,s.Z)().translatePath("skins/current/templates.js"),(function(t){v=t,r.commit("skin/"+n.vG)}))})),t.next=12;break;case 6:return(m=document.createElement("style")).setAttribute("id","skin-style"),(0,c.V)()&&m.setAttribute("nonce",(0,c.V)()),document.getElementsByTagName("head")[0].appendChild(m),t.next=12,E(e.skin.styles);case 12:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),_=function(){var t=h(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.skin.initialized){t.next=2;break}return t.abrupt("return");case 2:t.t0=d().keys(e.skin.styles);case 3:if((t.t1=t.t0()).done){t.next=10;break}if(r=t.t1.value,!e.skin.styles.hasOwnProperty(r)){t.next=8;break}return t.next=8,T({param:r,value:e.skin.styles[r]},e);case 8:t.next=3;break;case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=h(d().mark((function t(e,r){var n,o,i,a,u;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.param,o=e.value,r.skin.templateLoaded){t.next=3;break}return t.abrupt("return");case 3:if("classes"!==n){t.next=5;break}return t.abrupt("return");case 5:if(i=function(t,e){var r=document.getElementsByTagName("head")[0],n=t+"-style",o=document.getElementById(n);o||((o=document.createElement("style")).id=n,(0,c.V)()&&o.setAttribute("nonce",(0,c.V)())),window.FBPublication.SKIN_TEMPLATES[t]&&(o.innerHTML=window.FBPublication.SKIN_TEMPLATES[t](e),r.appendChild(o))},"background-size"===n&&i("background-repeat","auto"===o?"repeat":"no-repeat"),!(a=f(o))){t.next=13;break}return t.next=11,O(n,a);case 11:u=t.sent,o=u;case 13:i(n,o);case 14:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),I=function(){var t=h(d().mark((function t(e,r){var n,o;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.param,o=e.value,r.skin.initialized){t.next=3;break}return t.abrupt("return");case 3:if("html"!==r.info.version){t.next=8;break}return t.next=6,T({param:n,value:o},r);case 6:t.next=10;break;case 8:return t.next=10,E(r.skin.styles);case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),O=function(){var t=h(d().mark((function t(e,r){var n,o;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x(r);case 2:return n=t.sent,b[e]&&URL.revokeObjectURL(b[e]),b[e]=n,o='url("'+n+'")',t.abrupt("return",o);case 7:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),x=function(t){return new Promise((function(e,r){(0,u.Z)({url:t,callback:function(t){e(t)},errorback:function(t){r(t)}})}))};function L(t){for(var e in v&&v.parentElement&&v.parentElement.removeChild(v),m&&m.parentElement&&m.parentElement.removeChild(m),t.state.skin.styles){var r=e+"-style",n=document.getElementById(r);n&&n.parentElement&&n.parentElement.removeChild(n)}}var C=function(t){t.subscribe(function(){var e=h(d().mark((function e(r,o){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=r.type,e.next=e.t0==="skin/"+n.qg?3:e.t0==="skin/"+n.vG?6:e.t0==="skin/"+n.kd?9:12;break;case 3:return e.next=5,P(o,t);case 5:case 8:case 11:return e.abrupt("break",12);case 6:return e.next=8,_(o);case 9:return e.next=11,I(r.payload,o);case 12:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}())}},90:function(t,e,r){function n(t){var e;return(e=t.match(/^#([0-9a-fA-F]{3})$/i))?(e=e[1],[17*parseInt(e.charAt(0),16),17*parseInt(e.charAt(1),16),17*parseInt(e.charAt(2),16)]):(e=t.match(/^#([0-9a-fA-F]{6})$/i))?(e=e[1],[parseInt(e.substr(0,2),16),parseInt(e.substr(2,2),16),parseInt(e.substr(4,2),16)]):-1!==t.indexOf("rgb")&&(e=t.match(/\d+(\.\d+)?%?/g))?e.map((function(t){return 1*t})):[0,0,0]}function o(t){var e=299,r=667,n=114;return(t[0]*e+t[1]*r+t[2]*n)/(e+r+n)/255}r.d(e,{R:function(){return o},l:function(){return n}})},9937:function(t,e,r){r.d(e,{Z:function(){return i}});var n=r(776),o=r(710);function i(t){var e=t.url,r=t.crossOrigin,i=t.translateUrl,a=void 0===i||i,u=t.autofillCrossOrigin,s=void 0===u||u,c=t.callback,l=t.errorback,f={};s&&(r=(0,n.Z)().getCrossOrigin()),r&&(f["Access-Control-Allow-Origin"]=r),a&&(e=(0,n.Z)().translatePath(e)),(0,o.Z)({url:e,responseType:"blob",callback:function(t){var e=t.response,r=window.URL.createObjectURL(e);c(r)},errorback:l})}},2918:function(t,e,r){r.d(e,{Tj:function(){return n},hl:function(){return o},lx:function(){return i}});var n=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n={};return t.width/t.height>e.width/e.height?(n.width=e.width,n.height=t.height*(e.width/t.width)):(n.width=t.width*(e.height/t.height),n.height=e.height),r&&(n.width>t.width||n.height>t.height)?{width:t.width,height:t.height,top:(e.height-t.height)/2,left:(e.width-t.width)/2}:(n.top=(e.height-n.height)/2,n.left=(e.width-n.width)/2,n)},o=function(t,e){var r={};return t.width/t.height>e.width/e.height?(r.height=e.height,r.width=t.width*(e.height/t.height)):(r.height=t.height*(e.width/t.width),r.width=e.width),r},i=function(t){var e=t.rect,r=t.bounds,o=n(e,r);return o.width/r.width<.99||o.height/r.height<.99}},4618:function(t,e,r){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r=0)return!0;return!1};(0,n.mf)(e)&&(u=setInterval((function(){s2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3?arguments[3]:void 0;o=o||e.length;for(var i=10,a=e.substr(r,o),u=t.length/e.length,s=Math.floor(u*r-5*e.length/100),c=Math.max(s-i,0),l=t.substr(c,o+2*i),f=n.Z.normalize(l,!0),p=f.indexOf(a);p<0;)if(c+=i,l=t.substr(c,o+2*i),p=(f=n.Z.normalize(l,!0)).indexOf(a),c>=t.length&&(c=0,l=t,(p=(f=n.Z.normalize(l,!0)).indexOf(a))<0))return;for(var d={},g=c,h=0,v=0,m=f.length;v