%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/dordingu/public_html/hardkjarni/wp-content/plugins/gutenberg/build/token-list/
Upload File :
Create Path :
Current File : /home/dordingu/public_html/hardkjarni/wp-content/plugins/gutenberg/build/token-list/index.min.js.map

{"version":3,"file":"./build/token-list/index.min.js","mappings":"mBACA,IAAIA,EAAsB,CCA1BA,EAAwB,CAACC,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDH,EAAwB,CAACS,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,I,4BCKnE,MAAMI,EAMpBC,cAAiC,IAApBC,EAAoB,uDAAL,GAC3BC,KAAKC,MAAQF,EAKbC,KAAKE,cAGLF,KAAKG,aAEL,CAKDC,UACC,OAAOJ,KAAKG,cAAcC,WAAY,UACtC,CAKDC,UACC,OAAOL,KAAKG,cAAcE,WAAY,UACtC,CAKDC,OACC,OAAON,KAAKG,cAAcG,QAAS,UACnC,CAKDC,SACC,OAAOP,KAAKG,cAAcI,UAAW,UACrC,CASGN,YACH,OAAOD,KAAKE,aACZ,CASGD,UAAOA,GACVA,EAAQO,OAAQP,GAChBD,KAAKG,cAAgB,IACjB,IAAIM,IAAKR,EAAMS,MAAO,QAASC,OAAQC,WAE3CZ,KAAKE,cAAgBF,KAAKG,cAAcU,KAAM,IAC9C,CASGC,aACH,OAAOd,KAAKG,cAAcW,MAC1B,CAUDC,WACC,OAAOf,KAAKC,KACZ,CASiB,EAAfe,OAAOC,YACT,aAAcjB,KAAKG,aACnB,CAWDe,KAAMC,GACL,OAAOnB,KAAKG,cAAegB,EAC3B,CAWDC,SAAUF,GACT,OAA+C,IAAxClB,KAAKG,cAAckB,QAASH,EACnC,CASDI,MAAgB,2BAARC,EAAQ,yBAARA,EAAQ,gBACfvB,KAAKC,OAAS,IAAMsB,EAAMV,KAAM,IAChC,CASDW,SAAmB,2BAARD,EAAQ,yBAARA,EAAQ,gBAClBvB,KAAKC,MAAQD,KAAKG,cAChBQ,QAAUc,IAAWF,EAAMG,SAAUD,KACrCZ,KAAM,IACR,CAeDc,OAAQC,EAAOC,GAWd,YAVKC,IAAcD,IAClBA,GAAU7B,KAAKoB,SAAUQ,IAGrBC,EACJ7B,KAAKsB,IAAKM,GAEV5B,KAAKwB,OAAQI,GAGPC,CACP,CAaDE,QAASH,EAAOI,GACf,QAAOhC,KAAKoB,SAAUQ,KAItB5B,KAAKwB,OAAQI,GACb5B,KAAKsB,IAAKU,IAEH,EACP,CAYDC,WACC,OAAO,CACP,G","sources":["webpack://wp/webpack/bootstrap","webpack://wp/webpack/runtime/define property getters","webpack://wp/webpack/runtime/hasOwnProperty shorthand","webpack://wp/./packages/token-list/build-module/@wordpress/token-list/src/index.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","/**\n * A set of tokens.\n *\n * @see https://dom.spec.whatwg.org/#domtokenlist\n */\nexport default class TokenList {\n\t/**\n\t * Constructs a new instance of TokenList.\n\t *\n\t * @param {string} initialValue Initial value to assign.\n\t */\n\tconstructor( initialValue = '' ) {\n\t\tthis.value = initialValue;\n\n\t\t// Disable reason: These are type hints on the class.\n\t\t/* eslint-disable no-unused-expressions */\n\t\t/** @type {string} */\n\t\tthis._currentValue;\n\n\t\t/** @type {string[]} */\n\t\tthis._valueAsArray;\n\t\t/* eslint-enable no-unused-expressions */\n\t}\n\n\t/**\n\t * @param {Parameters<Array<string>['entries']>} args\n\t */\n\tentries( ...args ) {\n\t\treturn this._valueAsArray.entries( ...args );\n\t}\n\n\t/**\n\t * @param {Parameters<Array<string>['forEach']>} args\n\t */\n\tforEach( ...args ) {\n\t\treturn this._valueAsArray.forEach( ...args );\n\t}\n\n\t/**\n\t * @param {Parameters<Array<string>['keys']>} args\n\t */\n\tkeys( ...args ) {\n\t\treturn this._valueAsArray.keys( ...args );\n\t}\n\n\t/**\n\t * @param {Parameters<Array<string>['values']>} args\n\t */\n\tvalues( ...args ) {\n\t\treturn this._valueAsArray.values( ...args );\n\t}\n\n\t/**\n\t * Returns the associated set as string.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-value\n\t *\n\t * @return {string} Token set as string.\n\t */\n\tget value() {\n\t\treturn this._currentValue;\n\t}\n\n\t/**\n\t * Replaces the associated set with a new string value.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-value\n\t *\n\t * @param {string} value New token set as string.\n\t */\n\tset value( value ) {\n\t\tvalue = String( value );\n\t\tthis._valueAsArray = [\n\t\t\t...new Set( value.split( /\\s+/g ).filter( Boolean ) ),\n\t\t];\n\t\tthis._currentValue = this._valueAsArray.join( ' ' );\n\t}\n\n\t/**\n\t * Returns the number of tokens.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-length\n\t *\n\t * @return {number} Number of tokens.\n\t */\n\tget length() {\n\t\treturn this._valueAsArray.length;\n\t}\n\n\t/**\n\t * Returns the stringified form of the TokenList.\n\t *\n\t * @see https://dom.spec.whatwg.org/#DOMTokenList-stringification-behavior\n\t * @see https://www.ecma-international.org/ecma-262/9.0/index.html#sec-tostring\n\t *\n\t * @return {string} Token set as string.\n\t */\n\ttoString() {\n\t\treturn this.value;\n\t}\n\n\t/**\n\t * Returns an iterator for the TokenList, iterating items of the set.\n\t *\n\t * @see https://dom.spec.whatwg.org/#domtokenlist\n\t *\n\t * @return {IterableIterator<string>} TokenList iterator.\n\t */\n\t*[ Symbol.iterator ]() {\n\t\treturn yield* this._valueAsArray;\n\t}\n\n\t/**\n\t * Returns the token with index `index`.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-item\n\t *\n\t * @param {number} index Index at which to return token.\n\t *\n\t * @return {string|undefined} Token at index.\n\t */\n\titem( index ) {\n\t\treturn this._valueAsArray[ index ];\n\t}\n\n\t/**\n\t * Returns true if `token` is present, and false otherwise.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-contains\n\t *\n\t * @param {string} item Token to test.\n\t *\n\t * @return {boolean} Whether token is present.\n\t */\n\tcontains( item ) {\n\t\treturn this._valueAsArray.indexOf( item ) !== -1;\n\t}\n\n\t/**\n\t * Adds all arguments passed, except those already present.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-add\n\t *\n\t * @param {...string} items Items to add.\n\t */\n\tadd( ...items ) {\n\t\tthis.value += ' ' + items.join( ' ' );\n\t}\n\n\t/**\n\t * Removes arguments passed, if they are present.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-remove\n\t *\n\t * @param {...string} items Items to remove.\n\t */\n\tremove( ...items ) {\n\t\tthis.value = this._valueAsArray\n\t\t\t.filter( ( val ) => ! items.includes( val ) )\n\t\t\t.join( ' ' );\n\t}\n\n\t/**\n\t * If `force` is not given, \"toggles\" `token`, removing it if it’s present\n\t * and adding it if it’s not present. If `force` is true, adds token (same\n\t * as add()). If force is false, removes token (same as remove()). Returns\n\t * true if `token` is now present, and false otherwise.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-toggle\n\t *\n\t * @param {string}  token   Token to toggle.\n\t * @param {boolean} [force] Presence to force.\n\t *\n\t * @return {boolean} Whether token is present after toggle.\n\t */\n\ttoggle( token, force ) {\n\t\tif ( undefined === force ) {\n\t\t\tforce = ! this.contains( token );\n\t\t}\n\n\t\tif ( force ) {\n\t\t\tthis.add( token );\n\t\t} else {\n\t\t\tthis.remove( token );\n\t\t}\n\n\t\treturn force;\n\t}\n\n\t/**\n\t * Replaces `token` with `newToken`. Returns true if `token` was replaced\n\t * with `newToken`, and false otherwise.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-replace\n\t *\n\t * @param {string} token    Token to replace with `newToken`.\n\t * @param {string} newToken Token to use in place of `token`.\n\t *\n\t * @return {boolean} Whether replacement occurred.\n\t */\n\treplace( token, newToken ) {\n\t\tif ( ! this.contains( token ) ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tthis.remove( token );\n\t\tthis.add( newToken );\n\n\t\treturn true;\n\t}\n\n\t/**\n\t * Returns true if `token` is in the associated attribute’s supported\n\t * tokens. Returns false otherwise.\n\t *\n\t * Always returns `true` in this implementation.\n\t *\n\t * @see https://dom.spec.whatwg.org/#dom-domtokenlist-supports\n\t *\n\t * @return {boolean} Whether token is supported.\n\t */\n\tsupports() {\n\t\treturn true;\n\t}\n}\n"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","TokenList","constructor","initialValue","this","value","_currentValue","_valueAsArray","entries","forEach","keys","values","String","Set","split","filter","Boolean","join","length","toString","Symbol","iterator","item","index","contains","indexOf","add","items","remove","val","includes","toggle","token","force","undefined","replace","newToken","supports"],"sourceRoot":""}

Zerion Mini Shell 1.0