1import{ac as x}from"./Cg-zHmQB.js";import{c as m}from"./TDtrdbi3.js";function v(a,d){for(var u=0;u<d.length;u++){const r=d[u];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in a)){const t=Object.getOwnPropertyDescriptor(r,n);t&&Object.defineProperty(a,n,t.get?t:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};var b;function y(){return b||(b=1,(function(a,d){(function(u){a.exports=u()})(function(){return(function(){function u(r,n,t){function c(e,o){if(!n[e]){if(!r[e]){var i=typeof m=="function"&&m;if(!o&&i)return i(e,!0);if(s)return s(e,!0);var f=new Error("Cannot find module '"+e+"'");throw f.code="MODULE_NOT_FOUND",f}var g=n[e]={exports:{}};r[e][0].call(g.exports,function(F){return c(r[e][1][F]||F)},g,g.exports,u,r,n,t)}return n[e].exports}for(var s=typeof m=="function"&&m,l=0;l<t.length;l++)c(t[l]);return c}return u})()({1:[function(u,r,n){(function(t,c){if(n!==void 0)c();else{var s={exports:{}};c(),t.lgFullscreen=s.exports}})(this,function(){function t(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement}var c=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&(e[f]=i[f])}return e},s={fullScreen:!0},l=function(o){return this.el=o,this.core=window.lgData[this.el.getAttribute("lg-uid")],this.core.s=c({},s,this.core.s),this.init(),this};l.prototype.init=function(){var e="";if(this.core.s.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;e='<button aria-label="Toggle fullscreen" class="lg-fullscreen lg-icon"></button>',this.core.outer.querySelector(".lg-toolbar").insertAdjacentHTML("beforeend",e),this.fullScreen()}},l.prototype.requestFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},l.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},l.prototype.fullScreen=function(){var e=this;utils.on(document,"fullscreenchange.lgfullscreen webkitfullscreenchange.lgfullscreen mozfullscreenchange.lgfullscreen MSFullscreenChange.lgfullscreen",function(){utils.hasClass(e.core.outer,"lg-fullscreen-on")?utils.removeClass(e.core.outer,"lg-fullscreen-on"):utils.addClass(e.core.outer,"lg-fullscreen-on")}),utils.on(this.core.outer.querySelector(".lg-fullscreen"),"click.lg",function(){t()?e.exitFullscreen():e.requestFullscreen()})},l.prototype.destroy=function(){t()&&this.exitFullscreen(),utils.off(document,".lgfullscreen")},window.lgModules.fullscreen=l})},{}]},{},[1])(1)})})(p)),p.exports}var h=y();const E=x(h),S=v({__proto__:null,default:E},[h]);export{S as l};
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.