Returns the name of the correct transform property to use on the current browser.
@param {!Window} globalObj
@param {boolean=} forceRefresh
@return {string}
177969
function getTransformPropertyName(globalObj, forceRefresh = false) {
  if (storedTransformPropertyName_ === undefined || forceRefresh) {
    const el = globalObj.document.createElement('div');
    const transformPropertyName = ('transform' in el.style ? 'transform' : 'webkitTransform');
    storedTransformPropertyName_ = transformPropertyName;
  }

  return storedTransformPropertyName_;
}
639758
function ( force ) {

        if( this.isReset ) return;

        this.mouse.neg();
        this.isDown = false;

        Roots.clearInput();
        var r = this.mode('def');
        var r2 = this.clearTarget();

        if( r || r2 ) this.draw( true );

        this.isReset = true;

        //Roots.lock = false;

    }
1081809
static BindTransform getUtilTransform(TypeName type) {
		String typeName = type.toString();

		// Integer.class.getCanonicalName().equals(typeName)
		if (Date.class.getCanonicalName().equals(typeName)) {
			return new DateBindTransform();
		}
		if (Locale.class.getCanonicalName().equals(typeName)) {
			return new LocaleBindTransform();
		}
		if (Currency.class.getCanonicalName().equals(typeName)) {
			return new CurrencyBindTransform();
		}
		if (Calendar.class.getCanonicalName().equals(typeName)) {
			return new CalendarBindTransform();
		}
		if (TimeZone.class.getCanonicalName().equals(typeName)) {
			return new TimeZoneBindTransform();
		}
		return null;
	}
329321
public function getData ($forceRefresh = false) {
        if ($forceRefresh || $this->_data === null) {
            $this->_data = $this->getConnection ()->getSlave ()->zrange ($this->name , 0 , -1 , true);
        }
        return $this->_data;
    }
1115357
function (renderable) {
                if (!renderable) {
                    throw new ArgumentError(
                        Logger.logMessage(Logger.LEVEL_SEVERE, "GeoJSONExporter", "exportRenderable",
                            "missingRenderable"));
                }

                if (renderable instanceof WorldWind.Placemark) {
                    return this.exportPlacemark(renderable);
                }
                else if (renderable instanceof WorldWind.SurfacePolyline) {
                    return this.exportSurfacePolyline(renderable);
                }
                else if (renderable instanceof WorldWind.SurfacePolygon) {
                    return this.exportSurfacePolygon(renderable);
                }
                else if (renderable instanceof WorldWind.SurfaceEllipse) {
                    return this.exportSurfaceEllipse(renderable);
                }
                else if (renderable instanceof WorldWind.SurfaceCircle) {
                    return this.exportSurfaceCircle(renderable);
                }
                else if (renderable instanceof WorldWind.SurfaceRectangle) {
                    return this.exportSurfaceRectangle(renderable);
                }
                else if (renderable instanceof WorldWind.SurfaceSector) {
                    return this.exportSurfaceSector(renderable);
                }
                else if (renderable instanceof WorldWind.Path) {
                    return this.exportPath(renderable);
                }
                else if (renderable instanceof WorldWind.Polygon) {
                    return this.exportPolygon(renderable);
                }
                else {
                    Logger.log(Logger.LEVEL_WARNING, "Export renderable not implemented: " + renderable);
                    return null;
                }
            }
1135747
function _synchronizePaneSize(pane, forceRefresh) {
        var available;

        if (_orientation === VERTICAL) {
            available = _$el.innerWidth();
        } else {
            available = _$el.innerHeight();
        }

        // Update the pane's sizer element if it has one and update the max size
        Resizer.resyncSizer(pane.$el);
        pane.$el.data("maxsize", available - MIN_PANE_SIZE);
        pane.updateLayout(forceRefresh);
    }
969317
function nodeJsGlobalResolverFn(normalizedId) {
		var globalId = normalizedId.id;
		var x = global[globalId];
		if (!x) {
			var msg = 'Could not find global Node module [' + globalId + ']';
			throw new Error(buildMissingDepMsg(msg, globalId, Object.keys(global)));
		}
		return x;
	}
149385
public function getToken($forceRefresh = false)
    {
        $cacheKey = [__CLASS__, 'appId' => Yii::$app->wechat->appId];
        if ($forceRefresh || ($accessToken = Yii::$app->wechat->cache->get($cacheKey)) === false) {
            $token = $this->getTokenFromServer();
            Yii::$app->wechat->cache->set($cacheKey, $token[$this->tokenJsonKey], $token['expires_in'] - 1500);
            return $token[$this->tokenJsonKey];
        }
        return $accessToken;
    }
122239
function(objRef,propName, value)
    {
        if (FABridge.refCount > 0)
        {
            throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.");
        }
        else
        {
            FABridge.refCount++;
            retVal = this.target.setPropInAS(objRef,propName, this.serialize(value));
            retVal = this.handleError(retVal);
            FABridge.refCount--;
            return retVal;
        }
    }
66506
public static function classNameForApplicablePropertyModelId($id, $forceRefresh = false)
    {
        self::retrieveApplicablePropertyModels($forceRefresh);
        return array_search($id, self::$applicablePropertyModels, true);
    }
207728
private static function retrieveApplicablePropertyModels($forceRefresh = false)
    {
        if ($forceRefresh === true) {
            Yii::$app->cache->delete('ApplicablePropertyModels');
            static::$applicablePropertyModels = null;
        }
        if (static::$applicablePropertyModels === null) {
            /** @var LazyCache $cache */
            $cache = Yii::$app->cache;
            static::$applicablePropertyModels = $cache->lazy(
                function () {
                    $query = new Query();
                    $rows = $query
                        ->select(['id', 'class_name'])
                        ->from(ApplicablePropertyModels::tableName())
                        ->all();

                    array_walk(
                        $rows,
                        function (&$item) {
                            $item['id'] = (int) $item['id'];
                        }
                    );
                    return ArrayHelper::map(
                        $rows,
                        'class_name',
                        'id'
                    );
                },
                'ApplicablePropertyModels',
                86400
            );
        }
        return static::$applicablePropertyModels;
    }
730530
function transform(transform, flush) {
  const stream = new Transform({ objectMode: true });
  stream._transform = transform;
  if (typeof flush === 'function') {
    stream._flush = flush;
  }
  return stream;
}
728164
function refreshResizers() {
        attrIndex = {};
        refreshWriteQueue = [];// List of writes to do
        var key, fn, nodeDependent, value;

        // Set readers list => Trigger the "Forced synchronous layout"
        for (var idx = 0, nb = rootListener.length; idx < nb; idx++) {
            var resizer = rootListener[idx];

            // Set scoped variables
            for (var varIdx = 0, varNb = resizer.scopeVars.length; varIdx < varNb; varIdx++) {
                key = resizer.scopeVars[varIdx].key;
                fn = resizer.scopeVars[varIdx].fn;
                nodeDependent = resizer.scopeVars[varIdx].nodeDependent;
                //this.scope[key] = 0;
                value = fn(resizer.scope, {});
                setVar(resizer, key, value);
            }
            // Set css attributes
            for (var cssIdx = 0, cssNb = resizer.cssKeys.length; cssIdx < cssNb; cssIdx++) {
                key = resizer.cssKeys[cssIdx].key;
                fn = resizer.cssKeys[cssIdx].fn;
                nodeDependent = resizer.cssKeys[cssIdx].nodeDependent;
                value = fn(resizer.scope, {});
                switch (key) {
                    case 'top':
                        //console.log('@'+resizer.name+'.clientTop = ' + value);
                        if (a4p.isDefined(listenersIndex[resizer.name]) && (listenersIndex[resizer.name].id == resizer.id)) {
                            attrIndex['@' + resizer.name + '.clientTop'] = value;
                            attrIndex['@' + resizer.name + '.offsetTop'] = value;
                        }
                        attrIndex['@' + resizer.id + '.clientTop'] = value;
                        attrIndex['@' + resizer.id + '.offsetTop'] = value;
                        break;
                    case 'left':
                        //console.log('@'+resizer.name+'.clientLeft = ' + value);
                        if (a4p.isDefined(listenersIndex[resizer.name]) && (listenersIndex[resizer.name].id == resizer.id)) {
                            attrIndex['@' + resizer.name + '.clientLeft'] = value;
                            attrIndex['@' + resizer.name + '.offsetLeft'] = value;
                        }
                        attrIndex['@' + resizer.id + '.clientLeft'] = value;
                        attrIndex['@' + resizer.id + '.offsetLeft'] = value;
                        break;
                    case 'width':
                        //console.log('@'+resizer.name+'.clientWidth = ' + value);
                        if (a4p.isDefined(listenersIndex[resizer.name]) && (listenersIndex[resizer.name].id == resizer.id)) {
                            attrIndex['@' + resizer.name + '.clientWidth'] = value;
                            attrIndex['@' + resizer.name + '.offsetWidth'] = value;
                        }
                        attrIndex['@' + resizer.id + '.clientWidth'] = value;
                        attrIndex['@' + resizer.id + '.offsetWidth'] = value;
                        break;
                    case 'height':
                        //console.log('@'+resizer.name+'.clientHeight = ' + value);
                        if (a4p.isDefined(listenersIndex[resizer.name]) && (listenersIndex[resizer.name].id == resizer.id)) {
                            attrIndex['@' + resizer.name + '.clientHeight'] = value;
                            attrIndex['@' + resizer.name + '.offsetHeight'] = value;
                        }
                        attrIndex['@' + resizer.id + '.clientHeight'] = value;
                        attrIndex['@' + resizer.id + '.offsetHeight'] = value;
                        break;
                    case 'minHeight':
                        break;
                    case 'minWidth':
                        break;
                    case 'lineHeight':
                        break;
                }

                //console.log('refreshWriteQueue + :'+resizer.name+' '+key+' '+value);
                refreshWriteQueue.push({
                    resizer: resizer,
                    cssAttr: key,
                    value: value,
                    nodeDependent: nodeDependent
                });
            }
        }

        // Exec writers list
        for (var jobIdx = 0, jobNb = refreshWriteQueue.length; jobIdx < jobNb; jobIdx++) {
            var job = refreshWriteQueue[jobIdx];
            setCss(job.resizer, job.cssAttr, '' + job.value + 'px');
        }

        if (rootScope) a4p.safeApply(rootScope);
    }
361521
function detectTransformProperty() {
            var transformProperty = 'transform',
                safariPropertyHack = 'webkitTransform';
            if (typeof document.body.style[transformProperty] !== 'undefined') {

                ['webkit', 'moz', 'o', 'ms'].every(function (prefix) {
                    var e = '-' + prefix + '-transform';
                    if (typeof document.body.style[e] !== 'undefined') {
                        transformProperty = e;
                        return false;
                    }
                    return true;
                });
            } else if (typeof document.body.style[safariPropertyHack] !== 'undefined') {
                transformProperty = '-webkit-transform';
            } else {
                transformProperty = undefined;
            }
            return transformProperty;
        }
217414
function findRefObject (ref, components) {
  const [ typeAndName, jsonSelector ] = typeNamePath(ref)

  const [ , refObj ] = findComponent(
    typeAndName,
    components,
    jsonSelector
  )

  if (!refObj) {
    return findRefObjectsByWildcard(typeAndName, components)
  }

  return refObj
}
40889
private synchronized boolean refreshAuthToken(final AuthHandler handler,
                                                  final boolean forceRefresh) {

        if (handler == null) {
            return false;
        }

        AuthToken token = authToken.get();

        if (!forceRefresh && token != null && token.isValid()) {
            logger.fine("Auth token is already valid");
            return true;
        }

        try {
            handler.setForceRefresh(forceRefresh);
            token = handler.call();
            authToken.set(token);

            if (token != null) {
                if (token instanceof UserBearerAuthToken) {
                    final UserBearerAuthToken bt = (UserBearerAuthToken) token;
                    logger.info("Acquired auth token. Expires: "
                                + bt.getExpires() + " token="
                                + bt.getToken());
                } else if (token instanceof ProjectBearerAuthToken) {
                    ProjectBearerAuthToken pt = (ProjectBearerAuthToken) token;
                    logger.info("Acquired proj token. Expires: " + pt.getExpires() + " token="
                                + pt.getToken());
                } else {
                    logger.info("Acquired auth token. Token valid="
                                + token.isValid());
                }
            }
        } catch (ExecutionException e) {
            final Throwable cause = e.getCause();

            if (cause != null) {
                logger.warning("Authentication failed: " + cause.getMessage());
            } else {
                logger.warning("Authentication failed: " + e.getMessage());
            }
        } catch (Exception e) {
            logger.warning("Authentication failed: " + e.getMessage());
        } finally {
            handler.setForceRefresh(false);
        }
        return true;
    }
1253817
function invokeTransformer(object) {
  for (var key, i = 0, length = transformersKeys.length; i < length; i++) {
    key = transformersKeys[i];
    if (object.hasOwnProperty(key)) {
      // noop is passed to respect hyperHTML API but it won't have
      // any effect at distance for the time being
      return transformers[key](object[key], noop);
    }
  }
}