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AAgB,eAM1B,OAHA9D,EAASiC,EAAQhC,cAAc,UAC/BkC,EAAQF,EAAQhC,cAAc,UAAU8D,aAAa,MAE9C,CACL9B,UACAjC,SACAe,UACAmB,QACAC,UAIW,kBAA6B,IAA5B6B,EAA4B,uDAArB,SAAUC,EAAW,uDAAJ,GACtC,MAAMC,EAAc,uCACd7N,EAAM,uCACZ,IAAI8N,EAAa,GACjB,GAAY,UAARH,GACU,IAARC,EAAY,CACd,MAAMtI,EAASsI,EAAKtI,OACpB,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAQC,IAAK,CAC/B,MAAMwI,EAAWF,EAAYhF,QAAQ+E,EAAKrI,IAExCuI,IADgB,IAAdC,EACY/N,EAAI+N,GAEJH,EAAKrI,IAM3B,GAAY,UAARoI,GACU,IAARC,EAAY,CACd,MAAMtI,EAASsI,EAAKtI,OACpB,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAQC,IAAK,CAC/B,MAAMyI,EAAcJ,EAAKrI,GACnBwI,EAAW/N,EAAI6I,QAAQmF,GAE3BF,IADgB,IAAdC,EACYF,EAAYE,GAEZC,GAKtB,OAAOF,I","sources":["webpack://pdf-poster-pro/../../../../../../WorkFile/modules/node_modules/regenerator-runtime/runtime.js","webpack://pdf-poster-pro/webpack/bootstrap","webpack://pdf-poster-pro/./src/utils.js","webpack://pdf-poster-pro/./src/public.js"],"sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n  \"use strict\";\n\n  var Op = Object.prototype;\n  var hasOwn = Op.hasOwnProperty;\n  var undefined; // More compressible than void 0.\n  var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n  var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n  var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n  var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n  function define(obj, key, value) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n    return obj[key];\n  }\n  try {\n    // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n    define({}, \"\");\n  } catch (err) {\n    define = function(obj, key, value) {\n      return obj[key] = value;\n    };\n  }\n\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n    var generator = Object.create(protoGenerator.prototype);\n    var context = new Context(tryLocsList || []);\n\n    // The ._invoke method unifies the implementations of the .next,\n    // .throw, and .return methods.\n    generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n    return generator;\n  }\n  exports.wrap = wrap;\n\n  // Try/catch helper to minimize deoptimizations. Returns a completion\n  // record like context.tryEntries[i].completion. This interface could\n  // have been (and was previously) designed to take a closure to be\n  // invoked without arguments, but in all the cases we care about we\n  // already have an existing method we want to call, so there's no need\n  // to create a new function object. We can even get away with assuming\n  // the method takes exactly one argument, since that happens to be true\n  // in every case, so we don't have to touch the arguments object. The\n  // only additional allocation required is the completion record, which\n  // has a stable shape and so hopefully should be cheap to allocate.\n  function tryCatch(fn, obj, arg) {\n    try {\n      return { type: \"normal\", arg: fn.call(obj, arg) };\n    } catch (err) {\n      return { type: \"throw\", arg: err };\n    }\n  }\n\n  var GenStateSuspendedStart = \"suspendedStart\";\n  var GenStateSuspendedYield = \"suspendedYield\";\n  var GenStateExecuting = \"executing\";\n  var GenStateCompleted = \"completed\";\n\n  // Returning this object from the innerFn has the same effect as\n  // breaking out of the dispatch switch statement.\n  var ContinueSentinel = {};\n\n  // Dummy constructor functions that we use as the .constructor and\n  // .constructor.prototype properties for functions that return Generator\n  // objects. For full spec compliance, you may wish to configure your\n  // minifier not to mangle the names of these two functions.\n  function Generator() {}\n  function GeneratorFunction() {}\n  function GeneratorFunctionPrototype() {}\n\n  // This is a polyfill for %IteratorPrototype% for environments that\n  // don't natively support it.\n  var IteratorPrototype = {};\n  define(IteratorPrototype, iteratorSymbol, function () {\n    return this;\n  });\n\n  var getProto = Object.getPrototypeOf;\n  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n  if (NativeIteratorPrototype &&\n      NativeIteratorPrototype !== Op &&\n      hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n    // This environment has a native %IteratorPrototype%; use it instead\n    // of the polyfill.\n    IteratorPrototype = NativeIteratorPrototype;\n  }\n\n  var Gp = GeneratorFunctionPrototype.prototype =\n    Generator.prototype = Object.create(IteratorPrototype);\n  GeneratorFunction.prototype = GeneratorFunctionPrototype;\n  define(Gp, \"constructor\", GeneratorFunctionPrototype);\n  define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n  GeneratorFunction.displayName = define(\n    GeneratorFunctionPrototype,\n    toStringTagSymbol,\n    \"GeneratorFunction\"\n  );\n\n  // Helper for defining the .next, .throw, and .return methods of the\n  // Iterator interface in terms of a single ._invoke method.\n  function defineIteratorMethods(prototype) {\n    [\"next\", \"throw\", \"return\"].forEach(function(method) {\n      define(prototype, method, function(arg) {\n        return this._invoke(method, arg);\n      });\n    });\n  }\n\n  exports.isGeneratorFunction = function(genFun) {\n    var ctor = typeof genFun === \"function\" && genFun.constructor;\n    return ctor\n      ? ctor === GeneratorFunction ||\n        // For the native GeneratorFunction constructor, the best we can\n        // do is to check its .name property.\n        (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n      : false;\n  };\n\n  exports.mark = function(genFun) {\n    if (Object.setPrototypeOf) {\n      Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n    } else {\n      genFun.__proto__ = GeneratorFunctionPrototype;\n      define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n    }\n    genFun.prototype = Object.create(Gp);\n    return genFun;\n  };\n\n  // Within the body of any async function, `await x` is transformed to\n  // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n  // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n  // meant to be awaited.\n  exports.awrap = function(arg) {\n    return { __await: arg };\n  };\n\n  function AsyncIterator(generator, PromiseImpl) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n      if (record.type === \"throw\") {\n        reject(record.arg);\n      } else {\n        var result = record.arg;\n        var value = result.value;\n        if (value &&\n            typeof value === \"object\" &&\n            hasOwn.call(value, \"__await\")) {\n          return PromiseImpl.resolve(value.__await).then(function(value) {\n            invoke(\"next\", value, resolve, reject);\n          }, function(err) {\n            invoke(\"throw\", err, resolve, reject);\n          });\n        }\n\n        return PromiseImpl.resolve(value).then(function(unwrapped) {\n          // When a yielded Promise is resolved, its final value becomes\n          // the .value of the Promise<{value,done}> result for the\n          // current iteration.\n          result.value = unwrapped;\n          resolve(result);\n        }, function(error) {\n          // If a rejected Promise was yielded, throw the rejection back\n          // into the async generator function so it can be handled there.\n          return invoke(\"throw\", error, resolve, reject);\n        });\n      }\n    }\n\n    var previousPromise;\n\n    function enqueue(method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return new PromiseImpl(function(resolve, reject) {\n          invoke(method, arg, resolve, reject);\n        });\n      }\n\n      return previousPromise =\n        // If enqueue has been called before, then we want to wait until\n        // all previous Promises have been resolved before calling invoke,\n        // so that results are always delivered in the correct order. If\n        // enqueue has not been called before, then it is important to\n        // call invoke immediately, without waiting on a callback to fire,\n        // so that the async generator function has the opportunity to do\n        // any necessary setup in a predictable way. This predictability\n        // is why the Promise constructor synchronously invokes its\n        // executor callback, and why async functions synchronously\n        // execute code before the first await. Since we implement simple\n        // async functions in terms of async generators, it is especially\n        // important to get this right, even though it requires care.\n        previousPromise ? previousPromise.then(\n          callInvokeWithMethodAndArg,\n          // Avoid propagating failures to Promises returned by later\n          // invocations of the iterator.\n          callInvokeWithMethodAndArg\n        ) : callInvokeWithMethodAndArg();\n    }\n\n    // Define the unified helper method that is used to implement .next,\n    // .throw, and .return (see defineIteratorMethods).\n    this._invoke = enqueue;\n  }\n\n  defineIteratorMethods(AsyncIterator.prototype);\n  define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n    return this;\n  });\n  exports.AsyncIterator = AsyncIterator;\n\n  // Note that simple async functions are implemented on top of\n  // AsyncIterator objects; they just return a Promise for the value of\n  // the final result produced by the iterator.\n  exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n    if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n    var iter = new AsyncIterator(\n      wrap(innerFn, outerFn, self, tryLocsList),\n      PromiseImpl\n    );\n\n    return exports.isGeneratorFunction(outerFn)\n      ? iter // If outerFn is a generator, return the full iterator.\n      : iter.next().then(function(result) {\n          return result.done ? result.value : iter.next();\n        });\n  };\n\n  function makeInvokeMethod(innerFn, self, context) {\n    var state = GenStateSuspendedStart;\n\n    return function invoke(method, arg) {\n      if (state === GenStateExecuting) {\n        throw new Error(\"Generator is already running\");\n      }\n\n      if (state === GenStateCompleted) {\n        if (method === \"throw\") {\n          throw arg;\n        }\n\n        // Be forgiving, per 25.3.3.3.3 of the spec:\n        // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n        return doneResult();\n      }\n\n      context.method = method;\n      context.arg = arg;\n\n      while (true) {\n        var delegate = context.delegate;\n        if (delegate) {\n          var delegateResult = maybeInvokeDelegate(delegate, context);\n          if (delegateResult) {\n            if (delegateResult === ContinueSentinel) continue;\n            return delegateResult;\n          }\n        }\n\n        if (context.method === \"next\") {\n          // Setting context._sent for legacy support of Babel's\n          // function.sent implementation.\n          context.sent = context._sent = context.arg;\n\n        } else if (context.method === \"throw\") {\n          if (state === GenStateSuspendedStart) {\n            state = GenStateCompleted;\n            throw context.arg;\n          }\n\n          context.dispatchException(context.arg);\n\n        } else if (context.method === \"return\") {\n          context.abrupt(\"return\", context.arg);\n        }\n\n        state = GenStateExecuting;\n\n        var record = tryCatch(innerFn, self, context);\n        if (record.type === \"normal\") {\n          // If an exception is thrown from innerFn, we leave state ===\n          // GenStateExecuting and loop back for another invocation.\n          state = context.done\n            ? GenStateCompleted\n            : GenStateSuspendedYield;\n\n          if (record.arg === ContinueSentinel) {\n            continue;\n          }\n\n          return {\n            value: record.arg,\n            done: context.done\n          };\n\n        } else if (record.type === \"throw\") {\n          state = GenStateCompleted;\n          // Dispatch the exception by looping back around to the\n          // context.dispatchException(context.arg) call above.\n          context.method = \"throw\";\n          context.arg = record.arg;\n        }\n      }\n    };\n  }\n\n  // Call delegate.iterator[context.method](context.arg) and handle the\n  // result, either by returning a { value, done } result from the\n  // delegate iterator, or by modifying context.method and context.arg,\n  // setting context.delegate to null, and returning the ContinueSentinel.\n  function maybeInvokeDelegate(delegate, context) {\n    var method = delegate.iterator[context.method];\n    if (method === undefined) {\n      // A .throw or .return when the delegate iterator has no .throw\n      // method always terminates the yield* loop.\n      context.delegate = null;\n\n      if (context.method === \"throw\") {\n        // Note: [\"return\"] must be used for ES3 parsing compatibility.\n        if (delegate.iterator[\"return\"]) {\n          // If the delegate iterator has a return method, give it a\n          // chance to clean up.\n          context.method = \"return\";\n          context.arg = undefined;\n          maybeInvokeDelegate(delegate, context);\n\n          if (context.method === \"throw\") {\n            // If maybeInvokeDelegate(context) changed context.method from\n            // \"return\" to \"throw\", let that override the TypeError below.\n            return ContinueSentinel;\n          }\n        }\n\n        context.method = \"throw\";\n        context.arg = new TypeError(\n          \"The iterator does not provide a 'throw' method\");\n      }\n\n      return ContinueSentinel;\n    }\n\n    var record = tryCatch(method, delegate.iterator, context.arg);\n\n    if (record.type === \"throw\") {\n      context.method = \"throw\";\n      context.arg = record.arg;\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    var info = record.arg;\n\n    if (! info) {\n      context.method = \"throw\";\n      context.arg = new TypeError(\"iterator result is not an object\");\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    if (info.done) {\n      // Assign the result of the finished delegate to the temporary\n      // variable specified by delegate.resultName (see delegateYield).\n      context[delegate.resultName] = info.value;\n\n      // Resume execution at the desired location (see delegateYield).\n      context.next = delegate.nextLoc;\n\n      // If context.method was \"throw\" but the delegate handled the\n      // exception, let the outer generator proceed normally. If\n      // context.method was \"next\", forget context.arg since it has been\n      // \"consumed\" by the delegate iterator. If context.method was\n      // \"return\", allow the original .return call to continue in the\n      // outer generator.\n      if (context.method !== \"return\") {\n        context.method = \"next\";\n        context.arg = undefined;\n      }\n\n    } else {\n      // Re-yield the result returned by the delegate method.\n      return info;\n    }\n\n    // The delegate iterator is finished, so forget it and continue with\n    // the outer generator.\n    context.delegate = null;\n    return ContinueSentinel;\n  }\n\n  // Define Generator.prototype.{next,throw,return} in terms of the\n  // unified ._invoke helper method.\n  defineIteratorMethods(Gp);\n\n  define(Gp, toStringTagSymbol, \"Generator\");\n\n  // A Generator should always return itself as the iterator object when the\n  // @@iterator function is called on it. Some browsers' implementations of the\n  // iterator prototype chain incorrectly implement this, causing the Generator\n  // object to not be returned from this call. This ensures that doesn't happen.\n  // See https://github.com/facebook/regenerator/issues/274 for more details.\n  define(Gp, iteratorSymbol, function() {\n    return this;\n  });\n\n  define(Gp, \"toString\", function() {\n    return \"[object Generator]\";\n  });\n\n  function pushTryEntry(locs) {\n    var entry = { tryLoc: locs[0] };\n\n    if (1 in locs) {\n      entry.catchLoc = locs[1];\n    }\n\n    if (2 in locs) {\n      entry.finallyLoc = locs[2];\n      entry.afterLoc = locs[3];\n    }\n\n    this.tryEntries.push(entry);\n  }\n\n  function resetTryEntry(entry) {\n    var record = entry.completion || {};\n    record.type = \"normal\";\n    delete record.arg;\n    entry.completion = record;\n  }\n\n  function Context(tryLocsList) {\n    // The root entry object (effectively a try statement without a catch\n    // or a finally block) gives us a place to store values thrown from\n    // locations where there is no enclosing try statement.\n    this.tryEntries = [{ tryLoc: \"root\" }];\n    tryLocsList.forEach(pushTryEntry, this);\n    this.reset(true);\n  }\n\n  exports.keys = function(object) {\n    var keys = [];\n    for (var key in object) {\n      keys.push(key);\n    }\n    keys.reverse();\n\n    // Rather than returning an object with a next method, we keep\n    // things simple and return the next function itself.\n    return function next() {\n      while (keys.length) {\n        var key = keys.pop();\n        if (key in object) {\n          next.value = key;\n          next.done = false;\n          return next;\n        }\n      }\n\n      // To avoid creating an additional object, we just hang the .value\n      // and .done properties off the next function object itself. This\n      // also ensures that the minifier will not anonymize the function.\n      next.done = true;\n      return next;\n    };\n  };\n\n  function values(iterable) {\n    if (iterable) {\n      var iteratorMethod = iterable[iteratorSymbol];\n      if (iteratorMethod) {\n        return iteratorMethod.call(iterable);\n      }\n\n      if (typeof iterable.next === \"function\") {\n        return iterable;\n      }\n\n      if (!isNaN(iterable.length)) {\n        var i = -1, next = function next() {\n          while (++i < iterable.length) {\n            if (hasOwn.call(iterable, i)) {\n              next.value = iterable[i];\n              next.done = false;\n              return next;\n            }\n          }\n\n          next.value = undefined;\n          next.done = true;\n\n          return next;\n        };\n\n        return next.next = next;\n      }\n    }\n\n    // Return an iterator with no values.\n    return { next: doneResult };\n  }\n  exports.values = values;\n\n  function doneResult() {\n    return { value: undefined, done: true };\n  }\n\n  Context.prototype = {\n    constructor: Context,\n\n    reset: function(skipTempReset) {\n      this.prev = 0;\n      this.next = 0;\n      // Resetting context._sent for legacy support of Babel's\n      // function.sent implementation.\n      this.sent = this._sent = undefined;\n      this.done = false;\n      this.delegate = null;\n\n      this.method = \"next\";\n      this.arg = undefined;\n\n      this.tryEntries.forEach(resetTryEntry);\n\n      if (!skipTempReset) {\n        for (var name in this) {\n          // Not sure about the optimal order of these conditions:\n          if (name.charAt(0) === \"t\" &&\n              hasOwn.call(this, name) &&\n              !isNaN(+name.slice(1))) {\n            this[name] = undefined;\n          }\n        }\n      }\n    },\n\n    stop: function() {\n      this.done = true;\n\n      var rootEntry = this.tryEntries[0];\n      var rootRecord = rootEntry.completion;\n      if (rootRecord.type === \"throw\") {\n        throw rootRecord.arg;\n      }\n\n      return this.rval;\n    },\n\n    dispatchException: function(exception) {\n      if (this.done) {\n        throw exception;\n      }\n\n      var context = this;\n      function handle(loc, caught) {\n        record.type = \"throw\";\n        record.arg = exception;\n        context.next = loc;\n\n        if (caught) {\n          // If the dispatched exception was caught by a catch block,\n          // then let that catch block handle the exception normally.\n          context.method = \"next\";\n          context.arg = undefined;\n        }\n\n        return !! caught;\n      }\n\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        var record = entry.completion;\n\n        if (entry.tryLoc === \"root\") {\n          // Exception thrown outside of any try block that could handle\n          // it, so set the completion value of the entire function to\n          // throw the exception.\n          return handle(\"end\");\n        }\n\n        if (entry.tryLoc <= this.prev) {\n          var hasCatch = hasOwn.call(entry, \"catchLoc\");\n          var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n          if (hasCatch && hasFinally) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            } else if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else if (hasCatch) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            }\n\n          } else if (hasFinally) {\n            if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else {\n            throw new Error(\"try statement without catch or finally\");\n          }\n        }\n      }\n    },\n\n    abrupt: function(type, arg) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc <= this.prev &&\n            hasOwn.call(entry, \"finallyLoc\") &&\n            this.prev < entry.finallyLoc) {\n          var finallyEntry = entry;\n          break;\n        }\n      }\n\n      if (finallyEntry &&\n          (type === \"break\" ||\n           type === \"continue\") &&\n          finallyEntry.tryLoc <= arg &&\n          arg <= finallyEntry.finallyLoc) {\n        // Ignore the finally entry if control is not jumping to a\n        // location outside the try/catch block.\n        finallyEntry = null;\n      }\n\n      var record = finallyEntry ? finallyEntry.completion : {};\n      record.type = type;\n      record.arg = arg;\n\n      if (finallyEntry) {\n        this.method = \"next\";\n        this.next = finallyEntry.finallyLoc;\n        return ContinueSentinel;\n      }\n\n      return this.complete(record);\n    },\n\n    complete: function(record, afterLoc) {\n      if (record.type === \"throw\") {\n        throw record.arg;\n      }\n\n      if (record.type === \"break\" ||\n          record.type === \"continue\") {\n        this.next = record.arg;\n      } else if (record.type === \"return\") {\n        this.rval = this.arg = record.arg;\n        this.method = \"return\";\n        this.next = \"end\";\n      } else if (record.type === \"normal\" && afterLoc) {\n        this.next = afterLoc;\n      }\n\n      return ContinueSentinel;\n    },\n\n    finish: function(finallyLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.finallyLoc === finallyLoc) {\n          this.complete(entry.completion, entry.afterLoc);\n          resetTryEntry(entry);\n          return ContinueSentinel;\n        }\n      }\n    },\n\n    \"catch\": function(tryLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc === tryLoc) {\n          var record = entry.completion;\n          if (record.type === \"throw\") {\n            var thrown = record.arg;\n            resetTryEntry(entry);\n          }\n          return thrown;\n        }\n      }\n\n      // The context.catch method must only be called with a location\n      // argument that corresponds to a known catch block.\n      throw new Error(\"illegal catch attempt\");\n    },\n\n    delegateYield: function(iterable, resultName, nextLoc) {\n      this.delegate = {\n        iterator: values(iterable),\n        resultName: resultName,\n        nextLoc: nextLoc\n      };\n\n      if (this.method === \"next\") {\n        // Deliberately forget the last sent value so that we don't\n        // accidentally pass it on to the delegate.\n        this.arg = undefined;\n      }\n\n      return ContinueSentinel;\n    }\n  };\n\n  // Regardless of whether this script is executing as a CommonJS module\n  // or not, return the runtime object so that we can declare the variable\n  // regeneratorRuntime in the outer scope, which allows this module to be\n  // injected easily by `bin/regenerator --include-runtime script.js`.\n  return exports;\n\n}(\n  // If this script is executing as a CommonJS module, use module.exports\n  // as the regeneratorRuntime namespace. Otherwise create a new empty\n  // object. Either way, the resulting object will be used to initialize\n  // the regeneratorRuntime variable at the top of this file.\n  typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n  regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n  // This module should not be running in strict mode, so the above\n  // assignment should always work unless something is misconfigured. Just\n  // in case runtime.js accidentally runs in strict mode, in modern engines\n  // we can explicitly access globalThis. In older engines we can escape\n  // strict mode using a global Function call. This could conceivably fail\n  // if a Content Security Policy forbids using Function, but in that case\n  // the proper solution is to fix the accidental strict mode problem. If\n  // you've misconfigured your bundler to force strict mode and applied a\n  // CSP to forbid Function, and you're not willing to fix either of those\n  // problems, please detail your unique predicament in a GitHub issue.\n  if (typeof globalThis === \"object\") {\n    globalThis.regeneratorRuntime = runtime;\n  } else {\n    Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n  }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","export function getParams(url = \"\") {\r\n  url = url || location?.href;\r\n  var queryStart = url.indexOf(\"?\") + 1,\r\n    queryEnd = url.indexOf(\"#\") + 1 || url.length + 1,\r\n    query = url.slice(queryStart, queryEnd - 1),\r\n    pairs = query.replace(/\\+/g, \" \").split(\"&\"),\r\n    parms = {},\r\n    i,\r\n    n,\r\n    v,\r\n    nv;\r\n\r\n  if (query === url || query === \"\") return;\r\n\r\n  for (i = 0; i < pairs.length; i++) {\r\n    nv = pairs[i].split(\"=\", 2);\r\n    n = decodeURIComponent(nv[0]);\r\n    v = decodeURIComponent(nv[1]);\r\n\r\n    if (!parms.hasOwnProperty(n)) parms[n] = [];\r\n    parms[n] = nv.length === 2 ? v : null;\r\n  }\r\n  return parms;\r\n}\r\n","// import \"./public/index\";\r\nimport regeneratorRuntime from \"regenerator-runtime\";\r\nimport \"./public.scss\";\r\nimport { getParams } from \"./utils\";\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n  PDFP.protect(document.querySelectorAll(\".pdfp_wrapper\"));\r\n\r\n  const quickEmbedder = document.querySelectorAll(\".pdfp_quick_frame_wrapper\");\r\n  quickEmbedder.forEach((item) => {\r\n    const iframe = item.querySelector(\"iframe\");\r\n\r\n    const params = getParams(iframe?.src);\r\n    if (params.file) {\r\n      const file = new URL(params?.file);\r\n      const src = new URL(iframe?.src);\r\n\r\n      if (src?.protocol !== file?.protocol) {\r\n        iframe.src = src.href.replace(file.protocol, src.protocol);\r\n      }\r\n    }\r\n  });\r\n});\r\n\r\ndocument.addEventListener(\"adobe_dc_view_sdk.ready\", function () {\r\n  const documents = document.querySelectorAll(\".pdfp-adobe-viewer\");\r\n  documents.forEach((doc) => {\r\n    let url = doc?.href || doc?.dataset?.href;\r\n    const divId = doc?.dataset?.id || doc?.parentElement?.id;\r\n    const protect = doc?.dataset.protect || false;\r\n    const option = JSON.parse(doc?.dataset?.options, \"{}\");\r\n    const clientId = PDFP.scramble(\"decode\", pdfp.adobeClientKey);\r\n    window.doc = doc;\r\n    if (divId && url) {\r\n      if (protect) {\r\n        url = PDFP.scramble(\"decode\", doc?.href || doc?.dataset?.href);\r\n      }\r\n\r\n      if (doc?.tagName === \"BUTTON\") {\r\n        doc.addEventListener(\"click\", () => {\r\n          renderPDF();\r\n        });\r\n      } else {\r\n        renderPDF();\r\n      }\r\n\r\n      function renderPDF() {\r\n        var adobeDCView = new AdobeDC.View({ clientId, divId });\r\n        adobeDCView.previewFile(\r\n          {\r\n            content: { location: { url } },\r\n            metaData: { fileName: \" \" },\r\n          },\r\n          option\r\n        );\r\n      }\r\n    }\r\n  });\r\n});\r\n\r\nclass PDFP {\r\n  static protect = async (wrapperr) => {\r\n    const getDetectorData = this.getDetectorData(wrapperr);\r\n    let edge = false;\r\n    let objUrl = null;\r\n\r\n    if (!getDetectorData) {\r\n      return false;\r\n    }\r\n    const { wrapper, iframe, options, infos, frame } = getDetectorData;\r\n\r\n    if (infos?.protect) {\r\n      let src = iframe?.dataset?.source || \"\";\r\n      iframe.dataset.source = \"\";\r\n      let source = src.match(/\\?file=(.+)&nobaki/);\r\n      if (!source) {\r\n        edge = true;\r\n        source = src.match(/https:\\/\\/bplugins.com\\/(.+)/);\r\n      }\r\n      if (source) {\r\n        source = this.scramble(\"decode\", source[1]);\r\n        source = source.replace(/https?:/, window.location.protocol);\r\n        console.log({ source });\r\n        if (source.includes(\"dropbox.com\")) {\r\n          objUrl = source;\r\n        } else {\r\n          const result = await fetch(source);\r\n          const blob = await result.blob();\r\n          objUrl = URL.createObjectURL(blob);\r\n        }\r\n        if (!edge) {\r\n          source = src.replace(/\\?file=(.+)&nobaki/, `?file=${objUrl}&nobaki`);\r\n        } else {\r\n          source = objUrl;\r\n        }\r\n        iframe.src = source;\r\n\r\n        function detectDevTool(allow) {\r\n          if (isNaN(+allow)) allow = 100;\r\n          var start = +new Date(); // Validation of built-in Object tamper prevention.\r\n          debugger;\r\n          var end = +new Date(); // Validates too.\r\n          if (isNaN(start) || isNaN(end) || end - start > allow) {\r\n            URL.revokeObjectURL(objUrl);\r\n            alert(\"please close devtool\");\r\n            iframe.src = \"\";\r\n          }\r\n        }\r\n\r\n        if (window.attachEvent) {\r\n          if (document.readyState === \"complete\" || document.readyState === \"interactive\") {\r\n            detectDevTool();\r\n            window.attachEvent(\"onresize\", detectDevTool);\r\n            window.attachEvent(\"onmousemove\", detectDevTool);\r\n            window.attachEvent(\"onfocus\", detectDevTool);\r\n            window.attachEvent(\"onblur\", detectDevTool);\r\n          } else {\r\n            setTimeout(argument.callee, 0);\r\n          }\r\n        } else {\r\n          window.addEventListener(\"load\", detectDevTool);\r\n          window.addEventListener(\"resize\", detectDevTool);\r\n          window.addEventListener(\"mousemove\", detectDevTool);\r\n          window.addEventListener(\"focus\", detectDevTool);\r\n          window.addEventListener(\"blur\", detectDevTool);\r\n        }\r\n      }\r\n\r\n      // disable context menu\r\n\r\n      // disable ctrl, alt, shift, f12\r\n\r\n      if (!infos?.alert) {\r\n        document.oncontextmenu = function (e) {\r\n          e.preventDefault();\r\n        };\r\n        iframe.contentWindow.document.oncontextmenu = function (e) {\r\n          e.preventDefault();\r\n        };\r\n      } else {\r\n        setTimeout(() => {\r\n          document.getElementById(frame).contentWindow.document.oncontextmenu = function (e) {\r\n            alert(\"Right Click Disabled\");\r\n            e.preventDefault();\r\n          };\r\n        }, 1000);\r\n        document.oncontextmenu = function (e) {\r\n          alert(\"Right Click Disabled\");\r\n          e.preventDefault();\r\n        };\r\n      }\r\n      // if (wrapper.querySelector(\".pdfp_fullscreen\")) wrapper.querySelector(\".pdfp_fullscreen\").href = source;\r\n      // if (wrapper.querySelector(\".pdfp_download\")) wrapper.querySelector(\".pdfp_download\").href = source;\r\n    } else {\r\n      const params = getParams(iframe?.src);\r\n      const file = new URL(params?.file);\r\n      const src = new URL(iframe?.src);\r\n      const fullscreenBtn = wrapper.querySelector(\".pdfp_fullscreen\");\r\n      if (src?.protocol !== file?.protocol) {\r\n        iframe.src = src.href.replace(file.protocol, src.protocol);\r\n        if (fullscreenBtn) {\r\n          fullscreenBtn.href = src.href.replace(file.protocol, src.protocol);\r\n        }\r\n      }\r\n      iframe?.removeAttribute(\"data-source\");\r\n    }\r\n  };\r\n\r\n  static getDetectorData = (wrapper, options = false, infos = false) => {\r\n    let iframe = null;\r\n    let frame = null;\r\n\r\n    // get the exact wrapper\r\n    if (wrapper === null) {\r\n      return false;\r\n    }\r\n\r\n    if (typeof wrapper[0] !== \"undefined\") {\r\n      wrapper.forEach((item) => {\r\n        PDFP.protect(item);\r\n      });\r\n      return false;\r\n    }\r\n\r\n    if (typeof wrapper.length !== \"undefined\" && wrapper.length === 0) {\r\n      return false;\r\n    }\r\n\r\n    if (wrapper.querySelector(\".pdfp_wrapper\") !== null) {\r\n      wrapper = wrapper.querySelector(\".pdfp_wrapper\");\r\n    }\r\n\r\n    //get data from attribute if it not pass in function\r\n    if (!options && wrapper?.dataset?.options != undefined) {\r\n      options = JSON.parse(wrapper?.dataset?.options || \"{}\");\r\n    }\r\n    if (!infos && wrapper?.dataset?.infos != undefined) {\r\n      infos = JSON.parse(wrapper?.dataset?.infos || \"{}\");\r\n      wrapper.removeAttribute(\"data-infos\");\r\n    }\r\n\r\n    iframe = wrapper.querySelector(\"iframe\");\r\n    frame = wrapper.querySelector(\"iframe\").getAttribute(\"id\");\r\n\r\n    return {\r\n      wrapper,\r\n      iframe,\r\n      options,\r\n      infos,\r\n      frame,\r\n    };\r\n  };\r\n\r\n  static scramble(task = \"encode\", data = \"\") {\r\n    const originalKey = \"abcdefghijklmnopqrstuvwxyz1234567890\";\r\n    const key = \"z1ntg4ihmwj5cr09byx8spl7ak6vo2q3eduf\";\r\n    let resultData = \"\";\r\n    if (task == \"encode\") {\r\n      if (data != \"\") {\r\n        const length = data.length;\r\n        for (let i = 0; i < length; i++) {\r\n          const position = originalKey.indexOf(data[i]);\r\n          if (position !== -1) {\r\n            resultData += key[position];\r\n          } else {\r\n            resultData += data[i];\r\n          }\r\n        }\r\n      }\r\n    }\r\n\r\n    if (task == \"decode\") {\r\n      if (data != \"\") {\r\n        const length = data.length;\r\n        for (let i = 0; i < length; i++) {\r\n          const currentChar = data[i];\r\n          const position = key.indexOf(currentChar);\r\n          if (position !== -1) {\r\n            resultData += originalKey[position];\r\n          } else {\r\n            resultData += currentChar;\r\n          }\r\n        }\r\n      }\r\n    }\r\n    return resultData;\r\n  }\r\n}\r\n"],"names":["runtime","exports","undefined","Op","Object","prototype","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","key","value","defineProperty","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","state","GenStateSuspendedStart","method","arg","GenStateExecuting","Error","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","type","done","GenStateSuspendedYield","makeInvokeMethod","fn","call","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","invoke","resolve","reject","result","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","module","regeneratorRuntime","accidentalStrictMode","globalThis","Function","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getParams","url","location","href","n","v","nv","queryStart","indexOf","queryEnd","query","pairs","replace","split","parms","decodeURIComponent","document","addEventListener","PDFP","protect","querySelectorAll","item","iframe","querySelector","params","src","file","URL","protocol","doc","dataset","divId","id","parentElement","option","JSON","parse","options","clientId","scramble","pdfp","adobeClientKey","window","renderPDF","AdobeDC","View","previewFile","content","metaData","fileName","tagName","getDetectorData","wrapperr","edge","objUrl","wrapper","infos","frame","source","match","console","log","includes","fetch","blob","createObjectURL","detectDevTool","allow","start","Date","end","revokeObjectURL","alert","attachEvent","readyState","setTimeout","argument","callee","getElementById","contentWindow","oncontextmenu","e","preventDefault","fullscreenBtn","removeAttribute","getAttribute","task","data","originalKey","resultData","position","currentChar"],"sourceRoot":""}