{"version":3,"sources":["jquery.documentsize.js"],"names":["$","getWindowSize","dimension","config","ddeClientHeight","visualSize","zoomFactor","snapToKnownHeight","lBound","uBound","_window","window","scrollbarsConsumeSpace","browserScrollbarWidth","getLayoutViewportWidth","useLayoutViewport","useClientSize","supportsWindowInnerWidth","size","document","documentElement","getWindowInnerSize","getPinchZoomFactor","asRange","Math","round","calculated","supportsSubpixelAccuracy","clientHeight","min","max","options","ddeClientWidth","windowInnerWidth","factors","skip","clientWidth","getWindowInnerWidth","getWindowQueryConfig","args","isWindowArg0","isOptionArg0","isOptionArg1","_useVisualViewport","length","Array","prototype","slice","call","isWindow","castStringToViewportOption","viewport","isVisualViewport","useVisualViewport","name","isString","toLowerCase","Error","arg","undefined","_supportsWindowInnerWidth","testEl","_scrollbarWidth","createElement","style","cssText","body","appendChild","offsetWidth","removeChild","testDocumentScroll","initialDocumentState","_testEl","initialScrollWidth","responds","iframe","createTestIframe","_document","contentDocument","_body","inIframe","prepareGlobalDocument","scrollWidth","restoreGlobalDocument","elementNameForDocSizeQuery","frameborder","src","write","ddEStyle","bodyStyle","ddE","ddEComputedStyles","useGetComputedStyle","getComputedStyle","currentStyle","bodyComputedStyles","ddEOverflowX","overflowX","overflow","bodyOverflowX","modifyBody","modifyDocumentElement","initialState","modified","styleOverflowX","previousState","guessDocumentSize","checkForFractions","sizeMeasurement","_supportsSubpixelAccuracy","isFloat","value","Object","toString","num","getIEVersion","userAgent","userAgentTestRx","ieVersion","navigator","appName","RegExp","exec","parseFloat","$1","isAncientIE","isIE9","documentWidth","width","e","documentHeight","height","scrollHeight","windowWidth","arguments","windowHeight","pinchZoomFactor","scrollbarWidth","jQuery","Zepto"],"mappings":";;;;;;CAKG,SAAWA,GACV,YAwIA,SAASC,GAAgBC,EAAWC,GAChC,GAAIC,GAAiBC,EAAYC,EAAYC,EAAmBC,EAAQC,EACpEC,EAAUP,EAAOQ,OAEjBC,EAAqD,IAA5BC,IACzBC,EAAyBX,EAAOY,mBAAmC,UAAd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