@vue-skuilder/courseware 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -49,7 +49,7 @@ var hasRequiredLodash;
49
49
  function requireLodash() {
50
50
  if (hasRequiredLodash) return lodash$1.exports;
51
51
  hasRequiredLodash = 1;
52
- (function(module2, exports) {
52
+ (function(module2, exports$1) {
53
53
  (function() {
54
54
  var undefined$1;
55
55
  var VERSION = "4.17.21";
@@ -377,7 +377,7 @@ function requireLodash() {
377
377
  var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
378
378
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
379
379
  var root = freeGlobal || freeSelf || Function("return this")();
380
- var freeExports = exports && !exports.nodeType && exports;
380
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
381
381
  var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
382
382
  var moduleExports = freeModule && freeModule.exports === freeExports;
383
383
  var freeProcess = moduleExports && freeGlobal.process;
@@ -1936,7 +1936,7 @@ function requireLodash() {
1936
1936
  return symbolToString ? symbolToString.call(value) : "";
1937
1937
  }
1938
1938
  var result2 = value + "";
1939
- return result2 == "0" && 1 / value == -Infinity ? "-0" : result2;
1939
+ return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
1940
1940
  }
1941
1941
  function baseUniq(array, iteratee2, comparator) {
1942
1942
  var index2 = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen = result2;
@@ -3143,7 +3143,7 @@ function requireLodash() {
3143
3143
  return value;
3144
3144
  }
3145
3145
  var result2 = value + "";
3146
- return result2 == "0" && 1 / value == -Infinity ? "-0" : result2;
3146
+ return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
3147
3147
  }
3148
3148
  function toSource(func) {
3149
3149
  if (func != null) {
@@ -4207,7 +4207,7 @@ function requireLodash() {
4207
4207
  }
4208
4208
  var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
4209
4209
  function isSafeInteger(value) {
4210
- return isInteger(value) && value >= -9007199254740991 && value <= MAX_SAFE_INTEGER;
4210
+ return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
4211
4211
  }
4212
4212
  var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
4213
4213
  function isString2(value) {
@@ -4248,7 +4248,7 @@ function requireLodash() {
4248
4248
  return value === 0 ? value : 0;
4249
4249
  }
4250
4250
  value = toNumber(value);
4251
- if (value === INFINITY || value === -Infinity) {
4251
+ if (value === INFINITY || value === -INFINITY) {
4252
4252
  var sign2 = value < 0 ? -1 : 1;
4253
4253
  return sign2 * MAX_INTEGER;
4254
4254
  }
@@ -4283,7 +4283,7 @@ function requireLodash() {
4283
4283
  return copyObject(value, keysIn(value));
4284
4284
  }
4285
4285
  function toSafeInteger(value) {
4286
- return value ? baseClamp(toInteger(value), -9007199254740991, MAX_SAFE_INTEGER) : value === 0 ? value : 0;
4286
+ return value ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) : value === 0 ? value : 0;
4287
4287
  }
4288
4288
  function toString2(value) {
4289
4289
  return value == null ? "" : baseToString(value);
@@ -11221,10 +11221,10 @@ var hasRequiredAcorn;
11221
11221
  function requireAcorn() {
11222
11222
  if (hasRequiredAcorn) return acorn$1.exports;
11223
11223
  hasRequiredAcorn = 1;
11224
- (function(module2, exports) {
11224
+ (function(module2, exports$1) {
11225
11225
  (function(global2, factory) {
11226
- factory(exports);
11227
- })(acorn, function(exports2) {
11226
+ factory(exports$1);
11227
+ })(acorn, function(exports$12) {
11228
11228
  var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
11229
11229
  var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
11230
11230
  var nonASCIIidentifierChars = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
@@ -11886,12 +11886,12 @@ function requireAcorn() {
11886
11886
  };
11887
11887
  var pp$8 = Parser.prototype;
11888
11888
  pp$8.parseTopLevel = function(node) {
11889
- var exports3 = /* @__PURE__ */ Object.create(null);
11889
+ var exports$13 = /* @__PURE__ */ Object.create(null);
11890
11890
  if (!node.body) {
11891
11891
  node.body = [];
11892
11892
  }
11893
11893
  while (this.type !== types$1.eof) {
11894
- var stmt = this.parseStatement(null, true, exports3);
11894
+ var stmt = this.parseStatement(null, true, exports$13);
11895
11895
  node.body.push(stmt);
11896
11896
  }
11897
11897
  if (this.inModule) {
@@ -11946,7 +11946,7 @@ function requireAcorn() {
11946
11946
  var next = this.pos + skip[0].length, after;
11947
11947
  return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.input.charCodeAt(next + 8)) || after > 55295 && after < 56320));
11948
11948
  };
11949
- pp$8.parseStatement = function(context, topLevel, exports3) {
11949
+ pp$8.parseStatement = function(context, topLevel, exports$13) {
11950
11950
  var starttype = this.type, node = this.startNode(), kind;
11951
11951
  if (this.isLet(context)) {
11952
11952
  starttype = types$1._var;
@@ -12015,7 +12015,7 @@ function requireAcorn() {
12015
12015
  this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
12016
12016
  }
12017
12017
  }
12018
- return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports3);
12018
+ return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports$13);
12019
12019
  // If the statement does not start with a statement keyword or a
12020
12020
  // brace, it's an ExpressionStatement or LabeledStatement. We
12021
12021
  // simply start parsing an expression, and afterwards, if the
@@ -12658,11 +12658,11 @@ function requireAcorn() {
12658
12658
  var key = node.key;
12659
12659
  return !computed2 && (key.type === "Identifier" && key.name === name2 || key.type === "Literal" && key.value === name2);
12660
12660
  }
12661
- pp$8.parseExportAllDeclaration = function(node, exports3) {
12661
+ pp$8.parseExportAllDeclaration = function(node, exports$13) {
12662
12662
  if (this.options.ecmaVersion >= 11) {
12663
12663
  if (this.eatContextual("as")) {
12664
12664
  node.exported = this.parseModuleExportName();
12665
- this.checkExport(exports3, node.exported, this.lastTokStart);
12665
+ this.checkExport(exports$13, node.exported, this.lastTokStart);
12666
12666
  } else {
12667
12667
  node.exported = null;
12668
12668
  }
@@ -12678,28 +12678,28 @@ function requireAcorn() {
12678
12678
  this.semicolon();
12679
12679
  return this.finishNode(node, "ExportAllDeclaration");
12680
12680
  };
12681
- pp$8.parseExport = function(node, exports3) {
12681
+ pp$8.parseExport = function(node, exports$13) {
12682
12682
  this.next();
12683
12683
  if (this.eat(types$1.star)) {
12684
- return this.parseExportAllDeclaration(node, exports3);
12684
+ return this.parseExportAllDeclaration(node, exports$13);
12685
12685
  }
12686
12686
  if (this.eat(types$1._default)) {
12687
- this.checkExport(exports3, "default", this.lastTokStart);
12687
+ this.checkExport(exports$13, "default", this.lastTokStart);
12688
12688
  node.declaration = this.parseExportDefaultDeclaration();
12689
12689
  return this.finishNode(node, "ExportDefaultDeclaration");
12690
12690
  }
12691
12691
  if (this.shouldParseExportStatement()) {
12692
12692
  node.declaration = this.parseExportDeclaration(node);
12693
12693
  if (node.declaration.type === "VariableDeclaration") {
12694
- this.checkVariableExport(exports3, node.declaration.declarations);
12694
+ this.checkVariableExport(exports$13, node.declaration.declarations);
12695
12695
  } else {
12696
- this.checkExport(exports3, node.declaration.id, node.declaration.id.start);
12696
+ this.checkExport(exports$13, node.declaration.id, node.declaration.id.start);
12697
12697
  }
12698
12698
  node.specifiers = [];
12699
12699
  node.source = null;
12700
12700
  } else {
12701
12701
  node.declaration = null;
12702
- node.specifiers = this.parseExportSpecifiers(exports3);
12702
+ node.specifiers = this.parseExportSpecifiers(exports$13);
12703
12703
  if (this.eatContextual("from")) {
12704
12704
  if (this.type !== types$1.string) {
12705
12705
  this.unexpected();
@@ -12744,66 +12744,66 @@ function requireAcorn() {
12744
12744
  return declaration;
12745
12745
  }
12746
12746
  };
12747
- pp$8.checkExport = function(exports3, name2, pos) {
12748
- if (!exports3) {
12747
+ pp$8.checkExport = function(exports$13, name2, pos) {
12748
+ if (!exports$13) {
12749
12749
  return;
12750
12750
  }
12751
12751
  if (typeof name2 !== "string") {
12752
12752
  name2 = name2.type === "Identifier" ? name2.name : name2.value;
12753
12753
  }
12754
- if (hasOwn(exports3, name2)) {
12754
+ if (hasOwn(exports$13, name2)) {
12755
12755
  this.raiseRecoverable(pos, "Duplicate export '" + name2 + "'");
12756
12756
  }
12757
- exports3[name2] = true;
12757
+ exports$13[name2] = true;
12758
12758
  };
12759
- pp$8.checkPatternExport = function(exports3, pat) {
12759
+ pp$8.checkPatternExport = function(exports$13, pat) {
12760
12760
  var type = pat.type;
12761
12761
  if (type === "Identifier") {
12762
- this.checkExport(exports3, pat, pat.start);
12762
+ this.checkExport(exports$13, pat, pat.start);
12763
12763
  } else if (type === "ObjectPattern") {
12764
12764
  for (var i3 = 0, list2 = pat.properties; i3 < list2.length; i3 += 1) {
12765
12765
  var prop = list2[i3];
12766
- this.checkPatternExport(exports3, prop);
12766
+ this.checkPatternExport(exports$13, prop);
12767
12767
  }
12768
12768
  } else if (type === "ArrayPattern") {
12769
12769
  for (var i$1 = 0, list$1 = pat.elements; i$1 < list$1.length; i$1 += 1) {
12770
12770
  var elt = list$1[i$1];
12771
12771
  if (elt) {
12772
- this.checkPatternExport(exports3, elt);
12772
+ this.checkPatternExport(exports$13, elt);
12773
12773
  }
12774
12774
  }
12775
12775
  } else if (type === "Property") {
12776
- this.checkPatternExport(exports3, pat.value);
12776
+ this.checkPatternExport(exports$13, pat.value);
12777
12777
  } else if (type === "AssignmentPattern") {
12778
- this.checkPatternExport(exports3, pat.left);
12778
+ this.checkPatternExport(exports$13, pat.left);
12779
12779
  } else if (type === "RestElement") {
12780
- this.checkPatternExport(exports3, pat.argument);
12780
+ this.checkPatternExport(exports$13, pat.argument);
12781
12781
  }
12782
12782
  };
12783
- pp$8.checkVariableExport = function(exports3, decls) {
12784
- if (!exports3) {
12783
+ pp$8.checkVariableExport = function(exports$13, decls) {
12784
+ if (!exports$13) {
12785
12785
  return;
12786
12786
  }
12787
12787
  for (var i3 = 0, list2 = decls; i3 < list2.length; i3 += 1) {
12788
12788
  var decl = list2[i3];
12789
- this.checkPatternExport(exports3, decl.id);
12789
+ this.checkPatternExport(exports$13, decl.id);
12790
12790
  }
12791
12791
  };
12792
12792
  pp$8.shouldParseExportStatement = function() {
12793
12793
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
12794
12794
  };
12795
- pp$8.parseExportSpecifier = function(exports3) {
12795
+ pp$8.parseExportSpecifier = function(exports$13) {
12796
12796
  var node = this.startNode();
12797
12797
  node.local = this.parseModuleExportName();
12798
12798
  node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local;
12799
12799
  this.checkExport(
12800
- exports3,
12800
+ exports$13,
12801
12801
  node.exported,
12802
12802
  node.exported.start
12803
12803
  );
12804
12804
  return this.finishNode(node, "ExportSpecifier");
12805
12805
  };
12806
- pp$8.parseExportSpecifiers = function(exports3) {
12806
+ pp$8.parseExportSpecifiers = function(exports$13) {
12807
12807
  var nodes = [], first = true;
12808
12808
  this.expect(types$1.braceL);
12809
12809
  while (!this.eat(types$1.braceR)) {
@@ -12815,7 +12815,7 @@ function requireAcorn() {
12815
12815
  } else {
12816
12816
  first = false;
12817
12817
  }
12818
- nodes.push(this.parseExportSpecifier(exports3));
12818
+ nodes.push(this.parseExportSpecifier(exports$13));
12819
12819
  }
12820
12820
  return nodes;
12821
12821
  };
@@ -16738,28 +16738,28 @@ function requireAcorn() {
16738
16738
  function tokenizer(input, options) {
16739
16739
  return Parser.tokenizer(input, options);
16740
16740
  }
16741
- exports2.Node = Node;
16742
- exports2.Parser = Parser;
16743
- exports2.Position = Position;
16744
- exports2.SourceLocation = SourceLocation;
16745
- exports2.TokContext = TokContext;
16746
- exports2.Token = Token;
16747
- exports2.TokenType = TokenType;
16748
- exports2.defaultOptions = defaultOptions;
16749
- exports2.getLineInfo = getLineInfo;
16750
- exports2.isIdentifierChar = isIdentifierChar;
16751
- exports2.isIdentifierStart = isIdentifierStart;
16752
- exports2.isNewLine = isNewLine;
16753
- exports2.keywordTypes = keywords;
16754
- exports2.lineBreak = lineBreak;
16755
- exports2.lineBreakG = lineBreakG;
16756
- exports2.nonASCIIwhitespace = nonASCIIwhitespace;
16757
- exports2.parse = parse2;
16758
- exports2.parseExpressionAt = parseExpressionAt;
16759
- exports2.tokContexts = types;
16760
- exports2.tokTypes = types$1;
16761
- exports2.tokenizer = tokenizer;
16762
- exports2.version = version;
16741
+ exports$12.Node = Node;
16742
+ exports$12.Parser = Parser;
16743
+ exports$12.Position = Position;
16744
+ exports$12.SourceLocation = SourceLocation;
16745
+ exports$12.TokContext = TokContext;
16746
+ exports$12.Token = Token;
16747
+ exports$12.TokenType = TokenType;
16748
+ exports$12.defaultOptions = defaultOptions;
16749
+ exports$12.getLineInfo = getLineInfo;
16750
+ exports$12.isIdentifierChar = isIdentifierChar;
16751
+ exports$12.isIdentifierStart = isIdentifierStart;
16752
+ exports$12.isNewLine = isNewLine;
16753
+ exports$12.keywordTypes = keywords;
16754
+ exports$12.lineBreak = lineBreak;
16755
+ exports$12.lineBreakG = lineBreakG;
16756
+ exports$12.nonASCIIwhitespace = nonASCIIwhitespace;
16757
+ exports$12.parse = parse2;
16758
+ exports$12.parseExpressionAt = parseExpressionAt;
16759
+ exports$12.tokContexts = types;
16760
+ exports$12.tokTypes = types$1;
16761
+ exports$12.tokenizer = tokenizer;
16762
+ exports$12.version = version;
16763
16763
  });
16764
16764
  })(acorn$1, acorn$1.exports);
16765
16765
  return acorn$1.exports;
@@ -17456,9 +17456,9 @@ function requirePaperFull() {
17456
17456
  return this;
17457
17457
  },
17458
17458
  execute: function(code, options) {
17459
- var exports = paper2.PaperScript.execute(code, this, options);
17459
+ var exports$1 = paper2.PaperScript.execute(code, this, options);
17460
17460
  View.updateFocus();
17461
- return exports;
17461
+ return exports$1;
17462
17462
  },
17463
17463
  install: function(scope) {
17464
17464
  var that = this;
@@ -17763,10 +17763,10 @@ function requirePaperFull() {
17763
17763
  ANGULAR_EPSILON: 1e-5,
17764
17764
  KAPPA: 4 * (sqrt(2) - 1) / 3,
17765
17765
  isZero: function(val) {
17766
- return val >= -1e-12 && val <= EPSILON;
17766
+ return val >= -EPSILON && val <= EPSILON;
17767
17767
  },
17768
17768
  isMachineZero: function(val) {
17769
- return val >= -112e-18 && val <= MACHINE_EPSILON;
17769
+ return val >= -MACHINE_EPSILON && val <= MACHINE_EPSILON;
17770
17770
  },
17771
17771
  clamp,
17772
17772
  integrate: function(f, a, b, n) {
@@ -17812,7 +17812,7 @@ function requirePaperFull() {
17812
17812
  D = getDiscriminant(a, b, c);
17813
17813
  }
17814
17814
  }
17815
- if (D >= -112e-18) {
17815
+ if (D >= -MACHINE_EPSILON) {
17816
17816
  var Q = D < 0 ? 0 : sqrt(D), R = b + (b < 0 ? -Q : Q);
17817
17817
  if (R === 0) {
17818
17818
  x1 = c / a;
@@ -24988,10 +24988,10 @@ function requirePaperFull() {
24988
24988
  );
24989
24989
  Path.inject({ statics: new function() {
24990
24990
  var kappa = 0.5522847498307936, ellipseSegments = [
24991
- new Segment([-1, 0], [0, kappa], [0, -0.5522847498307936]),
24992
- new Segment([0, -1], [-0.5522847498307936, 0], [kappa, 0]),
24993
- new Segment([1, 0], [0, -0.5522847498307936], [0, kappa]),
24994
- new Segment([0, 1], [kappa, 0], [-0.5522847498307936, 0])
24991
+ new Segment([-1, 0], [0, kappa], [0, -kappa]),
24992
+ new Segment([0, -1], [-kappa, 0], [kappa, 0]),
24993
+ new Segment([1, 0], [0, -kappa], [0, kappa]),
24994
+ new Segment([0, 1], [kappa, 0], [-kappa, 0])
24995
24995
  ];
24996
24996
  function createPath(segments, closed, args) {
24997
24997
  var props = Base.getNamed(args), path = new Path(props && (props.insert == true ? Item.INSERT : props.insert == false ? Item.NO_INSERT : null));
@@ -29622,23 +29622,23 @@ function requirePaperFull() {
29622
29622
  }
29623
29623
  }
29624
29624
  if (!acorn2) {
29625
- var exports, module3;
29626
- acorn2 = exports = module3 = {};
29625
+ var exports$1, module3;
29626
+ acorn2 = exports$1 = module3 = {};
29627
29627
  (function(root, mod2) {
29628
- if (typeof exports == "object" && typeof module3 == "object") return mod2(exports);
29628
+ if (typeof exports$1 == "object" && typeof module3 == "object") return mod2(exports$1);
29629
29629
  if (typeof undefined$1 == "function" && undefined$1.amd) return undefined$1(["exports"], mod2);
29630
29630
  mod2(root.acorn || (root.acorn = {}));
29631
- })(this, function(exports2) {
29632
- exports2.version = "0.5.0";
29631
+ })(this, function(exports$12) {
29632
+ exports$12.version = "0.5.0";
29633
29633
  var options, input, inputLen, sourceFile;
29634
- exports2.parse = function(inpt, opts) {
29634
+ exports$12.parse = function(inpt, opts) {
29635
29635
  input = String(inpt);
29636
29636
  inputLen = input.length;
29637
29637
  setOptions(opts);
29638
29638
  initTokenState();
29639
29639
  return parseTopLevel(options.program);
29640
29640
  };
29641
- var defaultOptions = exports2.defaultOptions = {
29641
+ var defaultOptions = exports$12.defaultOptions = {
29642
29642
  ecmaVersion: 5,
29643
29643
  strictSemicolons: false,
29644
29644
  allowTrailingCommas: true,
@@ -29657,7 +29657,7 @@ function requirePaperFull() {
29657
29657
  options[opt] = defaultOptions[opt];
29658
29658
  sourceFile = options.sourceFile || null;
29659
29659
  }
29660
- var getLineInfo = exports2.getLineInfo = function(input2, offset2) {
29660
+ var getLineInfo = exports$12.getLineInfo = function(input2, offset2) {
29661
29661
  for (var line = 1, cur = 0; ; ) {
29662
29662
  lineBreak.lastIndex = cur;
29663
29663
  var match = lineBreak.exec(input2);
@@ -29668,7 +29668,7 @@ function requirePaperFull() {
29668
29668
  }
29669
29669
  return { line, column: offset2 - cur };
29670
29670
  };
29671
- exports2.tokenize = function(inpt, opts) {
29671
+ exports$12.tokenize = function(inpt, opts) {
29672
29672
  input = String(inpt);
29673
29673
  inputLen = input.length;
29674
29674
  setOptions(opts);
@@ -29780,7 +29780,7 @@ function requirePaperFull() {
29780
29780
  var _bitShift = { binop: 8, beforeExpr: true };
29781
29781
  var _plusMin = { binop: 9, prefix: true, beforeExpr: true };
29782
29782
  var _multiplyModulo = { binop: 10, beforeExpr: true };
29783
- exports2.tokTypes = {
29783
+ exports$12.tokTypes = {
29784
29784
  bracketL: _bracketL,
29785
29785
  bracketR: _bracketR,
29786
29786
  braceL: _braceL,
@@ -29800,7 +29800,7 @@ function requirePaperFull() {
29800
29800
  regexp: _regexp,
29801
29801
  string: _string
29802
29802
  };
29803
- for (var kw in keywordTypes) exports2.tokTypes["_" + kw] = keywordTypes[kw];
29803
+ for (var kw in keywordTypes) exports$12.tokTypes["_" + kw] = keywordTypes[kw];
29804
29804
  function makePredicate(words) {
29805
29805
  words = words.split(" ");
29806
29806
  var f = "", cats = [];
@@ -29846,14 +29846,14 @@ function requirePaperFull() {
29846
29846
  var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
29847
29847
  var newline = /[\n\r\u2028\u2029]/;
29848
29848
  var lineBreak = /\r\n|[\n\r\u2028\u2029]/g;
29849
- var isIdentifierStart = exports2.isIdentifierStart = function(code) {
29849
+ var isIdentifierStart = exports$12.isIdentifierStart = function(code) {
29850
29850
  if (code < 65) return code === 36;
29851
29851
  if (code < 91) return true;
29852
29852
  if (code < 97) return code === 95;
29853
29853
  if (code < 123) return true;
29854
29854
  return code >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code));
29855
29855
  };
29856
- var isIdentifierChar = exports2.isIdentifierChar = function(code) {
29856
+ var isIdentifierChar = exports$12.isIdentifierChar = function(code) {
29857
29857
  if (code < 48) return code === 36;
29858
29858
  if (code < 58) return true;
29859
29859
  if (code < 65) return false;
@@ -31072,12 +31072,12 @@ function requirePaperFull() {
31072
31072
  }, "");
31073
31073
  }
31074
31074
  } else if (specifiers) {
31075
- var exports2 = specifiers.map(function(specifier) {
31075
+ var exports$12 = specifiers.map(function(specifier) {
31076
31076
  var name2 = getCode(specifier);
31077
31077
  return "module.exports." + name2 + " = " + name2 + "; ";
31078
31078
  }).join("");
31079
- if (exports2) {
31080
- replaceCode(node, exports2);
31079
+ if (exports$12) {
31080
+ replaceCode(node, exports$12);
31081
31081
  }
31082
31082
  }
31083
31083
  break;
@@ -31183,14 +31183,14 @@ function requirePaperFull() {
31183
31183
  );
31184
31184
  expose(scope);
31185
31185
  code = "var module = { exports: {} }; " + code;
31186
- var exports2 = Base.each(handlers, function(key) {
31186
+ var exports$12 = Base.each(handlers, function(key) {
31187
31187
  if (new RegExp("\\s+" + key + "\\b").test(code)) {
31188
31188
  params.push(key);
31189
31189
  this.push("module.exports." + key + " = " + key + ";");
31190
31190
  }
31191
31191
  }, []).join("\n");
31192
- if (exports2) {
31193
- code += "\n" + exports2;
31192
+ if (exports$12) {
31193
+ code += "\n" + exports$12;
31194
31194
  }
31195
31195
  code += "\nreturn module.exports;";
31196
31196
  var agent = paper2.agent;
@@ -31208,8 +31208,8 @@ function requirePaperFull() {
31208
31208
  } else {
31209
31209
  func = Function(params, code);
31210
31210
  }
31211
- var exports2 = func && func.apply(scope, args);
31212
- var obj = exports2 || {};
31211
+ var exports$12 = func && func.apply(scope, args);
31212
+ var obj = exports$12 || {};
31213
31213
  Base.each(toolHandlers, function(key) {
31214
31214
  var value = obj[key];
31215
31215
  if (value)
@@ -31226,7 +31226,7 @@ function requirePaperFull() {
31226
31226
  view.setOnFrame(obj.onFrame);
31227
31227
  view.requestUpdate();
31228
31228
  }
31229
- return exports2;
31229
+ return exports$12;
31230
31230
  }
31231
31231
  function loadScript(script) {
31232
31232
  if (/^text\/(?:x-|)paperscript$/.test(script.type) && PaperScope.getAttribute(script, "ignore") !== "true") {