1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="21384d87-eeed-4cc1-b5b0-9fadbff43167",e._sentryDebugIdIdentifier="sentry-dbid-21384d87-eeed-4cc1-b5b0-9fadbff43167")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9037],{9242:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var r=t(48571),l=t(38113),i=t(60014),c=t.n(i),u=t(74816),s=t(21083),o=t(67108),f=t(33725);let a=function(e,n){var t=n||{},i=t.onExit,a=t.onEnter,d=t.pageFullscreen,b=void 0!==d&&d,h=(0,f.Lm)(b)||!b?{}:b,m=h.className,g=void 0===m?"ahooks-page-fullscreen":m,E=h.zIndex,w=void 0===E?999999:E,v=(0,u.A)(i),F=(0,u.A)(a),p=(0,r.__read)((0,l.useState)(S),2),k=p[0],x=p[1],y=(0,l.useRef)(S());function S(){return c().isEnabled&&!!c().element&&c().element===(0,o.e)(e)}var _=function(e){var n,t;e?null==(n=F.current)||n.call(F):null==(t=v.current)||t.call(v)},q=function(e){y.current!==e&&(_(e),x(e),y.current=e)},C=function(){q(S())},z=function(n){var t=(0,o.e)(e);if(t){var r=document.getElementById(g);n?(t.classList.add(g),r||((r=document.createElement("style")).setAttribute("id",g),r.textContent="\n .".concat(g," {\n position: fixed; left: 0; top: 0; right: 0; bottom: 0;\n width: 100% !important; height: 100% !important;\n z-index: ").concat(w,";\n }"),t.appendChild(r))):(t.classList.remove(g),r&&r.remove()),q(n)}},A=function(){var n=(0,o.e)(e);if(n){if(b)return void z(!0);if(c().isEnabled)try{c().request(n)}catch(e){console.error(e)}}},I=function(){var n=(0,o.e)(e);if(n){if(b)return void z(!1);c().isEnabled&&c().element===n&&c().exit()}};return(0,l.useEffect)(function(){if(c().isEnabled&&!b)return c().on("change",C),function(){c().off("change",C)}},[]),[k,{enterFullscreen:(0,s.A)(A),exitFullscreen:(0,s.A)(I),toggleFullscreen:(0,s.A)(function(){k?I():A()}),isEnabled:c().isEnabled}]}},60014:e=>{!function(){"use strict";var n="undefined"!=typeof window&&void 0!==window.document?window.document:{},t=e.exports,r=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,l=t.length,i={};r<l;r++)if((e=t[r])&&e[1]in n){for(r=0;r<e.length;r++)i[t[0][r]]=e[r];return i}return!1}(),l={change:r.fullscreenchange,error:r.fullscreenerror},i={request:function(e,t){return new Promise((function(l,i){var c=(function(){this.off("change",c),l()}).bind(this);this.on("change",c);var u=(e=e||n.documentElement)[r.requestFullscreen](t);u instanceof Promise&&u.then(c).catch(i)}).bind(this))},exit:function(){return new Promise((function(e,t){if(!this.isFullscreen)return void e();var l=(function(){this.off("change",l),e()}).bind(this);this.on("change",l);var i=n[r.exitFullscreen]();i instanceof Promise&&i.then(l).catch(t)}).bind(this))},toggle:function(e,n){return this.isFullscreen?this.exit():this.request(e,n)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,t){var r=l[e];r&&n.addEventListener(r,t,!1)},off:function(e,t){var r=l[e];r&&n.removeEventListener(r,t,!1)},raw:r};if(!r)return t?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1};Object.defineProperties(i,{isFullscreen:{get:function(){return!!n[r.fullscreenElement]}},element:{enumerable:!0,get:function(){return n[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!n[r.fullscreenEnabled]}}}),t?e.exports=i:window.screenfull=i}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.