This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a0i = [ | |
'ugq8ESoA', | |
'tCkyWO9IW4q=', | |
'oHxdNmouWQe=', | |
'WO3cIffHvG==', | |
'nmoSFmkvWQ0=', | |
'EMCUwCo1', | |
'W693WRKWW5S=', | |
'WQddQJlcSKO=', | |
'W4hcNva=', |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a0a = [ | |
'originalInstance', | |
'bootstrapModuleFactory', | |
'$controller', | |
'wks', | |
'PairsObservable', | |
'RegExp', | |
'advance', | |
'serializeBody', | |
'ouml', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { inject, injectable, } from 'inversify'; | |
import { ServiceIdentifiers } from '../../container/ServiceIdentifiers'; | |
import * as eslintScope from 'eslint-scope'; | |
import * as ESTree from 'estree'; | |
import * as estraverse from 'estraverse'; | |
import { IOptions } from '../../interfaces/options/IOptions'; | |
import { IRandomGenerator } from '../../interfaces/utils/IRandomGenerator'; | |
import { IVisitor } from '../../interfaces/node-transformers/IVisitor'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type PrependToArray <Element, TArray extends _Iterator<any, any[]> = []> = | |
((head: Element, ...args: TArray) => any) extends ((...args: infer TResult) => any) | |
? TResult | |
: TArray; | |
type ArrayLength <TArray extends _Iterator<any, any[]>> = TArray['length']; | |
type NextIteratorValue <TArray extends _Iterator<any, any[]>> = PrependToArray<any, TArray>; | |
type _Iterator< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type PrependToArray <Element, TArray extends _Iterator<any, any[]> = []> = | |
((head: Element, ...args: TArray) => any) extends ((...args: infer TResult) => any) | |
? TResult | |
: TArray; | |
type ArrayLength <TArray extends _Iterator<any, any[]>> = TArray['length']; | |
type NextIteratorValue <TArray extends _Iterator<any, any[]>> = PrependToArray<any, TArray>; | |
type _Iterator<Index extends number = 0, Current extends any[] = []> = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type UnionKeys<T> = T extends any ? keyof T : never; | |
type StrictUnionHelper<T, TAllKeys extends PropertyKey> = T extends any | |
? T & Partial<Record<Exclude<TAllKeys, keyof T>, never>> | |
: never; | |
/** | |
* Тип для правильной работы Discriminated Union типов | |
* https://stackoverflow.com/questions/52677576/typescript-discriminated-union-allows-invalid-state/52678379#52678379 | |
*/ | |
export type StrictUnion<T> = StrictUnionHelper<T, UnionKeys<T>>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*{ | |
box-shadow:0 0 0 2in#b5e0ba, 0 0 0 5in#5d3a3a; | |
} |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _0x5a81 = ['\x5a\x78\x55\x64\x56\x73\x4f\x7a\x77\x37\x73\x2b\x42\x56\x50\x44\x6b\x32\x34\x45', '\x77\x35\x70\x4a\x77\x37\x6a\x44\x76\x63\x4f\x41\x5a\x56\x58\x43\x70\x38\x4f\x4a\x54\x67\x3d\x3d', '\x47\x33\x4a\x41\x77\x72\x31\x45', '\x77\x6f\x6e\x44\x67\x56\x4e\x68\x77\x34\x6b\x3d', '\x5a\x63\x4b\x6b\x77\x6f\x4a\x64\x45\x51\x3d\x3d', '\x4e\x4d\x4f\x77\x77\x71\x66\x43\x6a\x7a\x45\x6e\x42\x43\x66\x43\x6c\x56\x45\x4b\x77\x72\x64\x69\x54\x51\x3d\x3d', '\x77\x72\x50\x43\x70\x73\x4f\x65\x54\x73\x4f\x55\x58\x4d\x4b\x49\x77\x6f\x72\x44\x6b\x69\x44\x44\x70\x68\x6b\x3d', '\x55\x38\x4b\x5a\x77\x72\x42\x35\x49\x4d\x4b\x58\x77\x70\x50\x44\x68\x30\x73\x57\x77\x36\x6c\x34\x77\x6f\x44\x44\x69\x78\x59\x47\x57\x67\x3d\x3d', '\x77\x70\x7a\x43\x6c\x38\x4b\x36\x65\x63\x4b\x41\x77\x35\x7a\x44\x72\x48\x58\x44\x6d\x73\x4b\x4f\x77\x6f\x73\x36\x54\x4d\x4b\x32\x4b\x46\x7a\x44\x6c\x41\x3d\x3d', '\x5a\x63\x4b\x36\x77\x70\x5a\x44\x48\x4d\x4b\x4b\x77\x71\x44\x44\x73\x57\x41\x73', '\x77\x70\x78\x69\x77\x71\x35\x79\x77\x35\x6f\x3d', '\x53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Condition<T> = {shouldApply: boolean, conditionFunc: ((item: T) => boolean)}; | |
/** | |
* Фильтрует данные на основе массива ф-ий условий | |
* В случае отсутствия фильтров или когда не применен ни один фильтр - возвращается оригинальный массив данных | |
*/ | |
export class ConditionFilter <T> { | |
/** | |
* Константа, для того, чтобы всегда применять фильтр | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Находит на странице слова из словаря, если кол-во слов больше лимита - сайт порнографической/эротической тематики. | |
* | |
* @param dictionary | |
* @param debug | |
* @constructor | |
*/ | |
function PornoDetector (dictionary, debug) { | |
this.dictionary = dictionary; | |
this.filteredDictionary = []; |
NewerOlder