halcss.js 932 B

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. define([],function(){"use strict";var _t0d ={_url:new Map(),_j19:new Map()};_t0d._3i6=function(_38m){this._url.get(_38m).resolve(true);var _j8i=this._j19.get(_38m);_j8i.forEach(function(_m0l){ _m0l(); });_j8i.length=0;};_t0d.load=function(_38m,_wtj,_m0l,_85m){var _0um=this._url.get(_38m);if(_0um){if(_0um.promise.isPending()){this._j19.get(_38m).push(_m0l);return;}setTimeout(_m0l, 0);return;}this._j19.set(_38m, [_m0l]);this._url.set(_38m, Q.defer());var i=_38m.indexOf("/");var _m8m=(i==-1)?null:_38m.substring(0, i);var _gqf=new Map();_gqf.set(_38m, { preprocessor:(_o7g._60n&&_m8m)?_9l8._a52.bind(null, _m8m):null });Q.all(_9l8._ms9(_gqf)).done(this._3i6.bind(this, _38m));};return _t0d;});