You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
17 KiB

{"version":3,"sources":["../../src/bootstrap/scrollspy.js"],"names":["DATA_KEY","EVENT_KEY","JQUERY_NO_CONFLICT","$","fn","Default","offset","method","target","DefaultType","EVENT_ACTIVATE","EVENT_SCROLL","EVENT_LOAD_DATA_API","CLASS_NAME_ACTIVE","SELECTOR_NAV_LIST_GROUP","SELECTOR_NAV_LINKS","SELECTOR_LIST_ITEMS","METHOD_POSITION","ScrollSpy","element","config","_element","_scrollElement","tagName","window","_config","_getConfig","_selector","_offsets","_targets","_activeTarget","_scrollHeight","on","event","_process","refresh","autoMethod","offsetMethod","offsetBase","_getScrollTop","_getScrollHeight","targets","slice","call","document","querySelectorAll","map","targetSelector","Util","getSelectorFromElement","querySelector","targetBCR","getBoundingClientRect","width","height","top","filter","item","sort","a","b","forEach","push","removeData","off","isElement","id","attr","getUID","typeCheckConfig","pageYOffset","scrollTop","scrollHeight","Math","max","body","documentElement","innerHeight","maxScroll","_getOffsetHeight","length","_activate","_clear","i","isActiveTarget","queries","split","selector","$link","join","hasClass","closest","find","addClass","parents","prev","children","trigger","relatedTarget","node","classList","contains","remove","each","data","TypeError","scrollSpys","scrollSpysLength","$spy","_jQueryInterface","Constructor","noConflict"],"mappings":"uKAOA,OACA,O,60CAUMA,CAAAA,CAAQ,CAAG,c,CACXC,CAAS,YAAOD,CAAP,C,CAETE,CAAkB,CAAGC,UAAEC,EAAF,U,CAErBC,CAAO,CAAG,CACdC,MAAM,CAAE,EADM,CAEdC,MAAM,CAAE,MAFM,CAGdC,MAAM,CAAE,EAHM,C,CAMVC,CAAW,CAAG,CAClBH,MAAM,CAAE,QADU,CAElBC,MAAM,CAAE,QAFU,CAGlBC,MAAM,CAAE,kBAHU,C,CAMdE,CAAc,mBAAcT,CAAd,C,CACdU,CAAY,iBAAYV,CAAZ,C,CACZW,CAAmB,eAAUX,CAAV,SAjBJ,WAiBI,C,CAGnBY,CAAiB,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