PageSourceSearch

https://www.theglobeandmail.com/pf/dist/components/combinations/SlidingModal.chunk.js?d=961&mxId=00000000

js theglobeandmail.com collected 2026-09-24 06:43:05 UTC 1,797 bytes, 1 lines download raw bytes

1"use strict";(this.webpackChunkFusion_components=this.webpackChunkFusion_components||[]).push([[4678],{17030:function(e,l,s){s.r(l);var a=s(40809),o=s(81862),n=s.n(o),i=s(78299),t=s(40761),d=s(85349);const c="#fusion-app";function m(){document.querySelector(c).removeAttribute("inert")}function r({ariaLabel:e,children:l,heading:s="",id:o,isOpen:r,onAfterClose:u,onAfterOpen:g,onRequestClose:_}){const b=(0,a.useRef)(void 0),h=(0,a.useCallback)(()=>{document.querySelector(c).setAttribute("inert",""),b?.current?.focus(),(0,t.Ak)(g)},[g]),p=(0,a.useCallback)(()=>{m(),(0,t.Ak)(_)},[_]),C=(0,a.useCallback)(()=>{m(),(0,t.Ak)(u)},[u]);return(0,d.jsx)(n(),{bodyOpenClassName:"u-no-scroll",className:"tgam-sliding-modal__content",closeTimeoutMS:300,contentLabel:e,id:o,isOpen:r,onAfterClose:C,onAfterOpen:h,onRequestClose:p,overlayClassName:{base:"tgam-sliding-modal__overlay",afterOpen:"tgam-sliding-modal__overlay--open",beforeClose:"tgam-sliding-modal__overlay--close"},portalClassName:"tgam-sliding-modal__portal",shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,children:(0,d.jsx)("div",{className:"tgam-sliding-modal__body",children:(0,d.jsxs)("div",{className:"tgam-sliding-modal__body-content",children:[(0,d.jsxs)("div",{className:"tgam-sliding-modal__body-header",children:[s&&(0,d.jsx)("h2",{className:"tgam-sliding-modal__body-heading text-gmb-4",children:s}),(0,d.jsx)(i.Ay,{reference:b,"aria-label":"Close",className:"tgam-sliding-modal__close-button",icon:"close",onClick:p,analytics:{fid:"tgam-sliding-modal",action:"close modal"}})]}),(0,d.jsx)("div",{className:"tgam-sliding-modal__body-scroll-area",children:l}),s&&(0,d.jsx)("div",{className:"tgam-sliding-modal__body-footer"})]})})})}n().setAppElement(c),r.displayName="SlidingModal",l.default=r}}]);

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.