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
34 KiB

{"version":3,"sources":["../../src/bootstrap/modal.js"],"names":["DATA_KEY","EVENT_KEY","JQUERY_NO_CONFLICT","$","fn","ESCAPE_KEYCODE","Default","backdrop","keyboard","focus","show","DefaultType","EVENT_HIDE","EVENT_HIDE_PREVENTED","EVENT_HIDDEN","EVENT_SHOW","EVENT_SHOWN","EVENT_FOCUSIN","EVENT_RESIZE","EVENT_CLICK_DISMISS","EVENT_KEYDOWN_DISMISS","EVENT_MOUSEUP_DISMISS","EVENT_MOUSEDOWN_DISMISS","EVENT_CLICK_DATA_API","CLASS_NAME_OPEN","CLASS_NAME_FADE","CLASS_NAME_SHOW","CLASS_NAME_STATIC","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","Modal","element","config","_config","_getConfig","_element","_dialog","querySelector","_backdrop","_isShown","_isBodyOverflowing","_ignoreBackdropClick","_isTransitioning","_scrollbarWidth","relatedTarget","hide","hasClass","showEvent","Event","trigger","isDefaultPrevented","_checkScrollbar","_setScrollbar","_adjustDialog","_setEscapeEvent","_setResizeEvent","on","event","one","target","is","_showBackdrop","_showElement","preventDefault","hideEvent","transition","document","off","removeClass","transitionDuration","Util","getTransitionDurationFromElement","TRANSITION_END","_hideModal","emulateTransitionEnd","window","forEach","htmlElement","removeData","typeCheckConfig","hideEventPrevented","isModalOverflowing","scrollHeight","documentElement","clientHeight","style","overflowY","classList","add","modalTransitionDuration","remove","modalBody","parentNode","nodeType","Node","ELEMENT_NODE","body","appendChild","display","removeAttribute","setAttribute","scrollTop","reflow","addClass","_enforceFocus","shownEvent","transitionComplete","has","length","which","_triggerBackdropTransition","handleUpdate","_resetAdjustments","_resetScrollbar","callback","animate","createElement","className","appendTo","currentTarget","backdropTransitionDuration","callbackRemove","_removeBackdrop","paddingLeft","paddingRight","rect","getBoundingClientRect","Math","round","left","right","innerWidth","_getScrollbarWidth","fixedContent","slice","call","querySelectorAll","stickyContent","each","index","actualPadding","calculatedPadding","css","data","parseFloat","actualMargin","marginRight","calculatedMargin","padding","elements","margin","scrollDiv","scrollbarWidth","width","clientWidth","removeChild","TypeError","selector","getSelectorFromElement","tagName","$target","_jQueryInterface","Constructor","noConflict"],"mappings":"mKAOA,OACA,O,60CAUMA,CAAAA,CAAQ,CAAG,U,CACXC,CAAS,YAAOD,CAAP,C,CAETE,CAAkB,CAAGC,UAAEC,EAAF,M,CACrBC,CAAc,CAAG,E,CAEjBC,CAAO,CAAG,CACdC,QAAQ,GADM,CAEdC,QAAQ,GAFM,CAGdC,KAAK,GAHS,CAIdC,IAAI,GAJU,C,CAOVC,CAAW,CAAG,CAClBJ,QAAQ,CAAE,kBADQ,CAElBC,QAAQ,CAAE,SAFQ,CAGlBC,KAAK,CAAE,SAHW,CAIlBC,IAAI,CAAE,SAJY,C,CAOdE,CAAU,eAAUX,CAAV,C,CACVY,CAAoB,wBAAmBZ,CAAnB,C,CACpBa,CAAY,iBAAYb,CAAZ,C,CACZc,CAAU,eAAUd,CAAV,C,CACVe,CAAW,gBAAWf,CAAX,C,CACXgB,CAAa,kBAAahB,CAAb,C,CACbiB,CAAY,iBAAYjB,CAAZ,C,CACZkB,CAAmB,wBAAmBlB,CAAnB,C,CACnBmB,CAAqB,0BAAqBnB,CAArB,C,CACrBoB,CAAqB,0BAAqBpB,CAArB,C,CACrBqB,CAAuB,4BAAuBrB,CAAvB,C,CACvBsB,CAAoB,gBAAWtB,CAAX,SA7BL,WA6BK,C,CAKpBuB,CAAe,CAAG,Y,CAClBC,CAAe,CAAG,M,CAClBC,CAAe,CAAG,M,CAClBC,CAAiB,CAAG,c,CAMpBC,CAAsB,CAAG,mD,CACzBC,CAAuB,CAAG,a,CAQ1BC,C,YACJ,WAAYC,CAAZ,CAAqBC,CAArB,CAA6B,WAC3B,KAAKC,OAAL,CAAe,KAAKC,UAAL,CAAgBF,CAAhB,CAAf,CACA,KAAKG,QAAL,CAAgBJ,CAAhB,CACA,KAA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