{"version":3,"file":"angular-block-ui.min.js","sources":["angular-block-ui.js"],"names":["angular","blkUI","module","config","$provide","$httpProvider","decorator","$delegate","$injector","blockUI","blockUIConfig","exception","cause","get","resetOnException","instances","reset","ex","console","log","interceptors","push","run","$document","$templateCache","autoInjectBodyBlock","find","attr","template","templateUrl","put","directive","blockUiContainerLinkFn","scope","restrict","compile","factory","$scope","$element","srvInstance","inheritedData","Error","state","blockUiCompileFn","blockUiPreLinkFn","append","pre","blockUIUtils","$attrs","hasClass","addClass","cssClass","$observe","value","$_blockUiMessageClass","instanceId","blockUi","$id","preventRouting","fn","$on","event","blockCount","preventDefault","parentInstance","_parent","release","addRef","$_blockUiState","$watch","toggleClass","pattern","blockUiPattern","regExp","buildRegExp","data","constant","delay","message","autoBlock","requestFilter","noop","$q","injectBlockUI","stopBlockUI","$_noBlock","$_blocks","stop","error","rejection","reject","request","method","url","result","locate","start","requestError","response","responseError","$timeout","BlockUI","id","startPromise","self","this","blocking","doneCallbacks","_id","_refs","$ae","element","activeElement","length","isElementInBlockScope","_restoreFocus","blur","_cancelStartTimeout","cancel","Math","max","regexp","undefined","_pattern","executeCallbacks","$body","focus","forEach","cb","done","mainBlock","_destroy","isNaN","instance","idOrInstance","isString","i","indexOf","splice","forEachFnHook","test","$","utils","match","RegExp","forEachFn","arr","fnName","args","t","apply","arguments","blockScope","c","findElement","predicateFn","traverse","ret","$elements","parent","children","obj","j"],"mappings":";;;;;CAKA,SAAUA,GAEV,GAAIC,GAAQD,EAAQE,OAAO,aAE3BD,GAAME,QAAQ,WAAY,gBAAiB,SAASC,EAAUC,GAE5DD,EAASE,UAAU,qBAAsB,YAAa,YACpD,SAASC,EAAWC,GAClB,GAAIC,GAASC,CAEb,OAAO,UAASC,EAAWC,GAIzB,GAFAF,EAAgBA,GAAiBF,EAAUK,IAAI,iBAE3CH,EAAcI,iBAChB,IACEL,EAAUA,GAAWD,EAAUK,IAAI,WACnCJ,EAAQM,UAAUC,QAClB,MAAMC,GACNC,QAA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