From 2f8128b78948ca3eb734e3b041f84a05865090b8 Mon Sep 17 00:00:00 2001 From: Lee Bradley Date: Thu, 26 Sep 2024 13:51:27 +0100 Subject: [PATCH 1/2] TincyMCE: Gets it working and updated for SS5 --- _config.php | 28 +++++++------- client/dist/bundle.css | 2 +- client/dist/bundle.css.map | 2 +- client/dist/bundle.js | 2 +- client/dist/bundle.js.map | 2 +- client/dist/tinymce.js | 2 + client/dist/tinymce.js.map | 1 + client/dist/userform.js | 2 +- client/dist/userform.js.map | 2 +- client/src/js/TinyMCE_ssmedia.js | 66 +++++++++++++++++++++----------- package-lock.json | 33 ++++++++++++++++ package.json | 1 + webpack.config.js | 1 + 13 files changed, 101 insertions(+), 43 deletions(-) create mode 100644 client/dist/tinymce.js create mode 100644 client/dist/tinymce.js.map diff --git a/_config.php b/_config.php index ed24de8..c76f424 100644 --- a/_config.php +++ b/_config.php @@ -46,21 +46,19 @@ /** * Removes the built in `ssmedia` module and replaces it with the cloudinary one - * - * @TODO get this working */ -// call_user_func(function () { -// $module = ModuleLoader::inst()->getManifest()->getModule('mademedia/silverstripe-cloudinary'); +call_user_func(function () { + $module = ModuleLoader::inst()->getManifest()->getModule('mademedia/silverstripe-cloudinary'); -// // Re-enable media dialog -// $config = TinyMCEConfig::get('cms'); -// $config->disablePlugins([ -// 'ssmedia', // Removes the existing module so as to replace it -// ]); + // Re-enable media dialog + $config = TinyMCEConfig::get('cms'); + $config->disablePlugins([ + 'ssmedia', // Removes the existing module so as to replace it + ]); -// // Replaces the `ssmedia` module -// $config->enablePlugins([ -// 'ssmedia' => $module -// ->getResource('client/src/js/TinyMCE_ssmedia.js'), -// ]); -// }); + // Replaces the `ssmedia` module + $config->enablePlugins([ + 'ssmedia' => $module + ->getResource('client/dist/tinymce.js'), + ]); +}); diff --git a/client/dist/bundle.css b/client/dist/bundle.css index 3b461ba..f6f15fd 100644 --- a/client/dist/bundle.css +++ b/client/dist/bundle.css @@ -1,2 +1,2 @@ -.cloudinary-field__colour input,.cloudinary-field__colour:not(:first-child) span,.cloudinary-field__sr-only{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.cloudinary-field__inner{min-height:32px;position:relative}.cloudinary-field__loader{background-color:hsla(0,0%,100%,.75);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDEuNzMgMTQxLjc1Ij48cGF0aCBmaWxsPSIjMDA3MUNFIiBkPSJNMTE1LjU4IDEwOS4yNGEzLjgzIDMuODMgMCAwIDEtMS4xOC03LjQ2YzcuMjctMi4zOCAxMS45OC04Ljc2IDExLjk4LTE2LjI1YTE3LjIzIDE3LjIzIDAgMCAwLTE5LjQ0LTE3LjA0bC0zLjc0LjQ4LS41NC0zLjczYTMyLjkzIDMyLjkzIDAgMCAwLTMyLjQ1LTI4LjEgMzIuNjggMzIuNjggMCAwIDAtMzAuMzggMjAuNDNsLS45NSAyLjM0LTIuNTIuMDRhMjEuNSAyMS41IDAgMCAwLTguNSA0MS4wMSAzLjgzIDMuODMgMCAwIDEtMy4xOSA2Ljk2QTI5LjI2IDI5LjI2IDAgMCAxIDcuNyA4MS4zM2EyOS4yIDI5LjIgMCAwIDEgMjYuMDMtMjguODcgNDAuMjkgNDAuMjkgMCAwIDEgMzYuNDgtMjIuOTcgNDAuNjYgNDAuNjYgMCAwIDEgMzkuMzcgMzEuMTggMjQuODkgMjQuODkgMCAwIDEgMjQuNDUgMjQuODYgMjQuOCAyNC44IDAgMCAxLTE3LjI1IDIzLjUyYy0uNC4xMy0uOC4yLTEuMi4yeiIvPjxwYXRoIGZpbGw9IiNEQzgzMjciIGQ9Ik01Ny4xMiAxMTEuMDJoLS4wMVYxMTFoLS4wNGEuNjUuNjUgMCAwIDAtLjItLjA0aC0uMDFhMy4wMyAzLjAzIDAgMCAxLTMuMDMtM1Y3NC4yOWgyLjU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Db3VudD0iaW5kZWZpbml0ZSIvPjwvcGF0aD48cGF0aCBmaWxsPSIjRjJEODY0IiBkPSJNMTEwLjY3IDExMS4wMmgtLjAxbC0uMDEtLjAxaC0uMDFWMTExaC0uMDJhLjY1LjY1IDAgMCAwLS4yLS4wNWgtLjAyYTMuMDMgMy4wMyAwIDAgMS0zLjAyLTNWODkuMzZoMi41OGMuMzcgMCAuNjctLjI4LjY3LS42NCAwLS4yNy0uMTctLjUtLjQtLjZsLTEyLjM5LTguNTVhLjY1LjY1IDAgMCAwLS43MyAwbC0xMi40OCA4LjYxYS42NS42NSAwIDAgMCAuMzcgMS4xOWgyLjU3djE4LjZhNC4zMyA0LjMzIDAgMCAwIDQuMzUgNC4yOWgxOC40OGMuMTggMCAuMzMtLjA3LjQ1LS4xOHYtLjAxaC4wMXYtLjAxYS42NS42NSAwIDAgMCAuMTktLjQ1di0uMDFhLjY1LjY1IDAgMCAwLS4zOC0uNTh6Ij48YW5pbWF0ZSBkdXI9IjJzIiB2YWx1ZXM9IiMwMDcxQ0U7ICNGMkQ4NjQ7ICMwMDcxQ0UiIGtleVRpbWVzPSIwOyAwLjU7IDEiIGF0dHJpYnV0ZU5hbWU9ImZpbGwiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9wYXRoPjwvc3ZnPg==);background-position:50%;background-repeat:no-repeat;background-size:32px 32px;height:calc(100% + 10px);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:calc(100% + 10px);z-index:1}.cloudinary-field__button:before{speak:none;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDEuNzMyIDE0MS43NDciIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik0xMTUuNTg1IDEwOS4yNDJhMy44MjYgMy44MjYgMCAwIDEtMS4xODgtNy40NjNjNy4yNzgtMi4zODIg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tLjAwMS4wMDEtLjAwMS4wMDEtLjAwMS4wMDEtLjAwMS4wMDEtLjAwMWMuMDAzLS4wMDEuMDAxLS4wMDEuMDAyLS4wMDJsLjAwMS0uMDAxLjAwMS0uMDAxLjAwMS0uMDAxYS42NDcuNjQ3IDAgMCAwIC4xODMtLjQ0N3YtLjAxYS42NTMuNjUzIDAgMCAwLS4zODItLjU4eiIvPjwvZz48L3N2Zz4=);background-position:50%;background-repeat:no-repeat;background-size:contain;content:" ";display:inline-block;height:1.5384rem;margin-right:6px;position:relative;vertical-align:middle;width:1.5384rem}.cloudinary-field__insert+.cloudinary-field__items{margin-top:1rem}.cloudinary-field__item{display:flex}.cloudinary-field__item+.cloudinary-field__item{border-top:1px solid #dce0e8;margin-top:10px;padding-top:10px}.cloudinary-field-order{font-size:2em;padding:0 .5em 0 0}.cloudinary-field-order__move{cursor:pointer;display:block}.cloudinary-field-order__move ins{text-decoration:none}.cloudinary-field-order__move--down.cloudinary-field-order__move--last,.cloudinary-field-order__move--up.cloudinary-field-order__move--first{cursor:not-allowed}.cloudinary-field__media{align-self:flex-start;line-height:0;position:relative}.cloudinary-field__media:hover .cloudinary-field__actions{opacity:1}.cloudinary-field__preview{border-radius:3px;display:inline-block;height:150px;overflow:hidden;width:200px}.cloudinary-field__preview--raw{background-color:#bdc3c7;background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZWNmMGYxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNSAzMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjUgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGQ9Ik0xNy45NTQgOGg0Ljc0MWEuOTU0Ljk1NCAwIDAgMCAuNjc1LTEuNjNsLTQuNzQxLTQuNzQxQS45NTQuOTU0IDAgMCAwIDE3IDIuMzA1djQuNzQxYzAgLjUyNi40MjcuOTU0Ljk1NC45NTR6Ii8+PHBhdGggZD0iTTI0LjA0NiAxMGgtNy4xMjRBMS45MjEgMS45MjEgMCAwIDEgMTUgOC4wNzhWLjk1NEEuOTU0Ljk1NCAwIDAgMCAxNC4wNDYgMEgzQzEuMzYzIDAgMCAxLjMyNyAwIDIuOTY1VjI5YzAgMS42MzggMS4zNjMgMyAzIDNoMTkuMDM1QzIzLjY3MyAzMiAyNSAzMC42MzggMjUgMjlWMTAuOTU0YS45NTQuOTU0IDAgMCAwLS45NTQtLjk1NHpNMTggMjVIN2ExIDEgMCAxIDEgMC0yaDExYTEgMSAwIDEgMSAwIDJ6bTAtNEg3YTEgMSAwIDEgMSAwLTJoMTFhMSAxIDAgMSAxIDAgMnptMC00SDdhMSAxIDAgMCAxIDAtMmgxMWExIDEgMCAwIDEgMCAyeiIvPjwvc3ZnPg==);background-position:50%;background-repeat:no-repeat;background-size:25%}.cloudinary-field__actions{align-items:center;background:linear-gradient(180deg,transparent,transparent 10%,rgba(0,0,0,.35) 30%,rgba(0,0,0,.35) 70%,transparent 90%,transparent);bottom:0;display:flex;justify-content:space-evenly;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.cloudinary-field__action{background:transparent;border:none;padding:0}.cloudinary-field__action:before{background-position:50%;background-repeat:no-repeat;background-size:contain;content:" ";display:inline-block;height:24px;width:24px}.cloudinary-field__action--edit:before{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNDg0LjUgNDU5LjJoLTQ1N2EyNS40IDI1LjQgMCAwIDAgMCA1MC44aDQ1Ny4xYTI1LjQgMjUuNCAwIDEgMC0uMS01MC44ek05Ni45IDQwMS43bDcxLjgtMTQuNCA1LjItMi44IDkuMS05LjFjNC00IDQtMTAuNCAwLTE0LjRsLTU3LjUtNTcuNWMtNC00LTEwLjQtNC0xNC40IDBsLTkuMSA5LjEtMi44IDUuMkw4NSAzODkuN2ExMC4yIDEwLjIgMCAwIDAgMTEuOSAxMnptMTIyLTc2LjVjNCA0IDEwLjQgNCAxNC40IDBMNDA2LjQgMTUyYzQtNCA0LTEwLjQgMC0xNC40TDM0OSA4MC4yYy00LTQtMTAuNC00LTE0LjQgMEwxNjEuNSAyNTMuNGMtNCA0LTQgMTAuNCAwIDE0LjRsNTcuNCA1Ny40em0yMjMuNC0yMjMuNGM0IDQgMTAuNCA0IDE0LjQgMGwyNS0yNWM0LTQgNC0xMC40IDAtMTQuNEw0MjQuMiA1Yy00LTQtMTAuNC00LTE0LjQgMGwtMjUgMjVjLTQgNC00IDEwLjQgMCAxNC40bDU3LjUgNTcuNHoiLz48L3N2Zz4=)}.cloudinary-field__action--remove:before{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMjU2IDJhMjU0IDI1NCAwIDEgMCAwIDUwOCAyNTQgMjU0IDAgMCAwIDAtNTA4em0wIDQ1Ny4yQzE0NCA0NTkuMiA1Mi44IDM2OCA1Mi44IDI1NiA1Mi44IDE0NCAxNDQgNTIuOCAyNTYgNTIuOFM0NTkuMiAxNDQgNDU5LjIgMjU2YzAgMTEyLTkxLjIgMjAzLjItMjAzLjIgMjAzLjJ6Ii8+PHBhdGggZD0iTTM3Mi44IDIzMC42SDEzOS4yYy01LjYgMC0xMC4yIDQuNS0xMC4yIDEwLjJ2MzAuNWMwIDUuNiA0LjUgMTAuMiAxMC4yIDEwLjJoMjMzLjdjNS42IDAgMTAuMi00LjUgMTAuMi0xMC4ydi0zMC41YTEwLjMgMTAuMyAwIDAgMC0xMC4zLTEwLjJ6Ii8+PC9zdmc+)}.cloudinary-field__action--link:before{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNDcyLjggMzkuM2MtMjQtMjQtNTYtMzcuMy05MC0zNy4zcy02NS45IDEzLjItOTAgMzcuM2wtNTkuMSA1OS4xYTI1LjQgMjUuNCAwIDAgMCAzNS45IDM1LjlsNTkuMS01OS4xYTc4LjIgNzguMiAwIDAgMSAxMDguMSAwIDc2LjUgNzYuNSAwIDAgMSAwIDEwOC4xbC01OS4xIDU5LjFhMjUuNCAyNS40IDAgMSAwIDM2IDM1LjlsNTkuMS01OS4xYTEyNy40IDEyNy40IDAgMCAwIDAtMTc5Ljl6TTI0Mi40IDM3Ny43bC01OS4xIDU5LjFhNzYuNSA3Ni41IDAgMCAxLTEzMC41LTU0YzAtMjAuNCA3LjktMzkuNiAyMi40LTU0bDU5LjEtNTkuMWEyNS40IDI1LjQgMCAwIDAtMzUuOS0zNS45bC01OS4xIDU5LjFjLTI0IDI0LTM3LjMgNTYtMzcuMyA5MHMxMy4yIDY1LjkgMzcuMyA5MGExMjYuOSAxMjYuOSAwIDAgMCA5MCAzNy4yYzMyLjYgMCA2NS4yLTEyLjQgOTAtMzcuMmw1OS4xLTU5LjFjOS45LTkuOSA5LjktMjYgMC0zNS45YTI1LjQgMjUuNCAwIDAgMC0zNi0uMnoiLz48cGF0aCBkPSJNMzE0LjMgMTYxLjkgMTYxLjkgMzE0LjNhMjUuNCAyNS40IDAgMSAwIDM2IDM1LjlsMTUyLjQtMTUyLjRhMjUuNCAyNS40IDAgMSAwLTM2LTM1Ljl6Ii8+PC9zdmc+)}.cloudinary-field__meta{flex-grow:1;margin-left:1.5em;max-width:650px}.cloudinary-field__field+.cloudinary-field__field{margin-top:1rem}.cloudinary-field__picker{display:flex;flex-wrap:wrap;margin:-2px}.cloudinary-field__colour{border:0 solid #008a00;border-radius:2px;height:48px;margin:2px;position:relative;width:48px}.cloudinary-field__colour:first-child span{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.cloudinary-field__colour--selected{border-width:1px;box-shadow:0 0 5px #008a00} +.cloudinary-field__colour input,.cloudinary-field__colour:not(:first-child) span,.cloudinary-field__sr-only{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.cloudinary-field__inner{min-height:32px;position:relative}.cloudinary-field__loader{background-color:hsla(0,0%,100%,.75);background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDEuNzMgMTQxLjc1Ij48cGF0aCBmaWxsPSIjMDA3MUNFIiBkPSJNMTE1LjU4IDEwOS4yNGEzLjgzIDMuODMgMCAwIDEtMS4xOC03LjQ2YzcuMjctMi4zOCAxMS45OC04Ljc2IDExLjk4LTE2LjI1YTE3LjIzIDE3LjIzIDAgMCAwLTE5LjQ0LTE3LjA0bC0zLjc0LjQ4LS41NC0zLjczYTMyLjkzIDMyLjkzIDAgMCAwLTMyLjQ1LTI4LjEgMzIuNjggMzIuNjggMCAwIDAtMzAuMzggMjAuNDNsLS45NSAyLjM0LTIuNTIuMDRhMjEuNSAyMS41IDAgMCAwLTguNSA0MS4wMSAzLjgzIDMuODMgMCAwIDEtMy4xOSA2Ljk2QTI5LjI2IDI5LjI2IDAgMCAxIDcuNyA4MS4zM2EyOS4yIDI5LjIgMCAwIDEgMjYuMDMtMjguODcgNDAuMjkgNDAuMjkgMCAwIDEgMzYuNDgtMjIuOTcgNDAuNjYgNDAuNjYgMCAwIDEgMzkuMzcgMzEuMTggMjQuODkgMjQuODkgMCAwIDEgMjQuNDUgMjQuODYgMjQuOCAyNC44IDAgMCAxLTE3LjI1IDIzLjUyYy0uNC4xMy0uOC4yLTEuMi4yeiIvPjxwYXRoIGZpbGw9IiNEQzgzMjciIGQ9Ik01Ny4xMiAxMTEuMDJoLS4wMVY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AjRjRCMjFCOyAjMDA3MUNFIiBrZXlUaW1lcz0iMDsgMC41OyAxIiBhdHRyaWJ1dGVOYW1lPSJmaWxsIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIvPjwvcGF0aD48cGF0aCBmaWxsPSIjRjJEODY0IiBkPSJNMTEwLjY3IDExMS4wMmgtLjAxbC0uMDEtLjAxaC0uMDFWMTExaC0uMDJhLjY1LjY1IDAgMCAwLS4yLS4wNWgtLjAyYTMuMDMgMy4wMyAwIDAgMS0zLjAyLTNWODkuMzZoMi41OGMuMzcgMCAuNjctLjI4LjY3LS42NCAwLS4yNy0uMTctLjUtLjQtLjZsLTEyLjM5LTguNTVhLjY1LjY1IDAgMCAwLS43MyAwbC0xMi40OCA4LjYxYS42NS42NSAwIDAgMCAuMzcgMS4xOWgyLjU3djE4LjZhNC4zMyA0LjMzIDAgMCAwIDQuMzUgNC4yOWgxOC40OGMuMTggMCAuMzMtLjA3LjQ1LS4xOHYtLjAxaC4wMXYtLjAxYS42NS42NSAwIDAgMCAuMTktLjQ1di0uMDFhLjY1LjY1IDAgMCAwLS4zOC0uNTh6Ij48YW5pbWF0ZSBkdXI9IjJzIiB2YWx1ZXM9IiMwMDcxQ0U7ICNGMkQ4NjQ7ICMwMDcxQ0UiIGtleVRpbWVzPSIwOyAwLjU7IDEiIGF0dHJpYnV0ZU5hbWU9ImZpbGwiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9wYXRoPjwvc3ZnPg==);background-position:50%;background-repeat:no-repeat;background-size:32px 32px;height:calc(100% + 10px);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:calc(100% + 10px);z-index:1}.cloudinary-field__button:before{speak:none;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDEuNzMyIDE0MS43NDciIHhtbDpzcG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I4OWEuNjguNjggMCAwIDAgLjA3OC4wMDRoMTguNDkyYS42NDkuNjQ5IDAgMCAwIC40MzgtLjE4bC4wMDEtLjAwMS4wMDUtLjAwNS4wMDMtLjAwMy4wMDEtLjAwMS4wMDEtLjAwMS4wMDEtLjAwMS4wMDEtLjAwMS4wMDEtLjAwMS4wMDEtLjAwMWMuMDAzLS4wMDEuMDAxLS4wMDEuMDAyLS4wMDJsLjAwMS0uMDAxLjAwMS0uMDAxLjAwMS0uMDAxYS42NDcuNjQ3IDAgMCAwIC4xODMtLjQ0N3YtLjAxYS42NTMuNjUzIDAgMCAwLS4zODItLjU4eiIvPjwvZz48L3N2Zz4=);background-position:50%;background-repeat:no-repeat;background-size:contain;content:" ";display:inline-block;height:1.5384rem;margin-right:6px;position:relative;vertical-align:middle;width:1.5384rem}.cloudinary-field__insert+.cloudinary-field__items{margin-top:1rem}.cloudinary-field__item{display:-webkit-box;display:-ms-flexbox;display:flex}.cloudinary-field__item+.cloudinary-field__item{border-top:1px solid #dce0e8;margin-top:10px;padding-top:10px}.cloudinary-field-order{font-size:2em;padding:0 .5em 0 0}.cloudinary-field-order__move{cursor:pointer;display:block}.cloudinary-field-order__move ins{text-decoration:none}.cloudinary-field-order__move--down.cloudinary-field-order__move--last,.cloudinary-field-order__move--up.cloudinary-field-order__move--first{cursor:not-allowed}.cloudinary-field__media{-ms-flex-item-align:start;align-self:flex-start;line-height:0;position:relative}.cloudinary-field__media:hover .cloudinary-field__actions{opacity:1}.cloudinary-field__preview{border-radius:3px;display:inline-block;height:150px;overflow:hidden;width:200px}.cloudinary-field__preview--raw{background-color:#bdc3c7;background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZWNmMGYxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNSAzMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjUgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGQ9Ik0xNy45NTQgOGg0Ljc0MWEuOTU0Ljk1NCAwIDAgMCAuNjc1LTEuNjNsLTQuNzQxLTQuNzQxQS45NTQuOTU0IDAgMCAwIDE3IDIuMzA1djQuNzQxYzAgLjUyNi40MjcuOTU0Ljk1NC45NTR6Ii8+PHBhdGggZD0iTTI0LjA0NiAxMGgtNy4xMjRBMS45MjEgMS45MjEgMCAwIDEgMTUgOC4wNzhWLjk1NEEuOTU0Ljk1NCAwIDAgMCAxNC4wNDYgMEgzQzEuMzYzIDAgMCAxLjMyNyAwIDIuOTY1VjI5YzAgMS42MzggMS4zNjMgMyAzIDNoMTkuMDM1QzIzLjY3MyAzMiAyNSAzMC42MzggMjUgMjlWMTAuOTU0YS45NTQuOTU0IDAgMCAwLS45NTQtLjk1NHpNMTggMjVIN2ExIDEgMCAxIDEgMC0yaDExYTEgMSAwIDEgMSAwIDJ6bTAtNEg3YTEgMSAwIDEgMSAwLTJoMTFhMSAxIDAgMSAxIDAgMnptMC00SDdhMSAxIDAgMCAxIDAtMmgxMWExIDEgMCAwIDEgMCAyeiIvPjwvc3ZnPg==);background-position:50%;background-repeat:no-repeat;background-size:25%}.cloudinary-field__actions{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0)),color-stop(10%,rgba(0,0,0,0)),color-stop(30%,rgba(0,0,0,.35)),color-stop(70%,rgba(0,0,0,.35)),color-stop(90%,rgba(0,0,0,0)),to(rgba(0,0,0,0)));background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,0) 10%,rgba(0,0,0,.35) 30%,rgba(0,0,0,.35) 70%,rgba(0,0,0,0) 90%,rgba(0,0,0,0));bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-evenly;left:0;opacity:0;position:absolute;right:0;top:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.cloudinary-field__action{background:transparent;border:none;padding:0}.cloudinary-field__action:before{background-position:50%;background-repeat:no-repeat;background-size:contain;content:" ";display:inline-block;height:24px;width:24px}.cloudinary-field__action--edit:before{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNDg0LjUgNDU5LjJoLTQ1N2EyNS40IDI1LjQgMCAwIDAgMCA1MC44aDQ1Ny4xYTI1LjQgMjUuNCAwIDEgMC0uMS01MC44ek05Ni45IDQwMS43bDcxLjgtMTQuNCA1LjItMi44IDkuMS05LjFjNC00IDQtMTAuNCAwLTE0LjRsLTU3LjUtNTcuNWMtNC00LTEwLjQtNC0xNC40IDBsLTkuMSA5LjEtMi44IDUuMkw4NSAzODkuN2ExMC4yIDEwLjIgMCAwIDAgMTEuOSAxMnptMTIyLTc2LjVjNCA0IDEwLjQgNCAxNC40IDBMNDA2LjQgMTUyYzQtNCA0LTEwLjQgMC0xNC40TDM0OSA4MC4yYy00LTQtMTAuNC00LTE0LjQgMEwxNjEuNSAyNTMuNGMtNCA0LTQgMTAuNCAwIDE0LjRsNTcuNCA1Ny40em0yMjMuNC0yMjMuNGM0IDQgMTAuNCA0IDE0LjQgMGwyNS0yNWM0LTQgNC0xMC40IDAtMTQuNEw0MjQuMiA1Yy00LTQtMTAuNC00LTE0LjQgMGwtMjUgMjVjLTQgNC00IDEwLjQgMCAxNC40bDU3LjUgNTcuNHoiLz48L3N2Zz4=)}.cloudinary-field__action--remove:before{background-image:url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMjU2IDJhMjU0IDI1NCAwIDEgMCAwIDUwOCAyNTQgMjU0IDAgMCAwI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MCAzNy4yYzMyLjYgMCA2NS4yLTEyLjQgOTAtMzcuMmw1OS4xLTU5LjFjOS45LTkuOSA5LjktMjYgMC0zNS45YTI1LjQgMjUuNCAwIDAgMC0zNi0uMnoiLz48cGF0aCBkPSJNMzE0LjMgMTYxLjkgMTYxLjkgMzE0LjNhMjUuNCAyNS40IDAgMSAwIDM2IDM1LjlsMTUyLjQtMTUyLjRhMjUuNCAyNS40IDAgMSAwLTM2LTM1Ljl6Ii8+PC9zdmc+)}.cloudinary-field__meta{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin-left:1.5em;max-width:650px}.cloudinary-field__field+.cloudinary-field__field{margin-top:1rem}.cloudinary-field__picker{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:-2px}.cloudinary-field__colour{border:0 solid #008a00;border-radius:2px;height:48px;margin:2px;position:relative;width:48px}.cloudinary-field__colour:first-child span{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.cloudinary-field__colour--selected{border-width:1px;-webkit-box-shadow:0 0 5px #008a00;box-shadow:0 0 5px #008a00} /*# sourceMappingURL=bundle.css.map */ \ No newline at end of file diff --git a/client/dist/bundle.css.map b/client/dist/bundle.css.map index ce7a403..3855ad7 100644 --- a/client/dist/bundle.css.map +++ b/client/dist/bundle.css.map @@ -1 +1 @@ -{"version":3,"sources":["../src/css/bundle.scss","bundle.css"],"names":[],"mappings":"AAIA,4GACI,kBAAA,CACA,4BAAA,CAAA,oBAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,kBAAA,CACA,SCHJ,CDMA,yBAEI,eAAA,CADA,iBCFJ,CDMA,0BAQI,oCAAA,CAPA,wlFAAA,CAKA,uBAAA,CADA,2BAAA,CAEA,yBAAA,CAHA,wBAAA,CAMA,QAAA,CARA,iBAAA,CAOA,OAAA,CAEA,8BAAA,CARA,uBAAA,CASA,SCHJ,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BAAA,CADA,2BAAA,CAEA,uBAAA,CAJA,WAAA,CACA,oBAAA,CAKA,WAAA,CADA,UCPR,CDWI,uCACI,owBCTR,CDYI,yCACI,wkBCVR,CDaI,uCACI,o7BCXR,CDeA,wBAEI,kBAAA,CAAA,mBAAA,CAAA,WAAA,CACA,iBAAA,CAFA,eCVJ,CDqBA,kDACI,eClBJ,CDqBA,0BACI,mBAAA,CAAA,mBAAA,CAAA,YAAA,CACA,kBAAA,CAAA,cAAA,CACA,WClBJ,CDqBA,0BAMI,sBAAA,CADA,iBAAA,CADA,WAAA,CAFA,UAAA,CADA,iBAAA,CAEA,UCfJ,CDwBI,2CAGI,QAAA,CAFA,iBAAA,CACA,OAAA,CAEA,sCAAA,CAAA,kCAAA,CAAA,8BCtBR,CDyBI,oCACI,gBAAA,CACA,kCAAA,CAAA,0BCvBR","file":"bundle.css"} \ No newline at end of file diff --git a/client/dist/bundle.js b/client/dist/bundle.js index a37f44d..0e5d2a3 100644 --- a/client/dist/bundle.js +++ b/client/dist/bundle.js @@ -1,2 +1,2 @@ -/*! silverstripe-cloudinary - v2.0.0 */(()=>{var r={78:function(t,e,r){var n;n=function(r,n,o,i,u,a,c,s,l,f,p,h,d,y){return m={"./src/namespace/cloudinary-core.js":function(t,e,r){"use strict";r.r(e),r.d(e,"ClientHintsMetaTag",function(){return qr}),r.d(e,"Cloudinary",function(){return fn}),r.d(e,"Condition",function(){return qt}),r.d(e,"Configuration",function(){return Kt}),r.d(e,"crc32",function(){return a}),r.d(e,"Expression",function(){return zt}),r.d(e,"FetchLayer",function(){return ye}),r.d(e,"HtmlTag",function(){return Ye}),r.d(e,"ImageTag",function(){return yr}),r.d(e,"Layer",function(){return Xt}),r.d(e,"PictureTag",function(){return Cr}),r.d(e,"SubtitlesLayer",function(){return se}),r.d(e,"TextLayer",function(){return oe}),r.d(e,"Transformation",function(){return We}),r.d(e,"utf8_encode",function(){return i}),r.d(e,"Util",function(){return o}),r.d(e,"VideoTag",function(){return zr});var n={};r.r(n),r.d(n,"VERSION",function(){return T}),r.d(n,"CF_SHARED_CDN",function(){return I}),r.d(n,"OLD_AKAMAI_SHARED_CDN",function(){return N}),r.d(n,"AKAMAI_SHARED_CDN",function(){return L}),r.d(n,"SHARED_CDN",function(){return z}),r.d(n,"DEFAULT_TIMEOUT_MS",function(){return M}),r.d(n,"DEFAULT_POSTER_OPTIONS",function(){return V}),r.d(n,"DEFAULT_VIDEO_SOURCE_TYPES",function(){return U}),r.d(n,"SEO_TYPES",function(){return H}),r.d(n,"DEFAULT_IMAGE_PARAMS",function(){return $}),r.d(n,"DEFAULT_VIDEO_PARAMS",function(){return q}),r.d(n,"DEFAULT_VIDEO_SOURCES",function(){return W}),r.d(n,"DEFAULT_EXTERNAL_LIBRARIES",function(){return G}),r.d(n,"PLACEHOLDER_IMAGE_MODES",function(){return Y}),r.d(n,"ACCESSIBILITY_MODES",function(){return Q}),r.d(n,"URL_KEYS",function(){return K});var o={};r.r(o),r.d(o,"getSDKAnalyticsSignature",function(){return d}),r.d(o,"getAnalyticsOptions",function(){return y}),r.d(o,"assign",function(){return m.a}),r.d(o,"cloneDeep",function(){return b.a}),r.d(o,"compact",function(){return g.a}),r.d(o,"difference",function(){return _.a}),r.d(o,"functions",function(){return w.a}),r.d(o,"identity",function(){return O.a}),r.d(o,"includes",function(){return x.a}),r.d(o,"isArray",function(){return j.a}),r.d(o,"isPlainObject",function(){return k.a}),r.d(o,"isString",function(){return E.a}),r.d(o,"merge",function(){return A.a}),r.d(o,"contains",function(){return x.a}),r.d(o,"isIntersectionObserverSupported",function(){return P}),r.d(o,"isNativeLazyLoadSupported",function(){return B}),r.d(o,"detectIntersection",function(){return F}),r.d(o,"omit",function(){return X}),r.d(o,"allStrings",function(){return J}),r.d(o,"without",function(){return tt}),r.d(o,"isNumberLike",function(){return et}),r.d(o,"smartEscape",function(){return rt}),r.d(o,"defaults",function(){return nt}),r.d(o,"objectProto",function(){return ot}),r.d(o,"objToString",function(){return it}),r.d(o,"isObject",function(){return ut}),r.d(o,"funcTag",function(){return at}),r.d(o,"reWords",function(){return ct}),r.d(o,"camelCase",function(){return st}),r.d(o,"snakeCase",function(){return lt}),r.d(o,"convertKeys",function(){return ft}),r.d(o,"withCamelCaseKeys",function(){return pt}),r.d(o,"withSnakeCaseKeys",function(){return ht}),r.d(o,"base64Encode",function(){return dt}),r.d(o,"base64EncodeURL",function(){return yt}),r.d(o,"extractUrlParams",function(){return vt}),r.d(o,"patchFetchFormat",function(){return mt}),r.d(o,"optionConsume",function(){return bt}),r.d(o,"isEmpty",function(){return gt}),r.d(o,"isElement",function(){return S.a}),r.d(o,"isFunction",function(){return C.a}),r.d(o,"trim",function(){return R.a}),r.d(o,"getData",function(){return _t}),r.d(o,"setData",function(){return wt}),r.d(o,"getAttribute",function(){return Ot}),r.d(o,"setAttribute",function(){return xt}),r.d(o,"removeAttribute",function(){return jt}),r.d(o,"setAttributes",function(){return kt}),r.d(o,"hasClass",function(){return Et}),r.d(o,"addClass",function(){return At}),r.d(o,"getStyles",function(){return St}),r.d(o,"cssExpand",function(){return Ct}),r.d(o,"domStyle",function(){return Dt}),r.d(o,"curCSS",function(){return Pt}),r.d(o,"cssValue",function(){return Bt}),r.d(o,"augmentWidthOrHeight",function(){return Ft}),r.d(o,"getWidthOrHeight",function(){return It}),r.d(o,"width",function(){return Nt});var i=function(t){var e,r,n,o,i,u,a,c;if(null==t)return"";for(n=i=void 0,i=n=0,a=(u=t+(c="")).length,o=0;o>6|192,63&e|128):String.fromCharCode(e>>12|224,e>>6&63|128,63&e|128),null!==r&&(i>>8^"0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substr(9*n,8),e++;return(o^=-1)<0&&(o+=4294967296),o};function u(t,e,r){return e>>=0,r=String(void 0!==r?r:" "),t.length>e?String(t):((e-=t.length)>r.length&&(r+=function(t,e){var r="";for(;0t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=|<=|&&|!=|>|=|<|/|-|\\+|\\*|\\^)(?=[ _]))","g");t=t.replace(e,function(t){return n.OPERATORS[t]});e="("+Object.keys(n.PREDEFINED_VARS).map(function(t){return":".concat(t,"|").concat(t)}).join("|")+")",e=new RegExp("".concat("(\\$_*[^_ ]+)","|").concat(e),"g");return(t=t.replace(e,function(t){return n.PREDEFINED_VARS[t]||t})).replace(/[ _]+/g,"_")}},{key:"variable",value:function(t,e){return new this(t).value(e)}},{key:"width",value:function(){return new this("width")}},{key:"height",value:function(){return new this("height")}},{key:"initialWidth",value:function(){return new this("initialWidth")}},{key:"initialHeight",value:function(){return new this("initialHeight")}},{key:"aspectRatio",value:function(){return new this("aspectRatio")}},{key:"initialAspectRatio",value:function(){return new this("initialAspectRatio")}},{key:"pageCount",value:function(){return new this("pageCount")}},{key:"faceCount",value:function(){return new this("faceCount")}},{key:"currentPage",value:function(){return new this("currentPage")}},{key:"tags",value:function(){return new this("tags")}},{key:"pageX",value:function(){return new this("pageX")}},{key:"pageY",value:function(){return new this("pageY")}}],(e=[{key:"serialize",value:function(){return n.normalize(this.expressions.join("_"))}},{key:"toString",value:function(){return this.serialize()}},{key:"getParent",value:function(){return this.parent}},{key:"setParent",value:function(t){return this.parent=t,this}},{key:"predicate",value:function(t,e,r){return null!=n.OPERATORS[e]&&(e=n.OPERATORS[e]),this.expressions.push("".concat(t,"_").concat(e,"_").concat(r)),this}},{key:"and",value:function(){return this.expressions.push("and"),this}},{key:"or",value:function(){return this.expressions.push("or"),this}},{key:"then",value:function(){return this.getParent().if(this.toString())}},{key:"height",value:function(t,e){return this.predicate("h",t,e)}},{key:"width",value:function(t,e){return this.predicate("w",t,e)}},{key:"aspectRatio",value:function(t,e){return this.predicate("ar",t,e)}},{key:"pageCount",value:function(t,e){return this.predicate("pc",t,e)}},{key:"faceCount",value:function(t,e){return this.predicate("fc",t,e)}},{key:"value",value:function(t){return this.expressions.push(t),this}}])&&Lt(t.prototype,e),r&&Lt(t,r),n}();v.OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},v.PREDEFINED_VARS={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",duration:"du",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_duration:"idu",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialDuration:"idu",initialHeight:"ih",initialWidth:"iw",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},v.BOUNDRY="[ _]+";var zt=v;function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vt(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r"}},{key:"closeTag",value:function(){return"")}},{key:"toHtml",value:function(){return this.openTag()+this.content()+this.closeTag()}},{key:"toDOM",value:function(){var t,e,r,n;if(!C()("undefined"!=typeof document&&null!==document?document.createElement:void 0))throw"Can't create DOM if document is not present!";for(e in t=document.createElement(this.name),r=this.attributes())n=r[e],t.setAttribute(e,n);return t}}])&&Ge(t.prototype,e),r&&Ge(t,r),o}(),Qe=["placeholder","accessibility"];function Ke(t,e){if(null==t)return{};var r,n=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;nt.length)&&(e=t.length);for(var r=0,n=new Array(e);r"}}])&&jr(t.prototype,e),r&&jr(t,r),o}();function Rr(t){return(Rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dr(t,e){for(var r=0;r"}}])&&Dr(t.prototype,e),r&&Dr(t,r),o}();function Mr(t){return(Mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vr(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r=e;)r--;return t[r+1]},an=function(t,e,r,n){var o=null!=(o=null!=(o=null!=(o=n.responsive_use_breakpoints)?o:n.responsive_use_stoppoints)?o:this.config("responsive_use_breakpoints"))?o:this.config("responsive_use_stoppoints");return!o||"resize"===o&&!n.resizing?e:this.calc_breakpoint(t,e,r)},cn=function(t){for(var e,r=0;(t=null!=t?t.parentNode:void 0)instanceof Element&&!r;)e=window.getComputedStyle(t),/^inline/.test(e.display)||(r=Nt(t));return r},sn=function(t,e){return t.replace(/\bdpr_(1\.0|auto)\b/g,"dpr_"+this.device_pixel_ratio(e))},ln=function(t,e){var r=_t(e,"width")||0;return r{r=r(4457)(r(441),"DataView");t.exports=r},4613:(t,e,r)=>{var n=r(8145),o=r(9096),i=r(5239),u=r(8228),r=r(5920);function a(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{var n=r(7168),o=r(6582),i=r(3867),u=r(9557),r=r(2726);function a(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{r=r(4457)(r(441),"Map");t.exports=r},278:(t,e,r)=>{var n=r(7076),o=r(2530),i=r(4858),u=r(6265),r=r(9909);function a(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e{r=r(4457)(r(441),"Promise");t.exports=r},9902:(t,e,r)=>{r=r(4457)(r(441),"Set");t.exports=r},1124:(t,e,r)=>{var n=r(278),o=r(6718),r=r(6996);function i(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e{var n=r(131),o=r(560),i=r(8282),u=r(6638),a=r(4270),r=r(3229);function c(t){t=this.__data__=new n(t);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=u,c.prototype.has=a,c.prototype.set=r,t.exports=c},4690:(t,e,r)=>{r=r(441).Symbol;t.exports=r},5982:(t,e,r)=>{r=r(441).Uint8Array;t.exports=r},8965:(t,e,r)=>{r=r(4457)(r(441),"WeakMap");t.exports=r},5198:t=>{t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},6758:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r{var n=r(7650);t.exports=function(t,e){return!!(null==t?0:t.length)&&-1{t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n{var l=r(5092),f=r(6981),p=r(7236),h=r(8752),d=r(4363),y=r(4812),v=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r,n=p(t),o=!n&&f(t),i=!n&&!o&&h(t),u=!n&&!o&&!i&&y(t),a=n||o||i||u,c=a?l(t.length,String):[],s=c.length;for(r in t)!e&&!v.call(t,r)||a&&("length"==r||i&&("offset"==r||"parent"==r)||u&&("buffer"==r||"byteLength"==r||"byteOffset"==r)||d(r,s))||c.push(r);return c}},6460:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r{t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{t.exports=function(t){return t.split("")}},4373:(t,e,r)=>{var n=r(999),o=r(6530);t.exports=function(t,e,r){(void 0===r||o(t[e],r))&&(void 0!==r||e in t)||n(t,e,r)}},7596:(t,e,r)=>{var o=r(999),i=r(6530),u=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var n=t[e];u.call(t,e)&&i(n,r)&&(void 0!==r||e in t)||o(t,e,r)}},3833:(t,e,r)=>{var n=r(6530);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},5615:(t,e,r)=>{var n=r(6051),o=r(2635);t.exports=function(t,e){return t&&n(e,o(e),t)}},3238:(t,e,r)=>{var n=r(6051),o=r(5850);t.exports=function(t,e){return t&&n(e,o(e),t)}},999:(t,e,r)=>{var n=r(9346);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},2327:(t,e,r)=>{var d=r(4281),y=r(6758),v=r(7596),m=r(5615),b=r(3238),g=r(8172),_=r(6438),w=r(3746),O=r(3989),x=r(6094),j=r(5559),k=r(6686),E=r(6019),A=r(7621),S=r(3905),C=r(7236),R=r(8752),D=r(9656),P=r(5973),B=r(6925),F=r(2635),T=r(5850),I="[object Arguments]",N="[object Function]",L="[object Object]",z={};z[I]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object DataView]"]=z["[object Boolean]"]=z["[object Date]"]=z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Map]"]=z["[object Number]"]=z[L]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object Symbol]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Error]"]=z[N]=z["[object WeakMap]"]=!1,t.exports=function r(n,o,i,t,e,u){var a,c=1&o,s=2&o,l=4&o;if(void 0!==(a=i?e?i(n,t,e,u):i(n):a))return a;if(!P(n))return n;var f=C(n);if(f){if(a=E(n),!c)return _(n,a)}else{var p=k(n),t=p==N||"[object GeneratorFunction]"==p;if(R(n))return g(n,c);if(p==L||p==I||t&&!e){if(a=s||t?{}:S(n),!c)return s?O(n,b(a,n)):w(n,m(a,n))}else{if(!z[p])return e?n:{};a=A(n,p,c)}}c=(u=u||new d).get(n);if(c)return c;u.set(n,a),B(n)?n.forEach(function(t){a.add(r(t,o,i,t,n,u))}):D(n)&&n.forEach(function(t,e){a.set(e,r(t,o,i,e,n,u))});var h=f?void 0:(l?s?j:x:s?T:F)(n);return y(h||n,function(t,e){h&&(t=n[e=t]),v(a,e,r(t,o,i,e,n,u))}),a}},7372:(t,e,r)=>{var n=r(5973),o=Object.create;function i(){}t.exports=function(t){if(!n(t))return{};if(o)return o(t);i.prototype=t;t=new i;return i.prototype=void 0,t}},1096:(t,e,r)=>{var h=r(1124),d=r(8058),y=r(7431),v=r(6460),m=r(6535),b=r(555);t.exports=function(t,e,r,n){var o=-1,i=d,u=!0,a=t.length,c=[],s=e.length;if(!a)return c;r&&(e=v(e,m(r))),n?(i=y,u=!1):200<=e.length&&(i=b,u=!1,e=new h(e));t:for(;++o{var n=r(5897),n=r(4741)(n);t.exports=n},528:t=>{t.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i{var s=r(3848),l=r(1754);t.exports=function t(e,r,n,o,i){var u=-1,a=e.length;for(n=n||l,i=i||[];++u{r=r(2630)();t.exports=r},5897:(t,e,r)=>{var n=r(641),o=r(2635);t.exports=function(t,e){return t&&n(t,e,o)}},511:(t,e,r)=>{var n=r(9037),o=r(3839);t.exports=function(e,t){return n(t,function(t){return o(e[t])})}},166:(t,e,r)=>{var o=r(8422),i=r(8780);t.exports=function(t,e){for(var r=0,n=(e=o(e,t)).length;null!=t&&r{var n=r(3848),o=r(7236);t.exports=function(t,e,r){return e=e(t),o(t)?e:n(e,r(t))}},4318:(t,e,r)=>{var n=r(4690),o=r(7077),i=r(1954),u=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":(u&&u in Object(t)?o:i)(t)}},7:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},7650:(t,e,r)=>{var n=r(528),o=r(5556),i=r(4256);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},8520:(t,e,r)=>{var n=r(4318),o=r(3387);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},1071:(t,e,r)=>{var u=r(7229),a=r(3387);t.exports=function t(e,r,n,o,i){return e===r||(null==e||null==r||!a(e)&&!a(r)?e!=e&&r!=r:u(e,r,n,o,t,i))}},7229:(t,e,r)=>{var f=r(4281),p=r(2503),h=r(6001),d=r(8784),y=r(6686),v=r(7236),m=r(8752),b=r(4812),g="[object Arguments]",_="[object Array]",w="[object Object]",O=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,n,o,i){var u=v(t),a=v(e),c=u?_:y(t),s=a?_:y(e),l=(c=c==g?w:c)==w,a=(s=s==g?w:s)==w;if((s=c==s)&&m(t)){if(!m(e))return!1;l=!(u=!0)}if(s&&!l)return i=i||new f,u||b(t)?p(t,e,r,n,o,i):h(t,e,c,r,n,o,i);if(!(1&r)){l=l&&O.call(t,"__wrapped__"),a=a&&O.call(e,"__wrapped__");if(l||a)return o(l?t.value():t,a?e.value():e,r,n,i=i||new f)}return!!s&&(i=i||new f,d(t,e,r,n,o,i))}},4368:(t,e,r)=>{var n=r(6686),o=r(3387);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},9157:(t,e,r)=>{var h=r(4281),d=r(1071);t.exports=function(t,e,r,n){var o=r.length,i=o,u=!n;if(null==t)return!i;for(t=Object(t);o--;){var a=r[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o{t.exports=function(t){return t!=t}},2987:(t,e,r)=>{var n=r(3839),o=r(7275),i=r(5973),u=r(6822),a=/^\[object .+?Constructor\]$/,c=Function.prototype,r=Object.prototype,c=c.toString,r=r.hasOwnProperty,s=RegExp("^"+c.call(r).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?s:a).test(u(t))}},4642:(t,e,r)=>{var n=r(6686),o=r(3387);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},3749:(t,e,r)=>{var n=r(4318),o=r(9216),i=r(3387),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!u[n(t)]}},8904:(t,e,r)=>{var n=r(8418),o=r(4555),i=r(5362),u=r(7236),a=r(1651);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?u(t)?o(t[0],t[1]):n(t):a(t)}},8803:(t,e,r)=>{var n=r(5003),o=r(1466),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e,r=[];for(e in Object(t))i.call(t,e)&&"constructor"!=e&&r.push(e);return r}},2578:(t,e,r)=>{var o=r(5973),i=r(5003),u=r(4904),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!o(t))return u(t);var e,r=i(t),n=[];for(e in t)("constructor"!=e||!r&&a.call(t,e))&&n.push(e);return n}},2920:(t,e,r)=>{var u=r(6671),a=r(1580);t.exports=function(t,n){var o=-1,i=a(t)?Array(t.length):[];return u(t,function(t,e,r){i[++o]=n(t,e,r)}),i}},8418:(t,e,r)=>{var n=r(9157),o=r(9182),i=r(7375);t.exports=function(e){var r=o(e);return 1==r.length&&r[0][2]?i(r[0][0],r[0][1]):function(t){return t===e||n(t,e,r)}}},4555:(t,e,r)=>{var o=r(1071),i=r(3795),u=r(3646),a=r(3266),c=r(1457),s=r(7375),l=r(8780);t.exports=function(r,n){return a(r)&&c(n)?s(l(r),n):function(t){var e=i(t,r);return void 0===e&&e===n?u(t,r):o(n,e,3)}}},3920:(t,e,r)=>{var s=r(4281),l=r(4373),f=r(641),p=r(4810),h=r(5973),d=r(5850),y=r(5623);t.exports=function n(o,i,u,a,c){o!==i&&f(i,function(t,e){var r;c=c||new s,h(t)?p(o,i,e,u,n,a,c):(r=a?a(y(o,e),t,e+"",o,i,c):void 0,l(o,e,r=void 0===r?t:r))},d)}},4810:(t,e,r)=>{var h=r(4373),d=r(8172),y=r(2215),v=r(6438),m=r(3905),b=r(6981),g=r(7236),_=r(9747),w=r(8752),O=r(3839),x=r(5973),j=r(9636),k=r(4812),E=r(5623),A=r(7464);t.exports=function(t,e,r,n,o,i,u){var a,c,s,l=E(t,r),f=E(e,r),p=u.get(f);p?h(t,r,p):((a=void 0===(s=i?i(l,f,r+"",t,e,u):void 0))&&(p=!(c=g(f))&&w(f),e=!c&&!p&&k(f),s=f,c||p||e?s=g(l)?l:_(l)?v(l):p?d(f,!(a=!1)):e?y(f,!(a=!1)):[]:j(f)||b(f)?b(s=l)?s=A(l):x(l)&&!O(l)||(s=m(f)):a=!1),a&&(u.set(f,s),o(s,f,n,i,u),u.delete(f)),h(t,r,s))}},1712:t=>{t.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4815:(t,e,r)=>{var n=r(166);t.exports=function(e){return function(t){return n(t,e)}}},4569:(t,e,r)=>{var n=r(5362),o=r(4468),i=r(8756);t.exports=function(t,e){return i(o(t,e,n),t+"")}},1676:(t,e,r)=>{var n=r(8211),o=r(9346),r=r(5362);t.exports=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:r},4293:t=>{t.exports=function(t,e,r){var n=-1,o=t.length;(r=o>>0,e>>>=0;for(var i=Array(o);++n{t.exports=function(t,e){for(var r=-1,n=Array(t);++r{var n=r(4690),o=r(6460),i=r(7236),u=r(2945),n=n?n.prototype:void 0,a=n?n.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(u(e))return a?a.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},3349:(t,e,r)=>{var n=r(5720),o=/^\s+/;t.exports=function(t){return t&&t.slice(0,n(t)+1).replace(o,"")}},6535:t=>{t.exports=function(e){return function(t){return e(t)}}},4351:(t,e,r)=>{var h=r(1124),d=r(8058),y=r(7431),v=r(555),m=r(8491),b=r(6350);t.exports=function(t,e,r){var n=-1,o=d,i=t.length,u=!0,a=[],c=a;if(r)u=!1,o=y;else if(200<=i){var s=e?null:m(t);if(s)return b(s);u=!1,o=v,c=new h}else c=e?[]:a;t:for(;++n{var n=r(6460);t.exports=function(e,t){return n(t,function(t){return e[t]})}},555:t=>{t.exports=function(t,e){return t.has(e)}},8422:(t,e,r)=>{var n=r(7236),o=r(3266),i=r(3879),u=r(1119);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(u(t))}},7241:(t,e,r)=>{var o=r(4293);t.exports=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&n<=r?t:o(t,e,r)}},1800:(t,e,r)=>{var n=r(7650);t.exports=function(t,e){for(var r=t.length;r--&&-1{var o=r(7650);t.exports=function(t,e){for(var r=-1,n=t.length;++r{var n=r(5982);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},8172:(t,e,r)=>{t=r.nmd(t);var n=r(441),r=e&&!e.nodeType&&e,e=r&&t&&!t.nodeType&&t,n=e&&e.exports===r?n.Buffer:void 0,o=n?n.allocUnsafe:void 0;t.exports=function(t,e){return e?t.slice():(e=t.length,e=o?o(e):new t.constructor(e),t.copy(e),e)}},9841:(t,e,r)=>{var n=r(3632);t.exports=function(t,e){return e=e?n(t.buffer):t.buffer,new t.constructor(e,t.byteOffset,t.byteLength)}},2769:t=>{var r=/\w*$/;t.exports=function(t){var e=new t.constructor(t.source,r.exec(t));return e.lastIndex=t.lastIndex,e}},9130:(t,e,r)=>{var r=r(4690),r=r?r.prototype:void 0,n=r?r.valueOf:void 0;t.exports=function(t){return n?Object(n.call(t)):{}}},2215:(t,e,r)=>{var n=r(3632);t.exports=function(t,e){return e=e?n(t.buffer):t.buffer,new t.constructor(e,t.byteOffset,t.length)}},6438:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e=e||Array(n);++r{var s=r(7596),l=r(999);t.exports=function(t,e,r,n){var o=!r;r=r||{};for(var i=-1,u=e.length;++i{var n=r(6051),o=r(5904);t.exports=function(t,e){return n(t,o(t),e)}},3989:(t,e,r)=>{var n=r(6051),o=r(2511);t.exports=function(t,e){return n(t,o(t),e)}},8507:(t,e,r)=>{r=r(441)["__core-js_shared__"];t.exports=r},2544:(t,e,r)=>{var n=r(4569),c=r(3108);t.exports=function(a){return n(function(t,e){var r=-1,n=e.length,o=1{var a=r(1580);t.exports=function(i,u){return function(t,e){if(null==t)return t;if(!a(t))return i(t,e);for(var r=t.length,n=u?r:-1,o=Object(t);(u?n--:++n{t.exports=function(c){return function(t,e,r){for(var n=-1,o=Object(t),i=r(t),u=i.length;u--;){var a=i[c?u:++n];if(!1===e(o[a],a,o))break}return t}}},8491:(t,e,r)=>{var n=r(9902),o=r(3581),r=r(6350),o=n&&1/r(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=o},9346:(t,e,r)=>{var n=r(4457),r=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=r},2503:(t,e,r)=>{var v=r(1124),m=r(4793),b=r(555);t.exports=function(t,e,r,n,o,i){var u=1&r,a=t.length,c=e.length;if(a!=c&&!(u&&a{var n=r(4690),s=r(5982),l=r(6530),f=r(2503),p=r(2876),h=r(6350),n=n?n.prototype:void 0,d=n?n.valueOf:void 0;t.exports=function(t,e,r,n,o,i,u){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return t.byteLength==e.byteLength&&i(new s(t),new s(e))?!0:!1;case"[object Boolean]":case"[object Date]":case"[object Number]":return l(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=p;case"[object Set]":a=a||h;if(t.size!=e.size&&!(1&n))return!1;var c=u.get(t);if(c)return c==e;n|=2,u.set(t,e);a=f(a(t),a(e),n,o,i,u);return u.delete(t),a;case"[object Symbol]":if(d)return d.call(t)==d.call(e)}return!1}},8784:(t,e,r)=>{var b=r(6094),g=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,n,o,i){var u=1&r,a=b(t),c=a.length;if(c!=b(e).length&&!u)return!1;for(var s=c;s--;){var l=a[s];if(!(u?l in e:g.call(e,l)))return!1}var f=i.get(t),p=i.get(e);if(f&&p)return f==e&&p==t;var h=!0;i.set(t,e),i.set(e,t);for(var d=u;++s{r="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=r},6094:(t,e,r)=>{var n=r(9329),o=r(5904),i=r(2635);t.exports=function(t){return n(t,i,o)}},5559:(t,e,r)=>{var n=r(9329),o=r(2511),i=r(5850);t.exports=function(t){return n(t,i,o)}},2907:(t,e,r)=>{var n=r(7620);t.exports=function(t,e){return t=t.__data__,n(e)?t["string"==typeof e?"string":"hash"]:t.map}},9182:(t,e,r)=>{var i=r(1457),u=r(2635);t.exports=function(t){for(var e=u(t),r=e.length;r--;){var n=e[r],o=t[n];e[r]=[n,o,i(o)]}return e}},4457:(t,e,r)=>{var n=r(2987),o=r(9741);t.exports=function(t,e){return e=o(t,e),n(e)?e:void 0}},1407:(t,e,r)=>{r=r(3717)(Object.getPrototypeOf,Object);t.exports=r},7077:(t,e,r)=>{var n=r(4690),r=Object.prototype,i=r.hasOwnProperty,u=r.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{var n=!(t[a]=void 0)}catch(t){}var o=u.call(t);return n&&(e?t[a]=r:delete t[a]),o}},5904:(t,e,r)=>{var n=r(9037),r=r(7471),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(e){return null==e?[]:(e=Object(e),n(i(e),function(t){return o.call(e,t)}))}:r;t.exports=r},2511:(t,e,r)=>{var n=r(3848),o=r(1407),i=r(5904),r=r(7471),r=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:r;t.exports=r},6686:(t,e,r)=>{var n=r(5549),o=r(4438),i=r(385),u=r(9902),a=r(8965),c=r(4318),s=r(6822),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",y=s(n),v=s(o),m=s(i),b=s(u),g=s(a),r=c;(n&&r(new n(new ArrayBuffer(1)))!=d||o&&r(new o)!=l||i&&r(i.resolve())!=f||u&&r(new u)!=p||a&&r(new a)!=h)&&(r=function(t){var e=c(t),t="[object Object]"==e?t.constructor:void 0,t=t?s(t):"";if(t)switch(t){case y:return d;case v:return l;case m:return f;case b:return p;case g:return h}return e}),t.exports=r},9741:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},7383:(t,e,r)=>{var a=r(8422),c=r(6981),s=r(7236),l=r(4363),f=r(9216),p=r(8780);t.exports=function(t,e,r){for(var n=-1,o=(e=a(e,t)).length,i=!1;++n{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},8145:(t,e,r)=>{var n=r(5148);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},9096:t=>{t.exports=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t}},5239:(t,e,r)=>{var n=r(5148),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},8228:(t,e,r)=>{var n=r(5148),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},5920:(t,e,r)=>{var n=r(5148);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},6019:t=>{var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},7621:(t,e,r)=>{var o=r(3632),i=r(9841),u=r(2769),a=r(9130),c=r(2215);t.exports=function(t,e,r){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return o(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return i(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(t,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return u(t);case"[object Set]":return new n;case"[object Symbol]":return a(t)}}},3905:(t,e,r)=>{var n=r(7372),o=r(1407),i=r(5003);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:n(o(t))}},1754:(t,e,r)=>{var n=r(4690),o=r(6981),i=r(7236),u=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(u&&t&&t[u])}},4363:t=>{var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&-1{var o=r(6530),i=r(1580),u=r(4363),a=r(5973);t.exports=function(t,e,r){if(!a(r))return!1;var n=typeof e;return!!("number"==n?i(r)&&u(e,r.length):"string"==n&&e in r)&&o(r[e],t)}},3266:(t,e,r)=>{var n=r(7236),o=r(2945),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(u.test(t)||!i.test(t)||null!=e&&t in Object(e))}},7620:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7275:(t,e,r)=>{var r=r(8507),n=(r=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!n&&n in t}},5003:t=>{var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},1457:(t,e,r)=>{var n=r(5973);t.exports=function(t){return t==t&&!n(t)}},7168:t=>{t.exports=function(){this.__data__=[],this.size=0}},6582:(t,e,r)=>{var n=r(3833),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__;return!((t=n(e,t))<0)&&(t==e.length-1?e.pop():o.call(e,t,1),--this.size,!0)}},3867:(t,e,r)=>{var n=r(3833);t.exports=function(t){var e=this.__data__;return(t=n(e,t))<0?void 0:e[t][1]}},9557:(t,e,r)=>{var n=r(3833);t.exports=function(t){return-1{var o=r(3833);t.exports=function(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}},7076:(t,e,r)=>{var n=r(4613),o=r(131),i=r(4438);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},2530:(t,e,r)=>{var n=r(2907);t.exports=function(t){return t=n(this,t).delete(t),this.size-=t?1:0,t}},4858:(t,e,r)=>{var n=r(2907);t.exports=function(t){return n(this,t).get(t)}},6265:(t,e,r)=>{var n=r(2907);t.exports=function(t){return n(this,t).has(t)}},9909:(t,e,r)=>{var o=r(2907);t.exports=function(t,e){var r=o(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}},2876:t=>{t.exports=function(t){var r=-1,n=Array(t.size);return t.forEach(function(t,e){n[++r]=[e,t]}),n}},7375:t=>{t.exports=function(e,r){return function(t){return null!=t&&(t[e]===r&&(void 0!==r||e in Object(t)))}}},7085:(t,e,r)=>{var n=r(427);t.exports=function(t){var e=(t=n(t,function(t){return 500===e.size&&e.clear(),t})).cache;return t}},5148:(t,e,r)=>{r=r(4457)(Object,"create");t.exports=r},1466:(t,e,r)=>{r=r(3717)(Object.keys,Object);t.exports=r},4904:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},1782:(t,e,r)=>{t=r.nmd(t);var r=r(4414),e=e&&!e.nodeType&&e,n=e&&t&&!t.nodeType&&t,o=n&&n.exports===e&&r.process,r=function(){try{var t=n&&n.require&&n.require("util").types;return t?t:o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=r},1954:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3717:t=>{t.exports=function(e,r){return function(t){return e(r(t))}}},4468:(t,e,r)=>{var c=r(5198),s=Math.max;t.exports=function(i,u,a){return u=s(void 0===u?i.length-1:u,0),function(){for(var t=arguments,e=-1,r=s(t.length-u,0),n=Array(r);++e{var n=r(4414),r="object"==typeof self&&self&&self.Object===Object&&self,r=n||r||Function("return this")();t.exports=r},5623:t=>{t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},6718:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},6996:t=>{t.exports=function(t){return this.__data__.has(t)}},6350:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},8756:(t,e,r)=>{var n=r(1676),n=r(9116)(n);t.exports=n},9116:t=>{var i=Date.now;t.exports=function(r){var n=0,o=0;return function(){var t=i(),e=16-(t-o);if(o=t,0{var n=r(131);t.exports=function(){this.__data__=new n,this.size=0}},8282:t=>{t.exports=function(t){var e=this.__data__,t=e.delete(t);return this.size=e.size,t}},6638:t=>{t.exports=function(t){return this.__data__.get(t)}},4270:t=>{t.exports=function(t){return this.__data__.has(t)}},3229:(t,e,r)=>{var o=r(131),i=r(4438),u=r(278);t.exports=function(t,e){var r=this.__data__;if(r instanceof o){var n=r.__data__;if(!i||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new u(n)}return r.set(t,e),this.size=r.size,this}},4256:t=>{t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n{var n=r(804),o=r(4327),i=r(4501);t.exports=function(t){return(o(t)?i:n)(t)}},3879:(t,e,r)=>{var r=r(7085),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,r=r(function(t){var o=[];return 46===t.charCodeAt(0)&&o.push(""),t.replace(n,function(t,e,r,n){o.push(r?n.replace(i,"$1"):e||t)}),o});t.exports=r},8780:(t,e,r)=>{var n=r(2945);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},6822:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},5720:t=>{var r=/\s/;t.exports=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}},4501:t=>{var e="\\ud800-\\udfff",r="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+n+"|"+o+")"+"?",e="[\\ufe0e\\ufe0f]?",c=e+c+("(?:\\u200d(?:"+[i,u,a].join("|")+")"+e+c+")*"),r="(?:"+[i+n+"?",n,u,a,r].join("|")+")",s=RegExp(o+"(?="+o+")|"+r+c,"g");t.exports=function(t){return t.match(s)||[]}},6782:(t,e,r)=>{var n=r(7596),o=r(6051),i=r(2544),u=r(1580),a=r(5003),c=r(2635),s=Object.prototype.hasOwnProperty,i=i(function(t,e){if(a(e)||u(e))o(e,c(e),t);else for(var r in e)s.call(e,r)&&n(t,r,e[r])});t.exports=i},9381:(t,e,r)=>{var n=r(2327);t.exports=function(t){return n(t,5)}},3338:t=>{t.exports=function(t){for(var e=-1,r=null==t?0:t.length,n=0,o=[];++e{var o=r(3848),i=r(314),u=r(6438),a=r(7236);t.exports=function(){var t=arguments.length;if(!t)return[];for(var e=Array(t-1),r=arguments[0],n=t;n--;)e[n-1]=arguments[n];return o(a(r)?u(r):[r],i(e,1))}},8211:t=>{t.exports=function(t){return function(){return t}}},484:(t,e,r)=>{var n=r(1096),o=r(314),i=r(4569),u=r(9747),i=i(function(t,e){return u(t)?n(t,o(e,1,u,!0)):[]});t.exports=i},624:(t,e,r)=>{var n=r(1096),o=r(314),i=r(8904),u=r(4569),a=r(9747),c=r(2972),u=u(function(t,e){var r=c(e);return a(r)&&(r=void 0),a(t)?n(t,o(e,1,a,!0),i(r,2)):[]});t.exports=u},6530:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},9937:(t,e,r)=>{t.exports=r(3230)},3112:(t,e,r)=>{var n=r(511),o=r(2635);t.exports=function(t){return null==t?[]:n(t,o(t))}},3795:(t,e,r)=>{var n=r(166);t.exports=function(t,e,r){return void 0===(e=null==t?void 0:n(t,e))?r:e}},3646:(t,e,r)=>{var n=r(7),o=r(7383);t.exports=function(t,e){return null!=t&&o(t,e,n)}},3230:t=>{t.exports=function(t){return t&&t.length?t[0]:void 0}},5362:t=>{t.exports=function(t){return t}},6901:(t,e,r)=>{var o=r(7650),i=r(1580),u=r(4461),a=r(5225),c=r(567),s=Math.max;t.exports=function(t,e,r,n){return t=i(t)?t:c(t),r=r&&!n?a(r):0,n=t.length,r<0&&(r=s(n+r,0)),u(t)?r<=n&&-1{var n=r(8520),o=r(3387),r=Object.prototype,i=r.hasOwnProperty,u=r.propertyIsEnumerable,n=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!u.call(t,"callee")};t.exports=n},7236:t=>{var e=Array.isArray;t.exports=e},1580:(t,e,r)=>{var n=r(3839),o=r(9216);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},9747:(t,e,r)=>{var n=r(1580),o=r(3387);t.exports=function(t){return o(t)&&n(t)}},8752:(t,e,r)=>{t=r.nmd(t);var n=r(441),o=r(7149),r=e&&!e.nodeType&&e,e=r&&t&&!t.nodeType&&t,n=e&&e.exports===r?n.Buffer:void 0,n=n?n.isBuffer:void 0;t.exports=n||o},6474:(t,e,r)=>{var n=r(3387),o=r(9636);t.exports=function(t){return n(t)&&1===t.nodeType&&!o(t)}},3839:(t,e,r)=>{var n=r(4318),o=r(5973);t.exports=function(t){return!!o(t)&&("[object Function]"==(t=n(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}},9216:t=>{t.exports=function(t){return"number"==typeof t&&-1{var n=r(4368),o=r(6535),r=r(1782),r=r&&r.isMap,n=r?o(r):n;t.exports=n},5973:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3387:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},9636:(t,e,r)=>{var n=r(4318),o=r(1407),i=r(3387),u=Function.prototype,r=Object.prototype,a=u.toString,c=r.hasOwnProperty,s=a.call(Object);t.exports=function(t){return!(!i(t)||"[object Object]"!=n(t))&&(null===(t=o(t))||"function"==typeof(t=c.call(t,"constructor")&&t.constructor)&&t instanceof t&&a.call(t)==s)}},6925:(t,e,r)=>{var n=r(4642),o=r(6535),r=r(1782),r=r&&r.isSet,n=r?o(r):n;t.exports=n},4461:(t,e,r)=>{var n=r(4318),o=r(7236),i=r(3387);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==n(t)}},2945:(t,e,r)=>{var n=r(4318),o=r(3387);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},4812:(t,e,r)=>{var n=r(3749),o=r(6535),r=r(1782),r=r&&r.isTypedArray,n=r?o(r):n;t.exports=n},2635:(t,e,r)=>{var n=r(6222),o=r(8803),i=r(1580);t.exports=function(t){return(i(t)?n:o)(t)}},5850:(t,e,r)=>{var n=r(6222),o=r(2578),i=r(1580);t.exports=function(t){return i(t)?n(t,!0):o(t)}},2972:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},7213:(t,e,r)=>{var n=r(6460),o=r(8904),i=r(2920),u=r(7236);t.exports=function(t,e){return(u(t)?n:i)(t,o(e,3))}},427:(t,e,r)=>{var u=r(278);function a(n,o){if("function"!=typeof n||null!=o&&"function"!=typeof o)throw new TypeError("Expected a function");function i(){var t=arguments,e=o?o.apply(this,t):t[0],r=i.cache;return r.has(e)?r.get(e):(t=n.apply(this,t),i.cache=r.set(e,t)||r,t)}return i.cache=new(a.Cache||u),i}a.Cache=u,t.exports=a},6349:(t,e,r)=>{var n=r(3920),r=r(2544)(function(t,e,r){n(t,e,r)});t.exports=r},3581:t=>{t.exports=function(){}},1651:(t,e,r)=>{var n=r(1712),o=r(4815),i=r(3266),u=r(8780);t.exports=function(t){return i(t)?n(u(t)):o(t)}},7471:t=>{t.exports=function(){return[]}},7149:t=>{t.exports=function(){return!1}},992:(t,e,r)=>{var n=r(8746);t.exports=function(t){return t?(t=n(t))!==1/0&&t!==-1/0?t==t?t:0:17976931348623157e292*(t<0?-1:1):0===t?t:0}},5225:(t,e,r)=>{var n=r(992);t.exports=function(t){var e=n(t),t=e%1;return e==e?t?e-t:e:0}},8746:(t,e,r)=>{var n=r(3349),o=r(5973),i=r(2945),u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)&&(e="function"==typeof t.valueOf?t.valueOf():t,t=o(e)?e+"":e),"string"!=typeof t)return 0===t?t:+t;t=n(t);var e=a.test(t);return e||c.test(t)?s(t.slice(2),e?2:8):u.test(t)?NaN:+t}},7464:(t,e,r)=>{var n=r(6051),o=r(5850);t.exports=function(t){return n(t,o(t))}},1119:(t,e,r)=>{var n=r(454);t.exports=function(t){return null==t?"":n(t)}},4771:(t,e,r)=>{var n=r(454),o=r(3349),i=r(7241),u=r(1800),a=r(4304),c=r(6229),s=r(1119);t.exports=function(t,e,r){return(t=s(t))&&(r||void 0===e)?o(t):t&&(e=n(e))?(r=c(t),t=c(e),e=a(r,t),t=u(r,t)+1,i(r,e,t).join("")):t}},1815:(t,e,r)=>{var n=r(4351);t.exports=function(t){return t&&t.length?n(t):[]}},567:(t,e,r)=>{var n=r(925),o=r(2635);t.exports=function(t){return null==t?[]:n(t,o(t))}}},n={};function it(t){var e=n[t];if(void 0!==e)return e.exports;e=n[t]={id:t,loaded:!1,exports:{}};return r[t].call(e.exports,e,e.exports,it),e.loaded=!0,e.exports}it.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return it.d(e,{a:e}),e},it.d=(t,e)=>{for(var r in e)it.o(e,r)&&!it.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},it.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),it.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),it.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);(()=>{"use strict";var t=jQuery,i=it.n(t),u=React,h=it.n(u);const r=ReactDom;var e=it(403),a=it.n(e),t=it(624),c=it.n(t),e=it(7236),s=it.n(e),t=it(5973),l=it.n(t),e=it(9937),f=it.n(e),t=it(3795),p=it.n(t),e=PropTypes,t=it.n(e),e=it(1815),n=it.n(e),e=it(7213),d=it.n(e),e=classnames,y=it.n(e),e=it(78),o=it.n(e);function v(t,e){e=1this.state.resources.length||(t=this.state.resources[r],(r=[].concat(this.state.resources.slice(0,r),this.state.resources.slice(r+1))).splice(n,0,t),this.setState({resources:r}),this.onChange(r))}},{key:"updateProperty",value:function(e,r,n){var t=this.state.resources.map(function(t){return t.public_id!==e||(t[r]=n),t});this.setState({resources:t}),this.onChange(t)}},{key:"renderResources",value:function(){var o=this;return this.state.resources.map(function(t,e){var r=t.actual_type,n=0===e,e=e===o.state.resources.length-1;return"video"===r?h().createElement(T,Q({},t,{key:t.public_id,fields:o.props.fields,gravityOptions:o.props.gravityOptions,onChange:o.updateProperty,onRemoveResource:o.onRemoveResource,onMoveResource:o.onMoveResource,firstItem:n,lastItem:e})):"audio"===r?h().createElement(G,Q({},t,{key:t.public_id,fields:o.props.fields,onChange:o.updateProperty,onRemoveResource:o.onRemoveResource,onMoveResource:o.onMoveResource,firstItem:n,lastItem:e})):"image"===r?h().createElement(C,Q({},t,{key:t.public_id,fields:o.props.fields,gravityOptions:o.props.gravityOptions,onChange:o.updateProperty,onRemoveResource:o.onRemoveResource,onMoveResource:o.onMoveResource,firstItem:n,lastItem:e})):h().createElement(V,Q({},t,{key:t.public_id,fields:o.props.fields,onChange:o.updateProperty,onRemoveResource:o.onRemoveResource,onMoveResource:o.onMoveResource,firstItem:n,lastItem:e}))})}},{key:"render",value:function(){var t=this.props.isMultiple?this.state.resources.length'),this.after(this.HolderInstance);(0,r.render)(h().createElement(nt,ot({},this.data(),{key:this.attr("id"),value:this.val(),onChange:function(t){e.val(t),e.click()}})),this.HolderInstance.get(0))},onunmatch:function(){this._super(),this.removeClass("sr-only"),this.HolderInstance instanceof i()&&((0,r.unmountComponentAtNode)(this.HolderInstance.get(0)),this.HolderInstance.remove())}})})})()})(); +/*! silverstripe-cloudinary - v2.0.0 */!function(){var n={78:function(t,e,n){var r;r=function(n,r,o,i,u,a,c,s,l,f,p,h,d,y){return m={"./src/namespace/cloudinary-core.js":function(t,e,n){"use strict";n.r(e),n.d(e,"ClientHintsMetaTag",function(){return Wn}),n.d(e,"Cloudinary",function(){return fr}),n.d(e,"Condition",function(){return qt}),n.d(e,"Configuration",function(){return Kt}),n.d(e,"crc32",function(){return a}),n.d(e,"Expression",function(){return zt}),n.d(e,"FetchLayer",function(){return ye}),n.d(e,"HtmlTag",function(){return Ye}),n.d(e,"ImageTag",function(){return vn}),n.d(e,"Layer",function(){return Xt}),n.d(e,"PictureTag",function(){return Rn}),n.d(e,"SubtitlesLayer",function(){return se}),n.d(e,"TextLayer",function(){return oe}),n.d(e,"Transformation",function(){return We}),n.d(e,"utf8_encode",function(){return i}),n.d(e,"Util",function(){return o}),n.d(e,"VideoTag",function(){return Mn});var r={};n.r(r),n.d(r,"VERSION",function(){return T}),n.d(r,"CF_SHARED_CDN",function(){return I}),n.d(r,"OLD_AKAMAI_SHARED_CDN",function(){return N}),n.d(r,"AKAMAI_SHARED_CDN",function(){return L}),n.d(r,"SHARED_CDN",function(){return z}),n.d(r,"DEFAULT_TIMEOUT_MS",function(){return M}),n.d(r,"DEFAULT_POSTER_OPTIONS",function(){return V}),n.d(r,"DEFAULT_VIDEO_SOURCE_TYPES",function(){return U}),n.d(r,"SEO_TYPES",function(){return H}),n.d(r,"DEFAULT_IMAGE_PARAMS",function(){return $}),n.d(r,"DEFAULT_VIDEO_PARAMS",function(){return q}),n.d(r,"DEFAULT_VIDEO_SOURCES",function(){return W}),n.d(r,"DEFAULT_EXTERNAL_LIBRARIES",function(){return G}),n.d(r,"PLACEHOLDER_IMAGE_MODES",function(){return Y}),n.d(r,"ACCESSIBILITY_MODES",function(){return Q}),n.d(r,"URL_KEYS",function(){return K});var o={};n.r(o),n.d(o,"getSDKAnalyticsSignature",function(){return d}),n.d(o,"getAnalyticsOptions",function(){return y}),n.d(o,"assign",function(){return m.a}),n.d(o,"cloneDeep",function(){return b.a}),n.d(o,"compact",function(){return g.a}),n.d(o,"difference",function(){return _.a}),n.d(o,"functions",function(){return w.a}),n.d(o,"identity",function(){return O.a}),n.d(o,"includes",function(){return x.a}),n.d(o,"isArray",function(){return j.a}),n.d(o,"isPlainObject",function(){return k.a}),n.d(o,"isString",function(){return E.a}),n.d(o,"merge",function(){return A.a}),n.d(o,"contains",function(){return x.a}),n.d(o,"isIntersectionObserverSupported",function(){return P}),n.d(o,"isNativeLazyLoadSupported",function(){return B}),n.d(o,"detectIntersection",function(){return F}),n.d(o,"omit",function(){return X}),n.d(o,"allStrings",function(){return J}),n.d(o,"without",function(){return tt}),n.d(o,"isNumberLike",function(){return et}),n.d(o,"smartEscape",function(){return nt}),n.d(o,"defaults",function(){return rt}),n.d(o,"objectProto",function(){return ot}),n.d(o,"objToString",function(){return it}),n.d(o,"isObject",function(){return ut}),n.d(o,"funcTag",function(){return at}),n.d(o,"reWords",function(){return ct}),n.d(o,"camelCase",function(){return st}),n.d(o,"snakeCase",function(){return lt}),n.d(o,"convertKeys",function(){return ft}),n.d(o,"withCamelCaseKeys",function(){return pt}),n.d(o,"withSnakeCaseKeys",function(){return ht}),n.d(o,"base64Encode",function(){return dt}),n.d(o,"base64EncodeURL",function(){return yt}),n.d(o,"extractUrlParams",function(){return vt}),n.d(o,"patchFetchFormat",function(){return mt}),n.d(o,"optionConsume",function(){return bt}),n.d(o,"isEmpty",function(){return gt}),n.d(o,"isElement",function(){return S.a}),n.d(o,"isFunction",function(){return C.a}),n.d(o,"trim",function(){return R.a}),n.d(o,"getData",function(){return _t}),n.d(o,"setData",function(){return wt}),n.d(o,"getAttribute",function(){return Ot}),n.d(o,"setAttribute",function(){return xt}),n.d(o,"removeAttribute",function(){return jt}),n.d(o,"setAttributes",function(){return kt}),n.d(o,"hasClass",function(){return Et}),n.d(o,"addClass",function(){return At}),n.d(o,"getStyles",function(){return St}),n.d(o,"cssExpand",function(){return Ct}),n.d(o,"domStyle",function(){return Dt}),n.d(o,"curCSS",function(){return Pt}),n.d(o,"cssValue",function(){return Bt}),n.d(o,"augmentWidthOrHeight",function(){return Ft}),n.d(o,"getWidthOrHeight",function(){return It}),n.d(o,"width",function(){return Nt});var i=function(t){var e,n,r,o,i,u,a,c;if(null==t)return"";for(r=i=void 0,i=r=0,a=(u=t+(c="")).length,o=0;o>6|192,63&e|128):String.fromCharCode(e>>12|224,e>>6&63|128,63&e|128),null!==n&&(i>>8^"0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substr(9*r,8),e++;return(o^=-1)<0&&(o+=4294967296),o};function u(t,e,n){return e>>=0,n=String(void 0!==n?n:" "),t.length>e?String(t):((e-=t.length)>n.length&&(n+=function(t,e){var n="";for(;0t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=|<=|&&|!=|>|=|<|/|-|\\+|\\*|\\^)(?=[ _]))","g");t=t.replace(e,function(t){return r.OPERATORS[t]});e="("+Object.keys(r.PREDEFINED_VARS).map(function(t){return":".concat(t,"|").concat(t)}).join("|")+")",e=new RegExp("".concat("(\\$_*[^_ ]+)","|").concat(e),"g");return(t=t.replace(e,function(t){return r.PREDEFINED_VARS[t]||t})).replace(/[ _]+/g,"_")}},{key:"variable",value:function(t,e){return new this(t).value(e)}},{key:"width",value:function(){return new this("width")}},{key:"height",value:function(){return new this("height")}},{key:"initialWidth",value:function(){return new this("initialWidth")}},{key:"initialHeight",value:function(){return new this("initialHeight")}},{key:"aspectRatio",value:function(){return new this("aspectRatio")}},{key:"initialAspectRatio",value:function(){return new this("initialAspectRatio")}},{key:"pageCount",value:function(){return new this("pageCount")}},{key:"faceCount",value:function(){return new this("faceCount")}},{key:"currentPage",value:function(){return new this("currentPage")}},{key:"tags",value:function(){return new this("tags")}},{key:"pageX",value:function(){return new this("pageX")}},{key:"pageY",value:function(){return new this("pageY")}}],(e=[{key:"serialize",value:function(){return r.normalize(this.expressions.join("_"))}},{key:"toString",value:function(){return this.serialize()}},{key:"getParent",value:function(){return this.parent}},{key:"setParent",value:function(t){return this.parent=t,this}},{key:"predicate",value:function(t,e,n){return null!=r.OPERATORS[e]&&(e=r.OPERATORS[e]),this.expressions.push("".concat(t,"_").concat(e,"_").concat(n)),this}},{key:"and",value:function(){return this.expressions.push("and"),this}},{key:"or",value:function(){return this.expressions.push("or"),this}},{key:"then",value:function(){return this.getParent().if(this.toString())}},{key:"height",value:function(t,e){return this.predicate("h",t,e)}},{key:"width",value:function(t,e){return this.predicate("w",t,e)}},{key:"aspectRatio",value:function(t,e){return this.predicate("ar",t,e)}},{key:"pageCount",value:function(t,e){return this.predicate("pc",t,e)}},{key:"faceCount",value:function(t,e){return this.predicate("fc",t,e)}},{key:"value",value:function(t){return this.expressions.push(t),this}}])&&Lt(t.prototype,e),n&&Lt(t,n),r}();v.OPERATORS={"=":"eq","!=":"ne","<":"lt",">":"gt","<=":"lte",">=":"gte","&&":"and","||":"or","*":"mul","/":"div","+":"add","-":"sub","^":"pow"},v.PREDEFINED_VARS={aspect_ratio:"ar",aspectRatio:"ar",current_page:"cp",currentPage:"cp",duration:"du",face_count:"fc",faceCount:"fc",height:"h",initial_aspect_ratio:"iar",initial_duration:"idu",initial_height:"ih",initial_width:"iw",initialAspectRatio:"iar",initialDuration:"idu",initialHeight:"ih",initialWidth:"iw",page_count:"pc",page_x:"px",page_y:"py",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags",width:"w"},v.BOUNDRY="[ _]+";var zt=v;function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vt(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n"}},{key:"closeTag",value:function(){return"")}},{key:"toHtml",value:function(){return this.openTag()+this.content()+this.closeTag()}},{key:"toDOM",value:function(){var t,e,n,r;if(!C()("undefined"!=typeof document&&null!==document?document.createElement:void 0))throw"Can't create DOM if document is not present!";for(e in t=document.createElement(this.name),n=this.attributes())r=n[e],t.setAttribute(e,r);return t}}])&&Ge(t.prototype,e),n&&Ge(t,n),o}(),Qe=["placeholder","accessibility"];function Ke(t,e){if(null==t)return{};var n,r=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n"}}])&&kn(t.prototype,e),n&&kn(t,n),o}();function Dn(t){return(Dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pn(t,e){for(var n=0;n"}}])&&Pn(t.prototype,e),n&&Pn(t,n),o}();function Vn(t){return(Vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Un(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e;)n--;return t[n+1]},ar=function(t,e,n,r){var o=null!=(o=null!=(o=null!=(o=r.responsive_use_breakpoints)?o:r.responsive_use_stoppoints)?o:this.config("responsive_use_breakpoints"))?o:this.config("responsive_use_stoppoints");return!o||"resize"===o&&!r.resizing?e:this.calc_breakpoint(t,e,n)},cr=function(t){for(var e,n=0;(t=null!=t?t.parentNode:void 0)instanceof Element&&!n;)e=window.getComputedStyle(t),/^inline/.test(e.display)||(n=Nt(t));return n},sr=function(t,e){return t.replace(/\bdpr_(1\.0|auto)\b/g,"dpr_"+this.device_pixel_ratio(e))},lr=function(t,e){var n=_t(e,"width")||0;return n>>0,e>>>=0;for(var i=Array(o);++rthis.state.resources.length||(t=this.state.resources[n],(n=[].concat(this.state.resources.slice(0,n),this.state.resources.slice(n+1))).splice(r,0,t),this.setState({resources:n}),this.onChange(n))}},{key:"updateProperty",value:function(e,n,r){var t=this.state.resources.map(function(t){return t.public_id!==e||(t[n]=r),t});this.setState({resources:t}),this.onChange(t)}},{key:"renderResources",value:function(){var o=this;return this.state.resources.map(function(t,e){var n=t.actual_type,r=0===e,e=e===o.state.resources.length-1;return"video"===n?h().createElement(T,Q({},t,{key:t.public_id,fields:o.props.fields,gravityOptions:o.props.gravityOptions,onChange:o.updateProperty,onRemoveResource:o.onRemoveResource,onMoveResource:o.onMoveResource,firstItem:r,lastItem:e})):"audio"===n?h().createElement(G,Q({},t,{key:t.public_id,fields:o.props.fields,onChange:o.updateProperty,onRemoveResource:o.onRemoveResource,onMoveResource:o.onMoveResource,firstItem:r,lastItem:e})):"image"===n?h().createElement(C,Q({},t,{key:t.public_id,fields:o.props.fields,gravityOptions:o.props.gravityOptions,onChange:o.updateProperty,onRemoveResource:o.onRemoveResource,onMoveResource:o.onMoveResource,firstItem:r,lastItem:e})):h().createElement(V,Q({},t,{key:t.public_id,fields:o.props.fields,onChange:o.updateProperty,onRemoveResource:o.onRemoveResource,onMoveResource:o.onMoveResource,firstItem:r,lastItem:e}))})}},{key:"render",value:function(){var t=this.props.isMultiple?this.state.resources.length'),this.after(this.HolderInstance);(0,n.render)(h().createElement(rt,ot({},this.data(),{key:this.attr("id"),value:this.val(),onChange:function(t){e.val(t),e.click()}})),this.HolderInstance.get(0))},onunmatch:function(){this._super(),this.removeClass("sr-only"),this.HolderInstance instanceof i()&&((0,n.unmountComponentAtNode)(this.HolderInstance.get(0)),this.HolderInstance.remove())}})})}()}(); //# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/client/dist/bundle.js.map b/client/dist/bundle.js.map index b3cfe8a..ea47577 100644 --- a/client/dist/bundle.js.map +++ b/client/dist/bundle.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///../node_modules/cloudinary-core/cloudinary-core.js","webpack:///../node_modules/lodash/_DataView.js","webpack:///../node_modules/lodash/_Hash.js","webpack:///../node_modules/lodash/_ListCache.js","webpack:///../node_modules/lodash/_Map.js","webpack:///../node_modules/lodash/_MapCache.js","webpack:///../node_modules/lodash/_Promise.js","webpack:///../node_modules/lodash/_Set.js","webpack:///../node_modules/lodash/_SetCache.js","webpack:///../node_modules/lodash/_Stack.js","webpack:///../node_modules/lodash/_Symbol.js","webpack:///../node_modules/lodash/_Uint8Array.js","webpack:///../node_modules/lodash/_WeakMap.js","webpack:///../node_modules/lodash/_apply.js","webpack:///../node_modules/lodash/_arrayEach.js","webpack:///../node_modules/lodash/_arrayFilter.js","webpack:///../node_modules/lodash/_arrayIncludes.js","webpack:///../node_modules/lodash/_arrayIncludesWith.js","webpack:///../node_modules/lodash/_arrayLikeKeys.js","webpack:///../node_modules/lodash/_arrayMap.js","webpack:///../node_modules/lodash/_arrayPush.js","webpack:///../node_modules/lodash/_arraySome.js","webpack:///../node_modules/lodash/_asciiToArray.js","webpack:///../node_modules/lodash/_assignMergeValue.js","webpack:///../node_modules/lodash/_assignValue.js","webpack:///../node_modules/lodash/_assocIndexOf.js","webpack:///../node_modules/lodash/_baseAssign.js","webpack:///../node_modules/lodash/_baseAssignIn.js","webpack:///../node_modules/lodash/_baseAssignValue.js","webpack:///../node_modules/lodash/_baseClone.js","webpack:///../node_modules/lodash/_baseCreate.js","webpack:///../node_modules/lodash/_baseDifference.js","webpack:///../node_modules/lodash/_baseEach.js","webpack:///../node_modules/lodash/_baseFindIndex.js","webpack:///../node_modules/lodash/_baseFlatten.js","webpack:///../node_modules/lodash/_baseFor.js","webpack:///../node_modules/lodash/_baseForOwn.js","webpack:///../node_modules/lodash/_baseFunctions.js","webpack:///../node_modules/lodash/_baseGet.js","webpack:///../node_modules/lodash/_baseGetAllKeys.js","webpack:///../node_modules/lodash/_baseGetTag.js","webpack:///../node_modules/lodash/_baseHasIn.js","webpack:///../node_modules/lodash/_baseIndexOf.js","webpack:///../node_modules/lodash/_baseIsArguments.js","webpack:///../node_modules/lodash/_baseIsEqual.js","webpack:///../node_modules/lodash/_baseIsEqualDeep.js","webpack:///../node_modules/lodash/_baseIsMap.js","webpack:///../node_modules/lodash/_baseIsMatch.js","webpack:///../node_modules/lodash/_baseIsNaN.js","webpack:///../node_modules/lodash/_baseIsNative.js","webpack:///../node_modules/lodash/_baseIsSet.js","webpack:///../node_modules/lodash/_baseIsTypedArray.js","webpack:///../node_modules/lodash/_baseIteratee.js","webpack:///../node_modules/lodash/_baseKeys.js","webpack:///../node_modules/lodash/_baseKeysIn.js","webpack:///../node_modules/lodash/_baseMap.js","webpack:///../node_modules/lodash/_baseMatches.js","webpack:///../node_modules/lodash/_baseMatchesProperty.js","webpack:///../node_modules/lodash/_baseMerge.js","webpack:///../node_modules/lodash/_baseMergeDeep.js","webpack:///../node_modules/lodash/_baseProperty.js","webpack:///../node_modules/lodash/_basePropertyDeep.js","webpack:///../node_modules/lodash/_baseRest.js","webpack:///../node_modules/lodash/_baseSetToString.js","webpack:///../node_modules/lodash/_baseSlice.js","webpack:///../node_modules/lodash/_baseTimes.js","webpack:///../node_modules/lodash/_baseToString.js","webpack:///../node_modules/lodash/_baseTrim.js","webpack:///../node_modules/lodash/_baseUnary.js","webpack:///../node_modules/lodash/_baseUniq.js","webpack:///../node_modules/lodash/_baseValues.js","webpack:///../node_modules/lodash/_cacheHas.js","webpack:///../node_modules/lodash/_castPath.js","webpack:///../node_modules/lodash/_castSlice.js","webpack:///../node_modules/lodash/_charsEndIndex.js","webpack:///../node_modules/lodash/_charsStartIndex.js","webpack:///../node_modules/lodash/_cloneArrayBuffer.js","webpack:///../node_modules/lodash/_cloneBuffer.js","webpack:///../node_modules/lodash/_cloneDataView.js","webpack:///../node_modules/lodash/_cloneRegExp.js","webpack:///../node_modules/lodash/_cloneSymbol.js","webpack:///../node_modules/lodash/_cloneTypedArray.js","webpack:///../node_modules/lodash/_copyArray.js","webpack:///../node_modules/lodash/_copyObject.js","webpack:///../node_modules/lodash/_copySymbols.js","webpack:///../node_modules/lodash/_copySymbolsIn.js","webpack:///../node_modules/lodash/_coreJsData.js","webpack:///../node_modules/lodash/_createAssigner.js","webpack:///../node_modules/lodash/_createBaseEach.js","webpack:///../node_modules/lodash/_createBaseFor.js","webpack:///../node_modules/lodash/_createSet.js","webpack:///../node_modules/lodash/_defineProperty.js","webpack:///../node_modules/lodash/_equalArrays.js","webpack:///../node_modules/lodash/_equalByTag.js","webpack:///../node_modules/lodash/_equalObjects.js","webpack:///../node_modules/lodash/_freeGlobal.js","webpack:///../node_modules/lodash/_getAllKeys.js","webpack:///../node_modules/lodash/_getAllKeysIn.js","webpack:///../node_modules/lodash/_getMapData.js","webpack:///../node_modules/lodash/_getMatchData.js","webpack:///../node_modules/lodash/_getNative.js","webpack:///../node_modules/lodash/_getPrototype.js","webpack:///../node_modules/lodash/_getRawTag.js","webpack:///../node_modules/lodash/_getSymbols.js","webpack:///../node_modules/lodash/_getSymbolsIn.js","webpack:///../node_modules/lodash/_getTag.js","webpack:///../node_modules/lodash/_getValue.js","webpack:///../node_modules/lodash/_hasPath.js","webpack:///../node_modules/lodash/_hasUnicode.js","webpack:///../node_modules/lodash/_hashClear.js","webpack:///../node_modules/lodash/_hashDelete.js","webpack:///../node_modules/lodash/_hashGet.js","webpack:///../node_modules/lodash/_hashHas.js","webpack:///../node_modules/lodash/_hashSet.js","webpack:///../node_modules/lodash/_initCloneArray.js","webpack:///../node_modules/lodash/_initCloneByTag.js","webpack:///../node_modules/lodash/_initCloneObject.js","webpack:///../node_modules/lodash/_isFlattenable.js","webpack:///../node_modules/lodash/_isIndex.js","webpack:///../node_modules/lodash/_isIterateeCall.js","webpack:///../node_modules/lodash/_isKey.js","webpack:///../node_modules/lodash/_isKeyable.js","webpack:///../node_modules/lodash/_isMasked.js","webpack:///../node_modules/lodash/_isPrototype.js","webpack:///../node_modules/lodash/_isStrictComparable.js","webpack:///../node_modules/lodash/_listCacheClear.js","webpack:///../node_modules/lodash/_listCacheDelete.js","webpack:///../node_modules/lodash/_listCacheGet.js","webpack:///../node_modules/lodash/_listCacheHas.js","webpack:///../node_modules/lodash/_listCacheSet.js","webpack:///../node_modules/lodash/_mapCacheClear.js","webpack:///../node_modules/lodash/_mapCacheDelete.js","webpack:///../node_modules/lodash/_mapCacheGet.js","webpack:///../node_modules/lodash/_mapCacheHas.js","webpack:///../node_modules/lodash/_mapCacheSet.js","webpack:///../node_modules/lodash/_mapToArray.js","webpack:///../node_modules/lodash/_matchesStrictComparable.js","webpack:///../node_modules/lodash/_memoizeCapped.js","webpack:///../node_modules/lodash/_nativeCreate.js","webpack:///../node_modules/lodash/_nativeKeys.js","webpack:///../node_modules/lodash/_nativeKeysIn.js","webpack:///../node_modules/lodash/_nodeUtil.js","webpack:///../node_modules/lodash/_objectToString.js","webpack:///../node_modules/lodash/_overArg.js","webpack:///../node_modules/lodash/_overRest.js","webpack:///../node_modules/lodash/_root.js","webpack:///../node_modules/lodash/_safeGet.js","webpack:///../node_modules/lodash/_setCacheAdd.js","webpack:///../node_modules/lodash/_setCacheHas.js","webpack:///../node_modules/lodash/_setToArray.js","webpack:///../node_modules/lodash/_setToString.js","webpack:///../node_modules/lodash/_shortOut.js","webpack:///../node_modules/lodash/_stackClear.js","webpack:///../node_modules/lodash/_stackDelete.js","webpack:///../node_modules/lodash/_stackGet.js","webpack:///../node_modules/lodash/_stackHas.js","webpack:///../node_modules/lodash/_stackSet.js","webpack:///../node_modules/lodash/_strictIndexOf.js","webpack:///../node_modules/lodash/_stringToArray.js","webpack:///../node_modules/lodash/_stringToPath.js","webpack:///../node_modules/lodash/_toKey.js","webpack:///../node_modules/lodash/_toSource.js","webpack:///../node_modules/lodash/_trimmedEndIndex.js","webpack:///../node_modules/lodash/_unicodeToArray.js","webpack:///../node_modules/lodash/assign.js","webpack:///../node_modules/lodash/cloneDeep.js","webpack:///../node_modules/lodash/compact.js","webpack:///../node_modules/lodash/concat.js","webpack:///../node_modules/lodash/constant.js","webpack:///../node_modules/lodash/difference.js","webpack:///../node_modules/lodash/differenceBy.js","webpack:///../node_modules/lodash/eq.js","webpack:///../node_modules/lodash/first.js","webpack:///../node_modules/lodash/functions.js","webpack:///../node_modules/lodash/get.js","webpack:///../node_modules/lodash/hasIn.js","webpack:///../node_modules/lodash/head.js","webpack:///../node_modules/lodash/identity.js","webpack:///../node_modules/lodash/includes.js","webpack:///../node_modules/lodash/isArguments.js","webpack:///../node_modules/lodash/isArray.js","webpack:///../node_modules/lodash/isArrayLike.js","webpack:///../node_modules/lodash/isArrayLikeObject.js","webpack:///../node_modules/lodash/isBuffer.js","webpack:///../node_modules/lodash/isElement.js","webpack:///../node_modules/lodash/isFunction.js","webpack:///../node_modules/lodash/isLength.js","webpack:///../node_modules/lodash/isMap.js","webpack:///../node_modules/lodash/isObject.js","webpack:///../node_modules/lodash/isObjectLike.js","webpack:///../node_modules/lodash/isPlainObject.js","webpack:///../node_modules/lodash/isSet.js","webpack:///../node_modules/lodash/isString.js","webpack:///../node_modules/lodash/isSymbol.js","webpack:///../node_modules/lodash/isTypedArray.js","webpack:///../node_modules/lodash/keys.js","webpack:///../node_modules/lodash/keysIn.js","webpack:///../node_modules/lodash/last.js","webpack:///../node_modules/lodash/map.js","webpack:///../node_modules/lodash/memoize.js","webpack:///../node_modules/lodash/merge.js","webpack:///../node_modules/lodash/noop.js","webpack:///../node_modules/lodash/property.js","webpack:///../node_modules/lodash/stubArray.js","webpack:///../node_modules/lodash/stubFalse.js","webpack:///../node_modules/lodash/toFinite.js","webpack:///../node_modules/lodash/toInteger.js","webpack:///../node_modules/lodash/toNumber.js","webpack:///../node_modules/lodash/toPlainObject.js","webpack:///../node_modules/lodash/toString.js","webpack:///../node_modules/lodash/trim.js","webpack:///../node_modules/lodash/uniq.js","webpack:///../node_modules/lodash/values.js","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/node module decorator","webpack:///external var \"jQuery\"","webpack:///external var \"React\"","webpack:///external var \"ReactDom\"","webpack:///external var \"PropTypes\"","webpack:///external var \"classnames\"","webpack:///./utils/url.js","webpack:///./components/resource.js","webpack:///./components/image.js","webpack:///./components/video.js","webpack:///./components/file.js","webpack:///./components/audio.js","webpack:///./components/field.js","webpack:///./bundle.js"],"names":["factory","__WEBPACK_EXTERNAL_MODULE_lodash_assign__","__WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep__","__WEBPACK_EXTERNAL_MODULE_lodash_compact__","__WEBPACK_EXTERNAL_MODULE_lodash_difference__","__WEBPACK_EXTERNAL_MODULE_lodash_functions__","__WEBPACK_EXTERNAL_MODULE_lodash_identity__","__WEBPACK_EXTERNAL_MODULE_lodash_includes__","__WEBPACK_EXTERNAL_MODULE_lodash_isArray__","__WEBPACK_EXTERNAL_MODULE_lodash_isElement__","__WEBPACK_EXTERNAL_MODULE_lodash_isFunction__","__WEBPACK_EXTERNAL_MODULE_lodash_isPlainObject__","__WEBPACK_EXTERNAL_MODULE_lodash_isString__","__WEBPACK_EXTERNAL_MODULE_lodash_merge__","__WEBPACK_EXTERNAL_MODULE_lodash_trim__","modules","module","__webpack_exports__","r","d","clienthintsmetatag","cloudinary","condition","src_configuration","src_crc32","expression","fetchlayer","htmltag","imagetag","layer_layer","picturetag","subtitleslayer","textlayer","src_transformation","src_utf8_encode","lodash_namespaceObject","videotag","constants_namespaceObject","VERSION","CF_SHARED_CDN","OLD_AKAMAI_SHARED_CDN","AKAMAI_SHARED_CDN","SHARED_CDN","DEFAULT_TIMEOUT_MS","DEFAULT_POSTER_OPTIONS","DEFAULT_VIDEO_SOURCE_TYPES","SEO_TYPES","DEFAULT_IMAGE_PARAMS","DEFAULT_VIDEO_PARAMS","DEFAULT_VIDEO_SOURCES","DEFAULT_EXTERNAL_LIBRARIES","PLACEHOLDER_IMAGE_MODES","ACCESSIBILITY_MODES","URL_KEYS","getSDKAnalyticsSignature","getAnalyticsOptions","assign_root_assign_default","a","cloneDeep_root_cloneDeep_default","compact_root_compact_default","difference_root_difference_default","functions_root_functions_default","identity_root_identity_default","includes_root_includes_default","isArray_root_isArray_default","isPlainObject_root_isPlainObject_default","isString_root_isString_default","merge_root_merge_default","isIntersectionObserverSupported","isNativeLazyLoadSupported","detectIntersection","omit","baseutil_allStrings","without","isNumberLike","smartEscape","defaults","objectProto","objToString","isObject","funcTag","reWords","camelCase","snakeCase","convertKeys","withCamelCaseKeys","withSnakeCaseKeys","base64Encode","base64EncodeURL","extractUrlParams","patchFetchFormat","optionConsume","isEmpty","isElement_root_isElement_default","isFunction_root_isFunction_default","trim_root_trim_default","lodash_getData","lodash_setData","lodash_getAttribute","lodash_setAttribute","lodash_removeAttribute","setAttributes","lodash_hasClass","lodash_addClass","getStyles","cssExpand","domStyle","curCSS","cssValue","augmentWidthOrHeight","getWidthOrHeight","lodash_width","argString","c1","enc","end","n","start","string","stringl","utftext","length","charCodeAt","String","fromCharCode","slice","str","i","iTop","y","crc","substr","stringPad","value","targetLength","padString","times","repeatedString","repeatStringNumTimes","_arrayLikeToArray","arr","len","arr2","Array","base64Map_num","map","isArray","_arrayWithoutHoles","iter","Symbol","iterator","from","_iterableToArray","o","minLen","Object","prototype","toString","call","constructor","name","test","_unsupportedIterableToArray","TypeError","_nonIterableSpread","forEach","_char","key","base64Map","encodeVersion","semVer","strResult","paddedStringLength","split","paddedReversedSemver","Error","reverse","segment","join","reverseVersion","paddedBinary","parseInt","match","bitString","analyticsOptions","arguments","undefined","twoPartVersion","semVerStr","parts","concat","removePatchFromSemver","techVersion","encodedSDKVersion","sdkSemver","encodedTechVersion","featureCode","feature","SDKCode","sdkCode","e","options","urlAnalytics","accessibility","loading","responsive","placeholder","assign_root_assign_","cloneDeep_root_cloneDeep_","compact_root_compact_","difference_root_difference_","functions_root_functions_","identity_root_identity_","includes_root_includes_","isArray_root_isArray_","isPlainObject_root_isPlainObject_","isString_root_isString_","merge_root_merge_","isElement_root_isElement_","isFunction_root_isFunction_","trim_root_trim_","_typeof","obj","window","IntersectionObserver","HTMLImageElement","el","onIntersect","observer","entries","entry","isIntersecting","unobserve","target","threshold","observe","format","resource_type","transformation","type","fallback_content","source_transformation","source_types","codecs","transformations","video_codec","seeThru","effect","quality","fetch_format","width","aspect_ratio","crop","background","height","gravity","variables","darkmode","brightmode","monochrome","colorblind","baseutil_typeof","keys","srcKeys","filter","filtered","list","every","array","item","v","isNaN","parseFloat","replace","c","toUpperCase","destination","_len","sources","_key","reduce","dest","source","isFunction","RegExp","upper","words","word","charAt","toLocaleUpperCase","toLocaleLowerCase","converter","result","btoa","Buffer","input","url","decodeURI","encodeURI","option_name","default_value","size","hasOwnProperty","element","getAttribute","getAttr","data","jQuery","fn","setAttribute","setAttr","attr","removeAttribute","attributes","results","push","className","elem","ownerDocument","defaultView","opener","getComputedStyle","nodeContains","b","adown","nodeType","documentElement","bup","parentNode","contains","style","computed","minWidth","maxWidth","rmargin","ret","getPropertyValue","rnumnonpx","convert","styles","val","extra","isBorderBox","side","sides","valueIsBorderBox","offsetWidth","offsetHeight","_defineProperties","props","descriptor","enumerable","configurable","writable","defineProperty","Expression","expressionStr","instance","Constructor","_classCallCheck","this","expressions","normalize","protoProps","staticProps","operatorsReplaceRE","OPERATORS","predefinedVarsPattern","PREDEFINED_VARS","variablesReplaceRE","serialize","parent","operator","getParent","predicate","_value","BOUNDRY","condition_typeof","condition_defineProperties","_setPrototypeOf","p","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","_isNativeReflectConstruct","NewTarget","Super","_getPrototypeOf","self","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","apply","getPrototypeOf","subClass","superClass","create","_inherits","Condition","_super","conditionStr","condition_classCallCheck","_slicedToArray","_arrayWithHoles","_i","_s","_e","_arr","_n","_d","next","done","err","_iterableToArrayLimit","configuration_arrayLikeToArray","configuration_unsupportedIterableToArray","_nonIterableRest","configuration_defineProperties","configuration_Configuration","Configuration","configuration_classCallCheck","configuration","DEFAULT_CONFIGURATION_PARAMS","fromEnvironment","fromDocument","config","meta_elements","document","querySelectorAll","uri","_this","process","CLOUDINARY_URL","exec","query","_value$split2","k","new_config","new_value","set","get","merge","responsive_class","responsive_use_breakpoints","round_dpr","secure","location","protocol","CONFIG_PARAMS","layer_defineProperties","Layer","layer_classCallCheck","ref","resourceType","publicId","getPublicId","components","getFullPublicId","textlayer_typeof","textlayer_defineProperties","textlayer_setPrototypeOf","textlayer_createSuper","textlayer_isNativeReflectConstruct","textlayer_getPrototypeOf","textlayer_assertThisInitialized","textlayer_possibleConstructorReturn","textlayer_inherits","TextLayer","textlayer_classCallCheck","_resourceType","_type","_format","_fontFamily","fontFamily","_fontSize","fontSize","_fontWeight","fontWeight","_fontStyle","fontStyle","_textDecoration","textDecoration","_textAlign","textAlign","_stroke","stroke","_letterSpacing","letterSpacing","_lineSpacing","lineSpacing","_fontHinting","fontHinting","_fontAntialiasing","fontAntialiasing","_text","text","_textStyle","textStyle","hasPublicId","hasStyle","re","res","textSource","textStyleIdentifier","index","unshift","subtitleslayer_typeof","subtitleslayer_setPrototypeOf","subtitleslayer_createSuper","subtitleslayer_isNativeReflectConstruct","subtitleslayer_getPrototypeOf","subtitleslayer_assertThisInitialized","subtitleslayer_possibleConstructorReturn","subtitleslayer_inherits","SubtitlesLayer","subtitleslayer_classCallCheck","fetchlayer_typeof","fetchlayer_defineProperties","fetchlayer_setPrototypeOf","fetchlayer_createSuper","fetchlayer_isNativeReflectConstruct","fetchlayer_getPrototypeOf","fetchlayer_assertThisInitialized","fetchlayer_possibleConstructorReturn","fetchlayer_inherits","FetchLayer","fetchlayer_classCallCheck","_url","parameters_typeof","_get","property","receiver","base","object","parameters_getPrototypeOf","_superPropBase","desc","getOwnPropertyDescriptor","parameters_inherits","parameters_setPrototypeOf","parameters_createSuper","parameters_isNativeReflectConstruct","parameters_assertThisInitialized","parameters_possibleConstructorReturn","parameters_classCallCheck","parameters_defineProperties","parameters_createClass","parameters_Param","Param","shortName","origValue","valid","arg","param","video","codec","profile","level","parameters_ArrayParam","ArrayParam","sep","arrayValue","flat","t","_this2","parameters_TransformationParam","TransformationParam","_super2","_this3","joined","_this4","origValue1","RangeParam","_super3","norm_range_value","modifier","offset","parameters_RawParam","RawParam","_super4","parameters_LayerParam","LayerParam","_super5","layerOptions","layer","transformation_typeof","transformation_setPrototypeOf","transformation_createSuper","transformation_isNativeReflectConstruct","transformation_getPrototypeOf","transformation_assertThisInitialized","transformation_possibleConstructorReturn","transformation_slicedToArray","transformation_arrayWithHoles","transformation_iterableToArrayLimit","transformation_arrayLikeToArray","transformation_unsupportedIterableToArray","transformation_nonIterableRest","transformation_classCallCheck","transformation_defineProperties","transformation_createClass","assignNotNull","transformation_TransformationBase","TransformationBase","trans","toOptions","withChain","opt","otherOptions","chained","tr","setParent","fromOptions","abbr","defaultValue","rawParam","lastArgCallback","rangeParam","arrayParam","transformationParam","layerParam","getValue","remove","temp","VAR_NAME_RE","sort","toPlainObject","hash","chain","getOwnPropertyNames","resetTransformations","fromTransformation","clone","other","camelKey","_len2","values","_key2","transformation_Transformation","methods","j","ref3","transformationList","vars","resultArray","paramList","ifParam","ref1","varArray","_varArray$j","processVar","ref2","ref4","len1","transformationString","param_separator","trans_separator","snakeCaseKey","PARAM_NAMES","attrName","hasLayer","toHtml","indexOf","args","callback","processCustomFunction","_ref","function_type","transformation_inherits","Transformation","norm_color","border","color","dpr","fps","ifVal","trIf","trRest","_ref3","start_o","end_o","startOffset","endOffset","process_video_params","htmltag_defineProperties","HtmlTag","htmltag_classCallCheck","tag","responsiveClass","dataSrc","attrs","htmltag_toAttribute","htmlAttributes","toHtmlAttributes","htmlAttrs","openTag","content","closeTag","createElement","_excluded","_objectWithoutProperties","excluded","sourceKeys","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","isUrl","handlePrefix","cloud_name","cdnPart","subdomain","host","path","private_cdn","cdn_subdomain","secure_cdn_subdomain","secure_distribution","cname","encodePublicId","encodeURIComponent","preparePublicId","prefix","pathname","urlString","isFormatted","version","isForceVersion","force_version","isVersionExist","_ref2","blur","signature","_ref$resource_type","_ref$type","url_suffix","use_root_path","shorten","handleResourceType","decodeURIComponent","error","trust_public_id","formatPublicId","url_url","resultUrl","sdkAnalyticsSignature","appender","generateBreakpoints_slicedToArray","generateBreakpoints_arrayWithHoles","generateBreakpoints_iterableToArrayLimit","generateBreakpoints_arrayLikeToArray","generateBreakpoints_unsupportedIterableToArray","generateBreakpoints_nonIterableRest","srcsetUtils_isEmpty","scaledUrl","public_id","configParams","raw_transformation","getOrGenerateBreakpoints","srcset","breakpoints","min_width","_map2","max_width","max_images","Number","some","stepSize","Math","ceil","max","current","generateBreakpoints","generateImageResponsiveAttributes","srcsetData","responsiveAttributes","generateSizes","sizes","generateSrcset","srcsetAttr","sizesAttr","imagetag_typeof","imagetag_defineProperties","imagetag_get","imagetag_getPrototypeOf","imagetag_superPropBase","imagetag_setPrototypeOf","imagetag_createSuper","imagetag_isNativeReflectConstruct","imagetag_assertThisInitialized","imagetag_possibleConstructorReturn","imagetag_inherits","ImageTag","imagetag_classCallCheck","getOptions","srcsetParam","getOption","srcAttribute","client_hints","sourcetag_typeof","sourcetag_defineProperties","sourcetag_get","sourcetag_getPrototypeOf","sourcetag_superPropBase","sourcetag_setPrototypeOf","sourcetag_createSuper","sourcetag_isNativeReflectConstruct","sourcetag_assertThisInitialized","sourcetag_possibleConstructorReturn","sourcetag","sourcetag_inherits","SourceTag","sourcetag_classCallCheck","media","mediaQuery","picturetag_typeof","picturetag_defineProperties","picturetag_get","picturetag_getPrototypeOf","picturetag_superPropBase","picturetag_setPrototypeOf","picturetag_createSuper","picturetag_isNativeReflectConstruct","picturetag_assertThisInitialized","picturetag_possibleConstructorReturn","picturetag_inherits","PictureTag","picturetag_classCallCheck","widthList","sourceTransformation","videotag_typeof","videotag_defineProperties","videotag_get","videotag_getPrototypeOf","videotag_superPropBase","videotag_setPrototypeOf","videotag_createSuper","videotag_isNativeReflectConstruct","videotag_assertThisInitialized","videotag_possibleConstructorReturn","VIDEO_TAG_PARAMS","videotag_DEFAULT_VIDEO_SOURCE_TYPES","videotag_DEFAULT_POSTER_OPTIONS","videotag_inherits","VideoTag","videotag_classCallCheck","sourceTypes","poster","fallbackContent","fallback","innerTags","src","createSourceTag","srcType","defaultOptions","sourceType","mimeType","clienthintsmetatag_typeof","clienthintsmetatag_defineProperties","clienthintsmetatag_setPrototypeOf","clienthintsmetatag_createSuper","clienthintsmetatag_isNativeReflectConstruct","clienthintsmetatag_getPrototypeOf","clienthintsmetatag_assertThisInitialized","clienthintsmetatag_possibleConstructorReturn","clienthintsmetatag_inherits","ClientHintsMetaTag","clienthintsmetatag_classCallCheck","normalizeToArray_toConsumableArray","normalizeToArray_arrayLikeToArray","normalizeToArray_arrayWithoutHoles","normalizeToArray_iterableToArray","normalizeToArray_unsupportedIterableToArray","normalizeToArray_nonIterableSpread","transparentVideo_mountCloudinaryVideoTag","htmlElContainer","clInstance","Promise","resolve","reject","innerHTML","videoTag","querySelector","addFlag","flag","flags","transparentVideo_enforceOptionsForTransparentVideo","autoplay","muted","controls","max_timeout_ms","externalLibraries","xhr_loadScript","scriptURL","isAlreadyLoaded","scriptTag","timerID","setTimeout","status","message","onerror","clearTimeout","onload","head","appendChild","xhr_getBlobFromURL","urlToLoad","xhr","XMLHttpRequest","responseType","response","payload","blobURL","URL","createObjectURL","open","send","transparentVideo_createHiddenVideoTag","videoOptions","playsinline","loop","videoURL","visibility","position","x","revokeObjectURL","transparentVideo_instantiateSeeThru","videoElement","customClass","autoPlay","_window","seeThruInstance","ready","canvasElement","getCanvas","play","transparentVideo_mountSeeThruCanvasTag","then","transparentVideo_checkSupportForTransparency","canPlay","canPlayType","cloudinary_defineProperties","defaultBreakpoints","steps","closestAbove","applyBreakpoints","resizing","calc_breakpoint","cloudinary_findContainerWidth","containerWidth","Element","display","updateDpr","roundDpr","device_pixel_ratio","cloudinary_maxWidth","requiredWidth","imageWidth","cloudinary_Cloudinary","Cloudinary","cloudinary_classCallCheck","devicePixelRatioCache","responsiveConfig","responsiveResizeInitialized","newConfig","newValue","init","img","imageTag","toDOM","cloudinary_update","image","bootstrap","responsive_resize","timeout","makeResponsive","debounce","responsive_debounce","reset","run","waitFunc","addEventListener","removeEventListener","point","devicePixelRatio","dprString","nodes","images","node","tagName","imgOptions","elements","setUrl","isLazyLoading","isResponsive","responsive_preserve_height","isLazyLoadSupported","setAttributeIfExists","toAttribute","fromAttribute","attributeValue","video_url","isNativelyTransparent","mountPromise","crc32","utf8_encode","Util","exports","installedModules","m","getter","toStringTag","mode","__esModule","ns","bind","s","moduleId","l","DataView","getNative","hashClear","hashDelete","hashGet","hashHas","hashSet","Hash","clear","has","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","ListCache","Map","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","MapCache","Set","setCacheAdd","setCacheHas","SetCache","__data__","add","stackClear","stackDelete","stackGet","stackHas","stackSet","Stack","Uint8Array","WeakMap","func","thisArg","iteratee","resIndex","baseIndexOf","comparator","baseTimes","isArguments","isBuffer","isIndex","isTypedArray","inherited","isArr","isArg","isBuff","isType","skipIndexes","baseAssignValue","eq","objValue","copyObject","keysIn","arrayEach","assignValue","baseAssign","baseAssignIn","cloneBuffer","copyArray","copySymbols","copySymbolsIn","getAllKeys","getAllKeysIn","getTag","initCloneArray","initCloneByTag","initCloneObject","isMap","isSet","argsTag","objectTag","cloneableTags","baseClone","bitmask","customizer","stack","isDeep","isFlat","isFull","isFunc","stacked","subValue","objectCreate","proto","arrayIncludes","arrayIncludesWith","arrayMap","baseUnary","cacheHas","includes","isCommon","valuesLength","outer","valuesIndex","baseForOwn","baseEach","createBaseEach","fromIndex","fromRight","arrayPush","isFlattenable","baseFlatten","depth","isStrict","baseFor","createBaseFor","arrayFilter","castPath","toKey","keysFunc","symbolsFunc","getRawTag","objectToString","symToStringTag","baseFindIndex","baseIsNaN","strictIndexOf","baseGetTag","isObjectLike","baseIsEqualDeep","baseIsEqual","equalArrays","equalByTag","equalObjects","arrayTag","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","objIsWrapped","othIsWrapped","matchData","noCustomizer","srcValue","COMPARE_PARTIAL_FLAG","isMasked","toSource","reIsHostCtor","funcProto","Function","funcToString","reIsNative","isLength","typedArrayTags","baseMatches","baseMatchesProperty","identity","isPrototype","nativeKeys","nativeKeysIn","isProto","isArrayLike","collection","baseIsMatch","getMatchData","matchesStrictComparable","hasIn","isKey","isStrictComparable","assignMergeValue","baseMergeDeep","safeGet","baseMerge","srcIndex","cloneTypedArray","isArrayLikeObject","isPlainObject","mergeFunc","isTyped","baseGet","overRest","setToString","constant","isSymbol","symbolProto","symbolToString","baseToString","trimmedEndIndex","reTrimStart","createSet","setToArray","seen","seenIndex","cache","stringToPath","baseSlice","strSymbols","chrSymbols","arrayBuffer","byteLength","root","freeExports","freeModule","allocUnsafe","buffer","copy","cloneArrayBuffer","dataView","byteOffset","reFlags","regexp","lastIndex","symbolValueOf","symbol","typedArray","isNew","getSymbols","getSymbolsIn","coreJsData","baseRest","isIterateeCall","assigner","guard","eachFunc","iterable","noop","arraySome","isPartial","arrLength","othLength","arrStacked","othStacked","compared","arrValue","othValue","othIndex","mapToArray","objProps","objLength","objStacked","skipCtor","objCtor","othCtor","freeGlobal","g","baseGetAllKeys","isKeyable","baseIsNative","getPrototype","overArg","nativeObjectToString","isOwn","unmasked","stubArray","nativeGetSymbols","mapTag","promiseTag","setTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","ArrayBuffer","Ctor","ctorString","hasFunc","reHasUnicode","nativeCreate","cloneDataView","cloneRegExp","cloneSymbol","baseCreate","spreadableSymbol","isConcatSpreadable","reIsUint","reIsDeepProp","reIsPlainProp","maskSrcKey","uid","IE_PROTO","assocIndexOf","splice","pop","getMapData","memoize","freeProcess","nodeUtil","types","require","binding","transform","nativeMax","otherArgs","freeSelf","baseSetToString","shortOut","nativeNow","Date","now","count","lastCalled","stamp","remaining","pairs","LARGE_ARRAY_SIZE","asciiToArray","hasUnicode","unicodeToArray","memoizeCapped","rePropName","reEscapeChar","number","quote","subString","reWhitespace","rsAstralRange","rsAstral","rsCombo","rsFitz","rsNonAstral","rsRegional","rsSurrPair","reOptMod","rsOptVar","rsSeq","rsSymbol","reUnicode","createAssigner","assign","CLONE_DEEP_FLAG","baseDifference","difference","baseIteratee","last","differenceBy","baseFunctions","baseHasIn","hasPath","isString","toInteger","baseIsArguments","stubFalse","nativeIsBuffer","baseIsMap","nodeIsMap","objectCtorString","baseIsSet","nodeIsSet","baseIsTypedArray","nodeIsTypedArray","arrayLikeKeys","baseKeys","baseKeysIn","baseMap","resolver","memoized","Cache","baseProperty","basePropertyDeep","toNumber","toFinite","remainder","baseTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","isBinary","castSlice","charsEndIndex","charsStartIndex","stringToArray","chars","baseUniq","baseValues","__webpack_module_cache__","__webpack_require__","cachedModule","id","loaded","__webpack_modules__","definition","globalThis","prop","nmd","paths","children","React","ReactDom","PropTypes","classnames","CLOUDINARY_CONFIG","Resource","Component","title","description","credit","foreground_colour","background_colour","state","updateTitle","updateDescription","updateCredit","updateGravity","updateFgColour","updateBgColour","removeResource","moveResourceUp","moveResourceDown","thumbnailUrl","titleFieldLabel","titleFieldPlaceholder","descriptionFieldLabel","descriptionFieldPlaceholder","creditFieldLabel","creditFieldPlaceholder","event","setState","onChange","onRemoveResource","onMoveResource","fields","firstItem","lastItem","moveUpClassNames","moveDownClassNames","onClick","disabled","actual_type","top_colours","gravityOptions","thumbnail","renderOrder","href","rel","field","htmlFor","rows","gravityFieldLabel","label","selected","fgColourFieldLabel","checked","colour","backgroundColor","bgColourFieldLabel","propTypes","defaultProps","Image","Video","File","Audio","Field","isMultiple","resources","JSON","parse","showLibrary","insertHandler","loadResources","loadResource","processResource","processVideo","processAudio","processImage","processRaw","updateProperty","renderResources","maxFiles","multiple","max_files","navigator","userAgent","username","timestamp","openMediaLibrary","assets","asset","alert","newFiles","requests","all","responses","find","resource","bytes","derived","stringify","direction","idx","findIndex","newIdx","showButton","buttonLabel","$","entwine","HolderInstance","onmatch","addCl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AAD,MAAYlmC,KAAKtD,OAAjB,CAA0B3I,IAAMiM,KAAKjD,KAAK,MAAQlL,MAAQmO,KAAKpB,MAAQolC,SANvD,SAAAnyC,GAChB,EAAK+M,IAAI/M,GACT,EAAKs3C,YAKLnpC,KAAK8oC,eAAetjC,IAAI,KAIhC4jC,UAvByC,WAwBrCppC,KAAK+C,SAEL/C,KAAKqpC,YAAY,WAEXrpC,KAAK8oC,0BAA0BnsC,OAIrC2sC,4BACItpC,KAAK8oC,eAAetjC,IAAI,IAG5BxF,KAAK8oC,eAAeh4B,gB","file":"bundle.js","sourcesContent":["/**\n * cloudinary-core.js\n * Cloudinary's JavaScript library - Version 2.12.0\n * Copyright Cloudinary\n * see https://github.com/cloudinary/cloudinary_js\n *\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"lodash/assign\"), require(\"lodash/cloneDeep\"), require(\"lodash/compact\"), require(\"lodash/difference\"), require(\"lodash/functions\"), require(\"lodash/identity\"), require(\"lodash/includes\"), require(\"lodash/isArray\"), require(\"lodash/isElement\"), require(\"lodash/isFunction\"), require(\"lodash/isPlainObject\"), require(\"lodash/isString\"), require(\"lodash/merge\"), require(\"lodash/trim\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"lodash/assign\", \"lodash/cloneDeep\", \"lodash/compact\", \"lodash/difference\", \"lodash/functions\", \"lodash/identity\", \"lodash/includes\", \"lodash/isArray\", \"lodash/isElement\", \"lodash/isFunction\", \"lodash/isPlainObject\", \"lodash/isString\", \"lodash/merge\", \"lodash/trim\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"cloudinary\"] = factory(require(\"lodash/assign\"), require(\"lodash/cloneDeep\"), require(\"lodash/compact\"), require(\"lodash/difference\"), require(\"lodash/functions\"), require(\"lodash/identity\"), require(\"lodash/includes\"), require(\"lodash/isArray\"), require(\"lodash/isElement\"), require(\"lodash/isFunction\"), require(\"lodash/isPlainObject\"), require(\"lodash/isString\"), require(\"lodash/merge\"), require(\"lodash/trim\"));\n\telse\n\t\troot[\"cloudinary\"] = factory(root[\"_\"][\"assign\"], root[\"_\"][\"cloneDeep\"], root[\"_\"][\"compact\"], root[\"_\"][\"difference\"], root[\"_\"][\"functions\"], root[\"_\"][\"identity\"], root[\"_\"][\"includes\"], root[\"_\"][\"isArray\"], root[\"_\"][\"isElement\"], root[\"_\"][\"isFunction\"], root[\"_\"][\"isPlainObject\"], root[\"_\"][\"isString\"], root[\"_\"][\"merge\"], root[\"_\"][\"trim\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_lodash_assign__, __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep__, __WEBPACK_EXTERNAL_MODULE_lodash_compact__, __WEBPACK_EXTERNAL_MODULE_lodash_difference__, __WEBPACK_EXTERNAL_MODULE_lodash_functions__, __WEBPACK_EXTERNAL_MODULE_lodash_identity__, __WEBPACK_EXTERNAL_MODULE_lodash_includes__, __WEBPACK_EXTERNAL_MODULE_lodash_isArray__, __WEBPACK_EXTERNAL_MODULE_lodash_isElement__, __WEBPACK_EXTERNAL_MODULE_lodash_isFunction__, __WEBPACK_EXTERNAL_MODULE_lodash_isPlainObject__, __WEBPACK_EXTERNAL_MODULE_lodash_isString__, __WEBPACK_EXTERNAL_MODULE_lodash_merge__, __WEBPACK_EXTERNAL_MODULE_lodash_trim__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/namespace/cloudinary-core.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./src/namespace/cloudinary-core.js\":\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, \"ClientHintsMetaTag\", function() { return /* reexport */ clienthintsmetatag; });\n__webpack_require__.d(__webpack_exports__, \"Cloudinary\", function() { return /* reexport */ cloudinary; });\n__webpack_require__.d(__webpack_exports__, \"Condition\", function() { return /* reexport */ condition; });\n__webpack_require__.d(__webpack_exports__, \"Configuration\", function() { return /* reexport */ src_configuration; });\n__webpack_require__.d(__webpack_exports__, \"crc32\", function() { return /* reexport */ src_crc32; });\n__webpack_require__.d(__webpack_exports__, \"Expression\", function() { return /* reexport */ expression; });\n__webpack_require__.d(__webpack_exports__, \"FetchLayer\", function() { return /* reexport */ fetchlayer; });\n__webpack_require__.d(__webpack_exports__, \"HtmlTag\", function() { return /* reexport */ htmltag; });\n__webpack_require__.d(__webpack_exports__, \"ImageTag\", function() { return /* reexport */ imagetag; });\n__webpack_require__.d(__webpack_exports__, \"Layer\", function() { return /* reexport */ layer_layer; });\n__webpack_require__.d(__webpack_exports__, \"PictureTag\", function() { return /* reexport */ picturetag; });\n__webpack_require__.d(__webpack_exports__, \"SubtitlesLayer\", function() { return /* reexport */ subtitleslayer; });\n__webpack_require__.d(__webpack_exports__, \"TextLayer\", function() { return /* reexport */ textlayer; });\n__webpack_require__.d(__webpack_exports__, \"Transformation\", function() { return /* reexport */ src_transformation; });\n__webpack_require__.d(__webpack_exports__, \"utf8_encode\", function() { return /* reexport */ src_utf8_encode; });\n__webpack_require__.d(__webpack_exports__, \"Util\", function() { return /* reexport */ lodash_namespaceObject; });\n__webpack_require__.d(__webpack_exports__, \"VideoTag\", function() { return /* reexport */ videotag; });\n\n// NAMESPACE OBJECT: ./src/constants.js\nvar constants_namespaceObject = {};\n__webpack_require__.r(constants_namespaceObject);\n__webpack_require__.d(constants_namespaceObject, \"VERSION\", function() { return VERSION; });\n__webpack_require__.d(constants_namespaceObject, \"CF_SHARED_CDN\", function() { return CF_SHARED_CDN; });\n__webpack_require__.d(constants_namespaceObject, \"OLD_AKAMAI_SHARED_CDN\", function() { return OLD_AKAMAI_SHARED_CDN; });\n__webpack_require__.d(constants_namespaceObject, \"AKAMAI_SHARED_CDN\", function() { return AKAMAI_SHARED_CDN; });\n__webpack_require__.d(constants_namespaceObject, \"SHARED_CDN\", function() { return SHARED_CDN; });\n__webpack_require__.d(constants_namespaceObject, \"DEFAULT_TIMEOUT_MS\", function() { return DEFAULT_TIMEOUT_MS; });\n__webpack_require__.d(constants_namespaceObject, \"DEFAULT_POSTER_OPTIONS\", function() { return DEFAULT_POSTER_OPTIONS; });\n__webpack_require__.d(constants_namespaceObject, \"DEFAULT_VIDEO_SOURCE_TYPES\", function() { return DEFAULT_VIDEO_SOURCE_TYPES; });\n__webpack_require__.d(constants_namespaceObject, \"SEO_TYPES\", function() { return SEO_TYPES; });\n__webpack_require__.d(constants_namespaceObject, \"DEFAULT_IMAGE_PARAMS\", function() { return DEFAULT_IMAGE_PARAMS; });\n__webpack_require__.d(constants_namespaceObject, \"DEFAULT_VIDEO_PARAMS\", function() { return DEFAULT_VIDEO_PARAMS; });\n__webpack_require__.d(constants_namespaceObject, \"DEFAULT_VIDEO_SOURCES\", function() { return DEFAULT_VIDEO_SOURCES; });\n__webpack_require__.d(constants_namespaceObject, \"DEFAULT_EXTERNAL_LIBRARIES\", function() { return DEFAULT_EXTERNAL_LIBRARIES; });\n__webpack_require__.d(constants_namespaceObject, \"PLACEHOLDER_IMAGE_MODES\", function() { return PLACEHOLDER_IMAGE_MODES; });\n__webpack_require__.d(constants_namespaceObject, \"ACCESSIBILITY_MODES\", function() { return ACCESSIBILITY_MODES; });\n__webpack_require__.d(constants_namespaceObject, \"URL_KEYS\", function() { return URL_KEYS; });\n\n// NAMESPACE OBJECT: ./src/util/lodash.js\nvar lodash_namespaceObject = {};\n__webpack_require__.r(lodash_namespaceObject);\n__webpack_require__.d(lodash_namespaceObject, \"getSDKAnalyticsSignature\", function() { return getSDKAnalyticsSignature; });\n__webpack_require__.d(lodash_namespaceObject, \"getAnalyticsOptions\", function() { return getAnalyticsOptions; });\n__webpack_require__.d(lodash_namespaceObject, \"assign\", function() { return assign_root_assign_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"cloneDeep\", function() { return cloneDeep_root_cloneDeep_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"compact\", function() { return compact_root_compact_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"difference\", function() { return difference_root_difference_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"functions\", function() { return functions_root_functions_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"identity\", function() { return identity_root_identity_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"includes\", function() { return includes_root_includes_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"isArray\", function() { return isArray_root_isArray_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"isPlainObject\", function() { return isPlainObject_root_isPlainObject_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"isString\", function() { return isString_root_isString_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"merge\", function() { return merge_root_merge_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"contains\", function() { return includes_root_includes_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"isIntersectionObserverSupported\", function() { return isIntersectionObserverSupported; });\n__webpack_require__.d(lodash_namespaceObject, \"isNativeLazyLoadSupported\", function() { return isNativeLazyLoadSupported; });\n__webpack_require__.d(lodash_namespaceObject, \"detectIntersection\", function() { return detectIntersection; });\n__webpack_require__.d(lodash_namespaceObject, \"omit\", function() { return omit; });\n__webpack_require__.d(lodash_namespaceObject, \"allStrings\", function() { return baseutil_allStrings; });\n__webpack_require__.d(lodash_namespaceObject, \"without\", function() { return without; });\n__webpack_require__.d(lodash_namespaceObject, \"isNumberLike\", function() { return isNumberLike; });\n__webpack_require__.d(lodash_namespaceObject, \"smartEscape\", function() { return smartEscape; });\n__webpack_require__.d(lodash_namespaceObject, \"defaults\", function() { return defaults; });\n__webpack_require__.d(lodash_namespaceObject, \"objectProto\", function() { return objectProto; });\n__webpack_require__.d(lodash_namespaceObject, \"objToString\", function() { return objToString; });\n__webpack_require__.d(lodash_namespaceObject, \"isObject\", function() { return isObject; });\n__webpack_require__.d(lodash_namespaceObject, \"funcTag\", function() { return funcTag; });\n__webpack_require__.d(lodash_namespaceObject, \"reWords\", function() { return reWords; });\n__webpack_require__.d(lodash_namespaceObject, \"camelCase\", function() { return camelCase; });\n__webpack_require__.d(lodash_namespaceObject, \"snakeCase\", function() { return snakeCase; });\n__webpack_require__.d(lodash_namespaceObject, \"convertKeys\", function() { return convertKeys; });\n__webpack_require__.d(lodash_namespaceObject, \"withCamelCaseKeys\", function() { return withCamelCaseKeys; });\n__webpack_require__.d(lodash_namespaceObject, \"withSnakeCaseKeys\", function() { return withSnakeCaseKeys; });\n__webpack_require__.d(lodash_namespaceObject, \"base64Encode\", function() { return base64Encode; });\n__webpack_require__.d(lodash_namespaceObject, \"base64EncodeURL\", function() { return base64EncodeURL; });\n__webpack_require__.d(lodash_namespaceObject, \"extractUrlParams\", function() { return extractUrlParams; });\n__webpack_require__.d(lodash_namespaceObject, \"patchFetchFormat\", function() { return patchFetchFormat; });\n__webpack_require__.d(lodash_namespaceObject, \"optionConsume\", function() { return optionConsume; });\n__webpack_require__.d(lodash_namespaceObject, \"isEmpty\", function() { return isEmpty; });\n__webpack_require__.d(lodash_namespaceObject, \"isElement\", function() { return isElement_root_isElement_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"isFunction\", function() { return isFunction_root_isFunction_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"trim\", function() { return trim_root_trim_default.a; });\n__webpack_require__.d(lodash_namespaceObject, \"getData\", function() { return lodash_getData; });\n__webpack_require__.d(lodash_namespaceObject, \"setData\", function() { return lodash_setData; });\n__webpack_require__.d(lodash_namespaceObject, \"getAttribute\", function() { return lodash_getAttribute; });\n__webpack_require__.d(lodash_namespaceObject, \"setAttribute\", function() { return lodash_setAttribute; });\n__webpack_require__.d(lodash_namespaceObject, \"removeAttribute\", function() { return lodash_removeAttribute; });\n__webpack_require__.d(lodash_namespaceObject, \"setAttributes\", function() { return setAttributes; });\n__webpack_require__.d(lodash_namespaceObject, \"hasClass\", function() { return lodash_hasClass; });\n__webpack_require__.d(lodash_namespaceObject, \"addClass\", function() { return lodash_addClass; });\n__webpack_require__.d(lodash_namespaceObject, \"getStyles\", function() { return getStyles; });\n__webpack_require__.d(lodash_namespaceObject, \"cssExpand\", function() { return cssExpand; });\n__webpack_require__.d(lodash_namespaceObject, \"domStyle\", function() { return domStyle; });\n__webpack_require__.d(lodash_namespaceObject, \"curCSS\", function() { return curCSS; });\n__webpack_require__.d(lodash_namespaceObject, \"cssValue\", function() { return cssValue; });\n__webpack_require__.d(lodash_namespaceObject, \"augmentWidthOrHeight\", function() { return augmentWidthOrHeight; });\n__webpack_require__.d(lodash_namespaceObject, \"getWidthOrHeight\", function() { return getWidthOrHeight; });\n__webpack_require__.d(lodash_namespaceObject, \"width\", function() { return lodash_width; });\n\n// CONCATENATED MODULE: ./src/utf8_encode.js\n/**\n * UTF8 encoder\n * @private\n */\nvar utf8_encode;\n/* harmony default export */ var src_utf8_encode = (utf8_encode = function utf8_encode(argString) {\n var c1, enc, end, n, start, string, stringl, utftext; // http://kevin.vanzonneveld.net\n // + original by: Webtoolkit.info (http://www.webtoolkit.info/)\n // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + improved by: sowberry\n // + tweaked by: Jack\n // + bugfixed by: Onno Marsman\n // + improved by: Yves Sucaet\n // + bugfixed by: Onno Marsman\n // + bugfixed by: Ulrich\n // + bugfixed by: Rafal Kukawski\n // + improved by: kirilloid\n // * example 1: utf8_encode('Kevin van Zonneveld');\n // * returns 1: 'Kevin van Zonneveld'\n\n if (argString === null || typeof argString === 'undefined') {\n return '';\n }\n\n string = argString + ''; // .replace(/\\r\\n/g, \"\\n\").replace(/\\r/g, \"\\n\");\n\n utftext = '';\n start = void 0;\n end = void 0;\n stringl = 0;\n start = end = 0;\n stringl = string.length;\n n = 0;\n\n while (n < stringl) {\n c1 = string.charCodeAt(n);\n enc = null;\n\n if (c1 < 128) {\n end++;\n } else if (c1 > 127 && c1 < 2048) {\n enc = String.fromCharCode(c1 >> 6 | 192, c1 & 63 | 128);\n } else {\n enc = String.fromCharCode(c1 >> 12 | 224, c1 >> 6 & 63 | 128, c1 & 63 | 128);\n }\n\n if (enc !== null) {\n if (end > start) {\n utftext += string.slice(start, end);\n }\n\n utftext += enc;\n start = end = n + 1;\n }\n\n n++;\n }\n\n if (end > start) {\n utftext += string.slice(start, stringl);\n }\n\n return utftext;\n});\n// CONCATENATED MODULE: ./src/crc32.js\n\n/**\n * CRC32 calculator\n * Depends on 'utf8_encode'\n * @private\n * @param {string} str - The string to calculate the CRC32 for.\n * @return {number}\n */\n\nfunction crc32(str) {\n var crc, i, iTop, table, x, y; // http://kevin.vanzonneveld.net\n // + original by: Webtoolkit.info (http://www.webtoolkit.info/)\n // + improved by: T0bsn\n // + improved by: http://stackoverflow.com/questions/2647935/javascript-crc32-function-and-php-crc32-not-matching\n // - depends on: utf8_encode\n // * example 1: crc32('Kevin van Zonneveld');\n // * returns 1: 1249991249\n\n str = src_utf8_encode(str);\n table = '00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D';\n crc = 0;\n x = 0;\n y = 0;\n crc = crc ^ -1;\n i = 0;\n iTop = str.length;\n\n while (i < iTop) {\n y = (crc ^ str.charCodeAt(i)) & 0xFF;\n x = '0x' + table.substr(y * 9, 8);\n crc = crc >>> 8 ^ x;\n i++;\n }\n\n crc = crc ^ -1; //convert to unsigned 32-bit int if needed\n\n if (crc < 0) {\n crc += 4294967296;\n }\n\n return crc;\n}\n\n/* harmony default export */ var src_crc32 = (crc32);\n// CONCATENATED MODULE: ./src/sdkAnalytics/stringPad.js\nfunction stringPad(value, targetLength, padString) {\n targetLength = targetLength >> 0; //truncate if number or convert non-number to 0;\n\n padString = String(typeof padString !== 'undefined' ? padString : ' ');\n\n if (value.length > targetLength) {\n return String(value);\n } else {\n targetLength = targetLength - value.length;\n\n if (targetLength > padString.length) {\n padString += repeatStringNumTimes(padString, targetLength / padString.length);\n }\n\n return padString.slice(0, targetLength) + String(value);\n }\n}\n\nfunction repeatStringNumTimes(string, times) {\n var repeatedString = \"\";\n\n while (times > 0) {\n repeatedString += string;\n times--;\n }\n\n return repeatedString;\n}\n// CONCATENATED MODULE: ./src/sdkAnalytics/base64Map.js\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\nvar chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\nvar base64Map_num = 0;\nvar map = {};\n\n_toConsumableArray(chars).forEach(function (_char) {\n var key = base64Map_num.toString(2);\n key = stringPad(key, 6, '0');\n map[key] = _char;\n base64Map_num++;\n});\n/**\n * Map of six-bit binary codes to Base64 characters\n */\n\n\n/* harmony default export */ var base64Map = (map);\n// CONCATENATED MODULE: ./src/sdkAnalytics/reverseVersion.js\n\n/**\n * @description A semVer like string, x.y.z or x.y is allowed\n * Reverses the version positions, x.y.z turns to z.y.x\n * Pads each segment with '0' so they have length of 2\n * Example: 1.2.3 -> 03.02.01\n * @param {string} semVer Input can be either x.y.z or x.y\n * @return {string} in the form of zz.yy.xx (\n */\n\nfunction reverseVersion(semVer) {\n if (semVer.split('.').length < 2) {\n throw new Error('invalid semVer, must have at least two segments');\n } // Split by '.', reverse, create new array with padded values and concat it together\n\n\n return semVer.split('.').reverse().map(function (segment) {\n return stringPad(segment, 2, '0');\n }).join('.');\n}\n// CONCATENATED MODULE: ./src/sdkAnalytics/encodeVersion.js\n\n\n\n/**\n * @description Encodes a semVer-like version string\n * @param {string} semVer Input can be either x.y.z or x.y\n * @return {string} A string built from 3 characters of the base64 table that encode the semVer\n */\n\nfunction encodeVersion(semVer) {\n var strResult = ''; // support x.y or x.y.z by using 'parts' as a variable\n\n var parts = semVer.split('.').length;\n var paddedStringLength = parts * 6; // we pad to either 12 or 18 characters\n // reverse (but don't mirror) the version. 1.5.15 -> 15.5.1\n // Pad to two spaces, 15.5.1 -> 15.05.01\n\n var paddedReversedSemver = reverseVersion(semVer); // turn 15.05.01 to a string '150501' then to a number 150501\n\n var num = parseInt(paddedReversedSemver.split('.').join('')); // Represent as binary, add left padding to 12 or 18 characters.\n // 150,501 -> 100100101111100101\n\n var paddedBinary = num.toString(2);\n paddedBinary = stringPad(paddedBinary, paddedStringLength, '0'); // Stop in case an invalid version number was provided\n // paddedBinary must be built from sections of 6 bits\n\n if (paddedBinary.length % 6 !== 0) {\n throw 'Version must be smaller than 43.21.26)';\n } // turn every 6 bits into a character using the base64Map\n\n\n paddedBinary.match(/.{1,6}/g).forEach(function (bitString) {\n // console.log(bitString);\n strResult += base64Map[bitString];\n });\n return strResult;\n}\n// CONCATENATED MODULE: ./src/sdkAnalytics/getSDKAnalyticsSignature.js\n\n/**\n * @description Gets the SDK signature by encoding the SDK version and tech version\n * @param {{\n * [techVersion]:string,\n * [sdkSemver]: string,\n * [sdkCode]: string,\n * [feature]: string\n * }} analyticsOptions\n * @return {string} sdkAnalyticsSignature\n */\n\nfunction getSDKAnalyticsSignature() {\n var analyticsOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n try {\n var twoPartVersion = removePatchFromSemver(analyticsOptions.techVersion);\n var encodedSDKVersion = encodeVersion(analyticsOptions.sdkSemver);\n var encodedTechVersion = encodeVersion(twoPartVersion);\n var featureCode = analyticsOptions.feature;\n var SDKCode = analyticsOptions.sdkCode;\n var algoVersion = 'A'; // The algo version is determined here, it should not be an argument\n\n return \"\".concat(algoVersion).concat(SDKCode).concat(encodedSDKVersion).concat(encodedTechVersion).concat(featureCode);\n } catch (e) {\n // Either SDK or Node versions were unparsable\n return 'E';\n }\n}\n/**\n * @description Removes patch version from the semver if it exists\n * Turns x.y.z OR x.y into x.y\n * @param {'x.y.z' || 'x.y' || string} semVerStr\n */\n\nfunction removePatchFromSemver(semVerStr) {\n var parts = semVerStr.split('.');\n return \"\".concat(parts[0], \".\").concat(parts[1]);\n}\n// CONCATENATED MODULE: ./src/sdkAnalytics/getAnalyticsOptions.js\n/**\n * @description Gets the analyticsOptions from options- should include sdkSemver, techVersion, sdkCode, and feature\n * @param options\n * @returns {{sdkSemver: (string), sdkCode, feature: string, techVersion: (string)} || {}}\n */\nfunction getAnalyticsOptions(options) {\n var analyticsOptions = {\n sdkSemver: options.sdkSemver,\n techVersion: options.techVersion,\n sdkCode: options.sdkCode,\n feature: '0'\n };\n\n if (options.urlAnalytics) {\n if (options.accessibility) {\n analyticsOptions.feature = 'D';\n }\n\n if (options.loading === 'lazy') {\n analyticsOptions.feature = 'C';\n }\n\n if (options.responsive) {\n analyticsOptions.feature = 'A';\n }\n\n if (options.placeholder) {\n analyticsOptions.feature = 'B';\n }\n\n return analyticsOptions;\n } else {\n return {};\n }\n}\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/assign\",\"commonjs2\":\"lodash/assign\",\"amd\":\"lodash/assign\",\"root\":[\"_\",\"assign\"]}\nvar assign_root_assign_ = __webpack_require__(\"lodash/assign\");\nvar assign_root_assign_default = /*#__PURE__*/__webpack_require__.n(assign_root_assign_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/cloneDeep\",\"commonjs2\":\"lodash/cloneDeep\",\"amd\":\"lodash/cloneDeep\",\"root\":[\"_\",\"cloneDeep\"]}\nvar cloneDeep_root_cloneDeep_ = __webpack_require__(\"lodash/cloneDeep\");\nvar cloneDeep_root_cloneDeep_default = /*#__PURE__*/__webpack_require__.n(cloneDeep_root_cloneDeep_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/compact\",\"commonjs2\":\"lodash/compact\",\"amd\":\"lodash/compact\",\"root\":[\"_\",\"compact\"]}\nvar compact_root_compact_ = __webpack_require__(\"lodash/compact\");\nvar compact_root_compact_default = /*#__PURE__*/__webpack_require__.n(compact_root_compact_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/difference\",\"commonjs2\":\"lodash/difference\",\"amd\":\"lodash/difference\",\"root\":[\"_\",\"difference\"]}\nvar difference_root_difference_ = __webpack_require__(\"lodash/difference\");\nvar difference_root_difference_default = /*#__PURE__*/__webpack_require__.n(difference_root_difference_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/functions\",\"commonjs2\":\"lodash/functions\",\"amd\":\"lodash/functions\",\"root\":[\"_\",\"functions\"]}\nvar functions_root_functions_ = __webpack_require__(\"lodash/functions\");\nvar functions_root_functions_default = /*#__PURE__*/__webpack_require__.n(functions_root_functions_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/identity\",\"commonjs2\":\"lodash/identity\",\"amd\":\"lodash/identity\",\"root\":[\"_\",\"identity\"]}\nvar identity_root_identity_ = __webpack_require__(\"lodash/identity\");\nvar identity_root_identity_default = /*#__PURE__*/__webpack_require__.n(identity_root_identity_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/includes\",\"commonjs2\":\"lodash/includes\",\"amd\":\"lodash/includes\",\"root\":[\"_\",\"includes\"]}\nvar includes_root_includes_ = __webpack_require__(\"lodash/includes\");\nvar includes_root_includes_default = /*#__PURE__*/__webpack_require__.n(includes_root_includes_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/isArray\",\"commonjs2\":\"lodash/isArray\",\"amd\":\"lodash/isArray\",\"root\":[\"_\",\"isArray\"]}\nvar isArray_root_isArray_ = __webpack_require__(\"lodash/isArray\");\nvar isArray_root_isArray_default = /*#__PURE__*/__webpack_require__.n(isArray_root_isArray_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/isPlainObject\",\"commonjs2\":\"lodash/isPlainObject\",\"amd\":\"lodash/isPlainObject\",\"root\":[\"_\",\"isPlainObject\"]}\nvar isPlainObject_root_isPlainObject_ = __webpack_require__(\"lodash/isPlainObject\");\nvar isPlainObject_root_isPlainObject_default = /*#__PURE__*/__webpack_require__.n(isPlainObject_root_isPlainObject_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/isString\",\"commonjs2\":\"lodash/isString\",\"amd\":\"lodash/isString\",\"root\":[\"_\",\"isString\"]}\nvar isString_root_isString_ = __webpack_require__(\"lodash/isString\");\nvar isString_root_isString_default = /*#__PURE__*/__webpack_require__.n(isString_root_isString_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/merge\",\"commonjs2\":\"lodash/merge\",\"amd\":\"lodash/merge\",\"root\":[\"_\",\"merge\"]}\nvar merge_root_merge_ = __webpack_require__(\"lodash/merge\");\nvar merge_root_merge_default = /*#__PURE__*/__webpack_require__.n(merge_root_merge_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/isElement\",\"commonjs2\":\"lodash/isElement\",\"amd\":\"lodash/isElement\",\"root\":[\"_\",\"isElement\"]}\nvar isElement_root_isElement_ = __webpack_require__(\"lodash/isElement\");\nvar isElement_root_isElement_default = /*#__PURE__*/__webpack_require__.n(isElement_root_isElement_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/isFunction\",\"commonjs2\":\"lodash/isFunction\",\"amd\":\"lodash/isFunction\",\"root\":[\"_\",\"isFunction\"]}\nvar isFunction_root_isFunction_ = __webpack_require__(\"lodash/isFunction\");\nvar isFunction_root_isFunction_default = /*#__PURE__*/__webpack_require__.n(isFunction_root_isFunction_);\n\n// EXTERNAL MODULE: external {\"commonjs\":\"lodash/trim\",\"commonjs2\":\"lodash/trim\",\"amd\":\"lodash/trim\",\"root\":[\"_\",\"trim\"]}\nvar trim_root_trim_ = __webpack_require__(\"lodash/trim\");\nvar trim_root_trim_default = /*#__PURE__*/__webpack_require__.n(trim_root_trim_);\n\n// CONCATENATED MODULE: ./src/util/lazyLoad.js\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*\n * Includes utility methods for lazy loading media\n */\n\n/**\n * Check if IntersectionObserver is supported\n * @return {boolean} true if window.IntersectionObserver is defined\n */\nfunction isIntersectionObserverSupported() {\n // Check that 'IntersectionObserver' property is defined on window\n return (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && window.IntersectionObserver;\n}\n/**\n * Check if native lazy loading is supported\n * @return {boolean} true if 'loading' property is defined for HTMLImageElement\n */\n\nfunction isNativeLazyLoadSupported() {\n return (typeof HTMLImageElement === \"undefined\" ? \"undefined\" : _typeof(HTMLImageElement)) === \"object\" && HTMLImageElement.prototype.loading;\n}\n/**\n * Calls onIntersect() when intersection is detected, or when\n * no native lazy loading or when IntersectionObserver isn't supported.\n * @param {Element} el - the element to observe\n * @param {function} onIntersect - called when the given element is in view\n */\n\nfunction detectIntersection(el, onIntersect) {\n try {\n if (isNativeLazyLoadSupported() || !isIntersectionObserverSupported()) {\n // Return if there's no need or possibility to detect intersection\n onIntersect();\n return;\n } // Detect intersection with given element using IntersectionObserver\n\n\n var observer = new IntersectionObserver(function (entries) {\n entries.forEach(function (entry) {\n if (entry.isIntersecting) {\n onIntersect();\n observer.unobserve(entry.target);\n }\n });\n }, {\n threshold: [0, 0.01]\n });\n observer.observe(el);\n } catch (e) {\n onIntersect();\n }\n}\n// CONCATENATED MODULE: ./src/constants.js\nvar VERSION = \"2.5.0\";\nvar CF_SHARED_CDN = \"d3jpl91pxevbkh.cloudfront.net\";\nvar OLD_AKAMAI_SHARED_CDN = \"cloudinary-a.akamaihd.net\";\nvar AKAMAI_SHARED_CDN = \"res.cloudinary.com\";\nvar SHARED_CDN = AKAMAI_SHARED_CDN;\nvar DEFAULT_TIMEOUT_MS = 10000;\nvar DEFAULT_POSTER_OPTIONS = {\n format: 'jpg',\n resource_type: 'video'\n};\nvar DEFAULT_VIDEO_SOURCE_TYPES = ['webm', 'mp4', 'ogv'];\nvar SEO_TYPES = {\n \"image/upload\": \"images\",\n \"image/private\": \"private_images\",\n \"image/authenticated\": \"authenticated_images\",\n \"raw/upload\": \"files\",\n \"video/upload\": \"videos\"\n};\n/**\n* @const {Object} Cloudinary.DEFAULT_IMAGE_PARAMS\n* Defaults values for image parameters.\n*\n* (Previously defined using option_consume() )\n */\n\nvar DEFAULT_IMAGE_PARAMS = {\n resource_type: \"image\",\n transformation: [],\n type: 'upload'\n};\n/**\n* Defaults values for video parameters.\n* @const {Object} Cloudinary.DEFAULT_VIDEO_PARAMS\n* (Previously defined using option_consume() )\n */\n\nvar DEFAULT_VIDEO_PARAMS = {\n fallback_content: '',\n resource_type: \"video\",\n source_transformation: {},\n source_types: DEFAULT_VIDEO_SOURCE_TYPES,\n transformation: [],\n type: 'upload'\n};\n/**\n * Recommended sources for video tag\n * @const {Object} Cloudinary.DEFAULT_VIDEO_SOURCES\n */\n\nvar DEFAULT_VIDEO_SOURCES = [{\n type: \"mp4\",\n codecs: \"hev1\",\n transformations: {\n video_codec: \"h265\"\n }\n}, {\n type: \"webm\",\n codecs: \"vp9\",\n transformations: {\n video_codec: \"vp9\"\n }\n}, {\n type: \"mp4\",\n transformations: {\n video_codec: \"auto\"\n }\n}, {\n type: \"webm\",\n transformations: {\n video_codec: \"auto\"\n }\n}];\nvar DEFAULT_EXTERNAL_LIBRARIES = {\n seeThru: 'https://unpkg.com/seethru@4/dist/seeThru.min.js'\n};\n/**\n * Predefined placeholder transformations\n * @const {Object} Cloudinary.PLACEHOLDER_IMAGE_MODES\n */\n\nvar PLACEHOLDER_IMAGE_MODES = {\n 'blur': [{\n effect: 'blur:2000',\n quality: 1,\n fetch_format: 'auto'\n }],\n // Default\n 'pixelate': [{\n effect: 'pixelate',\n quality: 1,\n fetch_format: 'auto'\n }],\n // Generates a pixel size image which color is the predominant color of the original image.\n 'predominant-color-pixel': [{\n width: 'iw_div_2',\n aspect_ratio: 1,\n crop: 'pad',\n background: 'auto'\n }, {\n crop: 'crop',\n width: 1,\n height: 1,\n gravity: 'north_east'\n }, {\n fetch_format: 'auto',\n quality: 'auto'\n }],\n // Generates an image which color is the predominant color of the original image.\n 'predominant-color': [{\n variables: [['$currWidth', 'w'], ['$currHeight', 'h']]\n }, {\n width: 'iw_div_2',\n aspect_ratio: 1,\n crop: 'pad',\n background: 'auto'\n }, {\n crop: 'crop',\n width: 10,\n height: 10,\n gravity: 'north_east'\n }, {\n width: '$currWidth',\n height: '$currHeight',\n crop: 'fill'\n }, {\n fetch_format: 'auto',\n quality: 'auto'\n }],\n 'vectorize': [{\n effect: 'vectorize:3:0.1',\n fetch_format: 'svg'\n }]\n};\n/**\n * Predefined accessibility transformations\n * @const {Object} Cloudinary.ACCESSIBILITY_MODES\n */\n\nvar ACCESSIBILITY_MODES = {\n darkmode: 'tint:75:black',\n brightmode: 'tint:50:white',\n monochrome: 'grayscale',\n colorblind: 'assist_colorblind'\n};\n/**\n * A list of keys used by the url() function.\n * @private\n */\n\nvar URL_KEYS = ['accessibility', 'api_secret', 'auth_token', 'cdn_subdomain', 'cloud_name', 'cname', 'format', 'placeholder', 'private_cdn', 'resource_type', 'secure', 'secure_cdn_subdomain', 'secure_distribution', 'shorten', 'sign_url', 'signature', 'ssl_detected', 'type', 'url_suffix', 'use_root_path', 'version'];\n/**\n * The resource storage type\n * @typedef type\n * @enum {string}\n * @property {string} 'upload' A resource uploaded directly to Cloudinary\n * @property {string} 'fetch' A resource fetched by Cloudinary from a 3rd party storage\n * @property {string} 'private'\n * @property {string} 'authenticated'\n * @property {string} 'sprite'\n * @property {string} 'facebook'\n * @property {string} 'twitter'\n * @property {string} 'youtube'\n * @property {string} 'vimeo'\n *\n */\n\n/**\n * The resource type\n * @typedef resourceType\n * @enum {string}\n * @property {string} 'image' An image file\n * @property {string} 'video' A video file\n * @property {string} 'raw' A raw file\n */\n// CONCATENATED MODULE: ./src/util/baseutil.js\nfunction baseutil_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { baseutil_typeof = function _typeof(obj) { return typeof obj; }; } else { baseutil_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return baseutil_typeof(obj); }\n\n/*\n * Includes common utility methods and shims\n */\n\n\nfunction omit(obj, keys) {\n obj = obj || {};\n var srcKeys = Object.keys(obj).filter(function (key) {\n return !includes_root_includes_default()(keys, key);\n });\n var filtered = {};\n srcKeys.forEach(function (key) {\n return filtered[key] = obj[key];\n });\n return filtered;\n}\n/**\n * Return true if all items in list are strings\n * @function Util.allString\n * @param {Array} list - an array of items\n */\n\nvar baseutil_allStrings = function allStrings(list) {\n return list.length && list.every(isString_root_isString_default.a);\n};\n/**\n* Creates a new array without the given item.\n* @function Util.without\n* @param {Array} array - original array\n* @param {*} item - the item to exclude from the new array\n* @return {Array} a new array made of the original array's items except for `item`\n */\n\nvar without = function without(array, item) {\n return array.filter(function (v) {\n return v !== item;\n });\n};\n/**\n* Return true is value is a number or a string representation of a number.\n* @function Util.isNumberLike\n* @param {*} value\n* @returns {boolean} true if value is a number\n* @example\n* Util.isNumber(0) // true\n* Util.isNumber(\"1.3\") // true\n* Util.isNumber(\"\") // false\n* Util.isNumber(undefined) // false\n */\n\nvar isNumberLike = function isNumberLike(value) {\n return value != null && !isNaN(parseFloat(value));\n};\n/**\n * Escape all characters matching unsafe in the given string\n * @function Util.smartEscape\n * @param {string} string - source string to escape\n * @param {RegExp} unsafe - characters that must be escaped\n * @return {string} escaped string\n */\n\nvar smartEscape = function smartEscape(string) {\n var unsafe = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : /([^a-zA-Z0-9_.\\-\\/:]+)/g;\n return string.replace(unsafe, function (match) {\n return match.split(\"\").map(function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n }).join(\"\");\n });\n};\n/**\n * Assign values from sources if they are not defined in the destination.\n * Once a value is set it does not change\n * @function Util.defaults\n * @param {Object} destination - the object to assign defaults to\n * @param {...Object} source - the source object(s) to assign defaults from\n * @return {Object} destination after it was modified\n */\n\nvar defaults = function defaults(destination) {\n for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n sources[_key - 1] = arguments[_key];\n }\n\n return sources.reduce(function (dest, source) {\n var key, value;\n\n for (key in source) {\n value = source[key];\n\n if (dest[key] === void 0) {\n dest[key] = value;\n }\n }\n\n return dest;\n }, destination);\n};\n/*********** lodash functions */\n\nvar objectProto = Object.prototype;\n/**\n * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\n\nvar objToString = objectProto.toString;\n/**\n * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n#isObject({});\n * // => true\n *\n#isObject([1, 2, 3]);\n * // => true\n *\n#isObject(1);\n * // => false\n */\n\nvar isObject = function isObject(value) {\n var type; // Avoid a V8 JIT bug in Chrome 19-20.\n // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n\n type = baseutil_typeof(value);\n return !!value && (type === 'object' || type === 'function');\n};\nvar funcTag = '[object Function]';\n/**\n* Checks if `value` is classified as a `Function` object.\n* @function Util.isFunction\n* @param {*} value The value to check.\n* @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n* @example\n*\n* function Foo(){};\n* isFunction(Foo);\n* // => true\n*\n* isFunction(/abc/);\n* // => false\n */\n\nvar isFunction = function isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in older versions of Chrome and Safari which return 'function' for regexes\n // and Safari 8 which returns 'object' for typed array constructors.\n return isObject(value) && objToString.call(value) === funcTag;\n};\n/*********** lodash functions */\n\n/** Used to match words to create compound words. */\n\nvar reWords = function () {\n var lower, upper;\n upper = '[A-Z]';\n lower = '[a-z]+';\n return RegExp(upper + '+(?=' + upper + lower + ')|' + upper + '?' + lower + '|' + upper + '+|[0-9]+', 'g');\n}();\n/**\n* Convert string to camelCase\n* @function Util.camelCase\n* @param {string} source - the string to convert\n* @return {string} in camelCase format\n */\n\nvar camelCase = function camelCase(source) {\n var words = source.match(reWords);\n words = words.map(function (word) {\n return word.charAt(0).toLocaleUpperCase() + word.slice(1).toLocaleLowerCase();\n });\n words[0] = words[0].toLocaleLowerCase();\n return words.join('');\n};\n/**\n * Convert string to snake_case\n * @function Util.snakeCase\n * @param {string} source - the string to convert\n * @return {string} in snake_case format\n */\n\nvar snakeCase = function snakeCase(source) {\n var words = source.match(reWords);\n words = words.map(function (word) {\n return word.toLocaleLowerCase();\n });\n return words.join('_');\n};\n/**\n * Creates a new object from source, with the keys transformed using the converter.\n * @param {object} source\n * @param {function|null} converter\n * @returns {object}\n */\n\nvar convertKeys = function convertKeys(source, converter) {\n var result, value;\n result = {};\n\n for (var key in source) {\n value = source[key];\n\n if (converter) {\n key = converter(key);\n }\n\n if (!isEmpty(key)) {\n result[key] = value;\n }\n }\n\n return result;\n};\n/**\n * Create a copy of the source object with all keys in camelCase\n * @function Util.withCamelCaseKeys\n * @param {Object} value - the object to copy\n * @return {Object} a new object\n */\n\nvar withCamelCaseKeys = function withCamelCaseKeys(source) {\n return convertKeys(source, camelCase);\n};\n/**\n * Create a copy of the source object with all keys in snake_case\n * @function Util.withSnakeCaseKeys\n * @param {Object} value - the object to copy\n * @return {Object} a new object\n */\n\nvar withSnakeCaseKeys = function withSnakeCaseKeys(source) {\n return convertKeys(source, snakeCase);\n}; // Browser\n// Node.js\n\nvar base64Encode = typeof btoa !== 'undefined' && isFunction(btoa) ? btoa : typeof Buffer !== 'undefined' && isFunction(Buffer) ? function (input) {\n if (!(input instanceof Buffer)) {\n input = new Buffer.from(String(input), 'binary');\n }\n\n return input.toString('base64');\n} : function (input) {\n throw new Error(\"No base64 encoding function found\");\n};\n/**\n* Returns the Base64-decoded version of url.
\n* This method delegates to `btoa` if present. Otherwise it tries `Buffer`.\n* @function Util.base64EncodeURL\n* @param {string} url - the url to encode. the value is URIdecoded and then re-encoded before converting to base64 representation\n* @return {string} the base64 representation of the URL\n */\n\nvar base64EncodeURL = function base64EncodeURL(url) {\n try {\n url = decodeURI(url);\n } finally {\n url = encodeURI(url);\n }\n\n return base64Encode(url);\n};\n/**\n * Create a new object with only URL parameters\n * @param {object} options The source object\n * @return {Object} An object containing only URL parameters\n */\n\nfunction extractUrlParams(options) {\n return URL_KEYS.reduce(function (obj, key) {\n if (options[key] != null) {\n obj[key] = options[key];\n }\n\n return obj;\n }, {});\n}\n/**\n * Handle the format parameter for fetch urls\n * @private\n * @param options url and transformation options. This argument may be changed by the function!\n */\n\nfunction patchFetchFormat(options) {\n if (options == null) {\n options = {};\n }\n\n if (options.type === \"fetch\") {\n if (options.fetch_format == null) {\n options.fetch_format = optionConsume(options, \"format\");\n }\n }\n}\n/**\n * Deletes `option_name` from `options` and return the value if present.\n * If `options` doesn't contain `option_name` the default value is returned.\n * @param {Object} options a collection\n * @param {String} option_name the name (key) of the desired value\n * @param {*} [default_value] the value to return is option_name is missing\n */\n\nfunction optionConsume(options, option_name, default_value) {\n var result = options[option_name];\n delete options[option_name];\n\n if (result != null) {\n return result;\n } else {\n return default_value;\n }\n}\n/**\n * Returns true if value is empty:\n *
    \n *
  • value is null or undefined
  • \n *
  • value is an array or string of length 0
  • \n *
  • value is an object with no keys
  • \n *
\n * @function Util.isEmpty\n * @param value\n * @returns {boolean} true if value is empty\n */\n\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n\n if (typeof value.length == \"number\") {\n return value.length === 0;\n }\n\n if (typeof value.size == \"number\") {\n return value.size === 0;\n }\n\n if (baseutil_typeof(value) == \"object\") {\n for (var key in value) {\n if (value.hasOwnProperty(key)) {\n return false;\n }\n }\n\n return true;\n }\n\n return true;\n}\n// CONCATENATED MODULE: ./src/util/lodash.js\nvar nodeContains;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*\n * Includes utility methods and lodash / jQuery shims\n */\n\n/**\n * Get data from the DOM element.\n *\n * This method will use jQuery's `data()` method if it is available, otherwise it will get the `data-` attribute\n * @param {Element} element - the element to get the data from\n * @param {string} name - the name of the data item\n * @returns the value associated with the `name`\n * @function Util.getData\n */\n\nvar lodash_getData = function getData(element, name) {\n switch (false) {\n case !(element == null):\n return void 0;\n\n case !isFunction_root_isFunction_default()(element.getAttribute):\n return element.getAttribute(\"data-\".concat(name));\n\n case !isFunction_root_isFunction_default()(element.getAttr):\n return element.getAttr(\"data-\".concat(name));\n\n case !isFunction_root_isFunction_default()(element.data):\n return element.data(name);\n\n case !(isFunction_root_isFunction_default()(typeof jQuery !== \"undefined\" && jQuery.fn && jQuery.fn.data) && isElement_root_isElement_default()(element)):\n return jQuery(element).data(name);\n }\n};\n/**\n * Set data in the DOM element.\n *\n * This method will use jQuery's `data()` method if it is available, otherwise it will set the `data-` attribute\n * @function Util.setData\n * @param {Element} element - the element to set the data in\n * @param {string} name - the name of the data item\n * @param {*} value - the value to be set\n *\n */\n\nvar lodash_setData = function setData(element, name, value) {\n switch (false) {\n case !(element == null):\n return void 0;\n\n case !isFunction_root_isFunction_default()(element.setAttribute):\n return element.setAttribute(\"data-\".concat(name), value);\n\n case !isFunction_root_isFunction_default()(element.setAttr):\n return element.setAttr(\"data-\".concat(name), value);\n\n case !isFunction_root_isFunction_default()(element.data):\n return element.data(name, value);\n\n case !(isFunction_root_isFunction_default()(typeof jQuery !== \"undefined\" && jQuery.fn && jQuery.fn.data) && isElement_root_isElement_default()(element)):\n return jQuery(element).data(name, value);\n }\n};\n/**\n * Get attribute from the DOM element.\n *\n * @function Util.getAttribute\n * @param {Element} element - the element to set the attribute for\n * @param {string} name - the name of the attribute\n * @returns {*} the value of the attribute\n *\n */\n\nvar lodash_getAttribute = function getAttribute(element, name) {\n switch (false) {\n case !(element == null):\n return void 0;\n\n case !isFunction_root_isFunction_default()(element.getAttribute):\n return element.getAttribute(name);\n\n case !isFunction_root_isFunction_default()(element.attr):\n return element.attr(name);\n\n case !isFunction_root_isFunction_default()(element.getAttr):\n return element.getAttr(name);\n }\n};\n/**\n * Set attribute in the DOM element.\n *\n * @function Util.setAttribute\n * @param {Element} element - the element to set the attribute for\n * @param {string} name - the name of the attribute\n * @param {*} value - the value to be set\n */\n\nvar lodash_setAttribute = function setAttribute(element, name, value) {\n switch (false) {\n case !(element == null):\n return void 0;\n\n case !isFunction_root_isFunction_default()(element.setAttribute):\n return element.setAttribute(name, value);\n\n case !isFunction_root_isFunction_default()(element.attr):\n return element.attr(name, value);\n\n case !isFunction_root_isFunction_default()(element.setAttr):\n return element.setAttr(name, value);\n }\n};\n/**\n * Remove an attribute in the DOM element.\n *\n * @function Util.removeAttribute\n * @param {Element} element - the element to set the attribute for\n * @param {string} name - the name of the attribute\n */\n\nvar lodash_removeAttribute = function removeAttribute(element, name) {\n switch (false) {\n case !(element == null):\n return void 0;\n\n case !isFunction_root_isFunction_default()(element.removeAttribute):\n return element.removeAttribute(name);\n\n default:\n return lodash_setAttribute(element, void 0);\n }\n};\n/**\n * Set a group of attributes to the element\n * @function Util.setAttributes\n * @param {Element} element - the element to set the attributes for\n * @param {Object} attributes - a hash of attribute names and values\n */\n\nvar setAttributes = function setAttributes(element, attributes) {\n var name, results, value;\n results = [];\n\n for (name in attributes) {\n value = attributes[name];\n\n if (value != null) {\n results.push(lodash_setAttribute(element, name, value));\n } else {\n results.push(lodash_removeAttribute(element, name));\n }\n }\n\n return results;\n};\n/**\n * Checks if element has a css class\n * @function Util.hasClass\n * @param {Element} element - the element to check\n * @param {string} name - the class name\n @returns {boolean} true if the element has the class\n */\n\nvar lodash_hasClass = function hasClass(element, name) {\n if (isElement_root_isElement_default()(element)) {\n return element.className.match(new RegExp(\"\\\\b\".concat(name, \"\\\\b\")));\n }\n};\n/**\n * Add class to the element\n * @function Util.addClass\n * @param {Element} element - the element\n * @param {string} name - the class name to add\n */\n\nvar lodash_addClass = function addClass(element, name) {\n if (!element.className.match(new RegExp(\"\\\\b\".concat(name, \"\\\\b\")))) {\n return element.className = trim_root_trim_default()(\"\".concat(element.className, \" \").concat(name));\n }\n}; // The following code is taken from jQuery\n\nvar getStyles = function getStyles(elem) {\n // Support: IE<=11+, Firefox<=30+ (#15098, #14150)\n // IE throws on elements created in popups\n // FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n if (elem.ownerDocument.defaultView.opener) {\n return elem.ownerDocument.defaultView.getComputedStyle(elem, null);\n }\n\n return window.getComputedStyle(elem, null);\n};\nvar cssExpand = [\"Top\", \"Right\", \"Bottom\", \"Left\"];\n\nnodeContains = function nodeContains(a, b) {\n var adown, bup;\n adown = a.nodeType === 9 ? a.documentElement : a;\n bup = b && b.parentNode;\n return a === bup || !!(bup && bup.nodeType === 1 && adown.contains(bup));\n}; // Truncated version of jQuery.style(elem, name)\n\n\nvar domStyle = function domStyle(elem, name) {\n if (!(!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style)) {\n return elem.style[name];\n }\n};\nvar curCSS = function curCSS(elem, name, computed) {\n var maxWidth, minWidth, ret, rmargin, style, width;\n rmargin = /^margin/;\n width = void 0;\n minWidth = void 0;\n maxWidth = void 0;\n ret = void 0;\n style = elem.style;\n computed = computed || getStyles(elem);\n\n if (computed) {\n // Support: IE9\n // getPropertyValue is only needed for .css('filter') (#12537)\n ret = computed.getPropertyValue(name) || computed[name];\n }\n\n if (computed) {\n if (ret === \"\" && !nodeContains(elem.ownerDocument, elem)) {\n ret = domStyle(elem, name);\n } // Support: iOS < 6\n // A tribute to the \"awesome hack by Dean Edwards\"\n // iOS < 6 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels\n // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values\n\n\n if (rnumnonpx.test(ret) && rmargin.test(name)) {\n // Remember the original values\n width = style.width;\n minWidth = style.minWidth;\n maxWidth = style.maxWidth; // Put in the new values to get a computed value out\n\n style.minWidth = style.maxWidth = style.width = ret;\n ret = computed.width; // Revert the changed values\n\n style.width = width;\n style.minWidth = minWidth;\n style.maxWidth = maxWidth;\n }\n } // Support: IE\n // IE returns zIndex value as an integer.\n\n\n if (ret !== undefined) {\n return ret + \"\";\n } else {\n return ret;\n }\n};\nvar cssValue = function cssValue(elem, name, convert, styles) {\n var val;\n val = curCSS(elem, name, styles);\n\n if (convert) {\n return parseFloat(val);\n } else {\n return val;\n }\n};\nvar augmentWidthOrHeight = function augmentWidthOrHeight(elem, name, extra, isBorderBox, styles) {\n var i, len, side, sides, val; // If we already have the right measurement, avoid augmentation\n // Otherwise initialize for horizontal or vertical properties\n\n if (extra === (isBorderBox ? \"border\" : \"content\")) {\n return 0;\n } else {\n sides = name === \"width\" ? [\"Right\", \"Left\"] : [\"Top\", \"Bottom\"];\n val = 0;\n\n for (i = 0, len = sides.length; i < len; i++) {\n side = sides[i];\n\n if (extra === \"margin\") {\n // Both box models exclude margin, so add it if we want it\n val += cssValue(elem, extra + side, true, styles);\n }\n\n if (isBorderBox) {\n if (extra === \"content\") {\n // border-box includes padding, so remove it if we want content\n val -= cssValue(elem, \"padding\".concat(side), true, styles);\n }\n\n if (extra !== \"margin\") {\n // At this point, extra isn't border nor margin, so remove border\n val -= cssValue(elem, \"border\".concat(side, \"Width\"), true, styles);\n }\n } else {\n // At this point, extra isn't content, so add padding\n val += cssValue(elem, \"padding\".concat(side), true, styles);\n\n if (extra !== \"padding\") {\n // At this point, extra isn't content nor padding, so add border\n val += cssValue(elem, \"border\".concat(side, \"Width\"), true, styles);\n }\n }\n }\n\n return val;\n }\n};\nvar pnum = /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source;\nvar rnumnonpx = new RegExp(\"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\");\nvar getWidthOrHeight = function getWidthOrHeight(elem, name, extra) {\n var isBorderBox, styles, val, valueIsBorderBox; // Start with offset property, which is equivalent to the border-box value\n\n valueIsBorderBox = true;\n val = name === \"width\" ? elem.offsetWidth : elem.offsetHeight;\n styles = getStyles(elem);\n isBorderBox = cssValue(elem, \"boxSizing\", false, styles) === \"border-box\"; // Some non-html elements return undefined for offsetWidth, so check for null/undefined\n // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285\n // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668\n\n if (val <= 0 || val == null) {\n // Fall back to computed then uncomputed css if necessary\n val = curCSS(elem, name, styles);\n\n if (val < 0 || val == null) {\n val = elem.style[name];\n }\n\n if (rnumnonpx.test(val)) {\n // Computed unit is not pixels. Stop here and return.\n return val;\n } // Check for style in case a browser which returns unreliable values\n // for getComputedStyle silently falls back to the reliable elem.style\n // valueIsBorderBox = isBorderBox and (support.boxSizingReliable() or val is elem.style[name])\n\n\n valueIsBorderBox = isBorderBox && val === elem.style[name]; // Normalize \"\", auto, and prepare for extra\n\n val = parseFloat(val) || 0;\n } // Use the active box-sizing model to add/subtract irrelevant styles\n\n\n return val + augmentWidthOrHeight(elem, name, extra || (isBorderBox ? \"border\" : \"content\"), valueIsBorderBox, styles);\n};\nvar lodash_width = function width(element) {\n return getWidthOrHeight(element, \"width\", \"content\");\n};\n/**\n * @class Util\n */\n\n/**\n * Returns true if item is a string\n * @function Util.isString\n * @param item\n * @returns {boolean} true if item is a string\n */\n\n/**\n * Returns true if item is empty:\n *
    \n *
  • item is null or undefined
  • \n *
  • item is an array or string of length 0
  • \n *
  • item is an object with no keys
  • \n *
\n * @function Util.isEmpty\n * @param item\n * @returns {boolean} true if item is empty\n */\n\n/**\n * Assign source properties to destination.\n * If the property is an object it is assigned as a whole, overriding the destination object.\n * @function Util.assign\n * @param {Object} destination - the object to assign to\n */\n\n/**\n * Recursively assign source properties to destination\n * @function Util.merge\n * @param {Object} destination - the object to assign to\n * @param {...Object} [sources] The source objects.\n */\n\n/**\n * Create a new copy of the given object, including all internal objects.\n * @function Util.cloneDeep\n * @param {Object} value - the object to clone\n * @return {Object} a new deep copy of the object\n */\n\n/**\n * Creates a new array from the parameter with \"falsey\" values removed\n * @function Util.compact\n * @param {Array} array - the array to remove values from\n * @return {Array} a new array without falsey values\n */\n\n/**\n * Check if a given item is included in the given array\n * @function Util.contains\n * @param {Array} array - the array to search in\n * @param {*} item - the item to search for\n * @return {boolean} true if the item is included in the array\n */\n\n/**\n * Returns values in the given array that are not included in the other array\n * @function Util.difference\n * @param {Array} arr - the array to select from\n * @param {Array} values - values to filter from arr\n * @return {Array} the filtered values\n */\n\n/**\n * Returns a list of all the function names in obj\n * @function Util.functions\n * @param {Object} object - the object to inspect\n * @return {Array} a list of functions of object\n */\n\n/**\n * Returns the provided value. This functions is used as a default predicate function.\n * @function Util.identity\n * @param {*} value\n * @return {*} the provided value\n */\n\n/**\n * Remove leading or trailing spaces from text\n * @function Util.trim\n * @param {string} text\n * @return {string} the `text` without leading or trailing spaces\n */\n// CONCATENATED MODULE: ./src/expression.js\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/**\n * Represents a transformation expression.\n * @param {string} expressionStr - An expression in string format.\n * @class Expression\n * Normally this class is not instantiated directly\n */\nvar Expression = /*#__PURE__*/function () {\n function Expression(expressionStr) {\n _classCallCheck(this, Expression);\n\n /**\n * @protected\n * @inner Expression-expressions\n */\n this.expressions = [];\n\n if (expressionStr != null) {\n this.expressions.push(Expression.normalize(expressionStr));\n }\n }\n /**\n * Convenience constructor method\n * @function Expression.new\n */\n\n\n _createClass(Expression, [{\n key: \"serialize\",\n value:\n /**\n * Serialize the expression\n * @return {string} the expression as a string\n */\n function serialize() {\n return Expression.normalize(this.expressions.join(\"_\"));\n }\n }, {\n key: \"toString\",\n value: function toString() {\n return this.serialize();\n }\n /**\n * Get the parent transformation of this expression\n * @return Transformation\n */\n\n }, {\n key: \"getParent\",\n value: function getParent() {\n return this.parent;\n }\n /**\n * Set the parent transformation of this expression\n * @param {Transformation} the parent transformation\n * @return {Expression} this expression\n */\n\n }, {\n key: \"setParent\",\n value: function setParent(parent) {\n this.parent = parent;\n return this;\n }\n /**\n * Add a expression\n * @function Expression#predicate\n * @internal\n */\n\n }, {\n key: \"predicate\",\n value: function predicate(name, operator, value) {\n if (Expression.OPERATORS[operator] != null) {\n operator = Expression.OPERATORS[operator];\n }\n\n this.expressions.push(\"\".concat(name, \"_\").concat(operator, \"_\").concat(value));\n return this;\n }\n /**\n * @function Expression#and\n */\n\n }, {\n key: \"and\",\n value: function and() {\n this.expressions.push(\"and\");\n return this;\n }\n /**\n * @function Expression#or\n */\n\n }, {\n key: \"or\",\n value: function or() {\n this.expressions.push(\"or\");\n return this;\n }\n /**\n * Conclude expression\n * @function Expression#then\n * @return {Transformation} the transformation this expression is defined for\n */\n\n }, {\n key: \"then\",\n value: function then() {\n return this.getParent()[\"if\"](this.toString());\n }\n /**\n * @function Expression#height\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Expression} this expression\n */\n\n }, {\n key: \"height\",\n value: function height(operator, value) {\n return this.predicate(\"h\", operator, value);\n }\n /**\n * @function Expression#width\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Expression} this expression\n */\n\n }, {\n key: \"width\",\n value: function width(operator, value) {\n return this.predicate(\"w\", operator, value);\n }\n /**\n * @function Expression#aspectRatio\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Expression} this expression\n */\n\n }, {\n key: \"aspectRatio\",\n value: function aspectRatio(operator, value) {\n return this.predicate(\"ar\", operator, value);\n }\n /**\n * @function Expression#pages\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Expression} this expression\n */\n\n }, {\n key: \"pageCount\",\n value: function pageCount(operator, value) {\n return this.predicate(\"pc\", operator, value);\n }\n /**\n * @function Expression#faces\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Expression} this expression\n */\n\n }, {\n key: \"faceCount\",\n value: function faceCount(operator, value) {\n return this.predicate(\"fc\", operator, value);\n }\n }, {\n key: \"value\",\n value: function value(_value) {\n this.expressions.push(_value);\n return this;\n }\n /**\n */\n\n }], [{\n key: \"new\",\n value: function _new(expressionStr) {\n return new this(expressionStr);\n }\n /**\n * Normalize a string expression\n * @function Cloudinary#normalize\n * @param {string} expression a expression, e.g. \"w gt 100\", \"width_gt_100\", \"width > 100\"\n * @return {string} the normalized form of the value expression, e.g. \"w_gt_100\"\n */\n\n }, {\n key: \"normalize\",\n value: function normalize(expression) {\n if (expression == null) {\n return expression;\n }\n\n expression = String(expression);\n var operators = \"\\\\|\\\\||>=|<=|&&|!=|>|=|<|/|-|\\\\+|\\\\*|\\\\^\"; // operators\n\n var operatorsPattern = \"((\" + operators + \")(?=[ _]))\";\n var operatorsReplaceRE = new RegExp(operatorsPattern, \"g\");\n expression = expression.replace(operatorsReplaceRE, function (match) {\n return Expression.OPERATORS[match];\n }); // predefined variables\n // The :${v} part is to prevent normalization of vars with a preceding colon (such as :duration),\n // It won't be found in PREDEFINED_VARS and so won't be normalized.\n // It is done like this because ie11 does not support regex lookbehind\n\n var predefinedVarsPattern = \"(\" + Object.keys(Expression.PREDEFINED_VARS).map(function (v) {\n return \":\".concat(v, \"|\").concat(v);\n }).join(\"|\") + \")\";\n var userVariablePattern = '(\\\\$_*[^_ ]+)';\n var variablesReplaceRE = new RegExp(\"\".concat(userVariablePattern, \"|\").concat(predefinedVarsPattern), \"g\");\n expression = expression.replace(variablesReplaceRE, function (match) {\n return Expression.PREDEFINED_VARS[match] || match;\n });\n return expression.replace(/[ _]+/g, '_');\n }\n }, {\n key: \"variable\",\n value: function variable(name, value) {\n return new this(name).value(value);\n }\n /**\n * @returns Expression a new expression with the predefined variable \"width\"\n * @function Expression.width\n */\n\n }, {\n key: \"width\",\n value: function width() {\n return new this(\"width\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"height\"\n * @function Expression.height\n */\n\n }, {\n key: \"height\",\n value: function height() {\n return new this(\"height\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"initialWidth\"\n * @function Expression.initialWidth\n */\n\n }, {\n key: \"initialWidth\",\n value: function initialWidth() {\n return new this(\"initialWidth\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"initialHeight\"\n * @function Expression.initialHeight\n */\n\n }, {\n key: \"initialHeight\",\n value: function initialHeight() {\n return new this(\"initialHeight\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"aspectRatio\"\n * @function Expression.aspectRatio\n */\n\n }, {\n key: \"aspectRatio\",\n value: function aspectRatio() {\n return new this(\"aspectRatio\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"initialAspectRatio\"\n * @function Expression.initialAspectRatio\n */\n\n }, {\n key: \"initialAspectRatio\",\n value: function initialAspectRatio() {\n return new this(\"initialAspectRatio\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"pageCount\"\n * @function Expression.pageCount\n */\n\n }, {\n key: \"pageCount\",\n value: function pageCount() {\n return new this(\"pageCount\");\n }\n /**\n * @returns Expression new expression with the predefined variable \"faceCount\"\n * @function Expression.faceCount\n */\n\n }, {\n key: \"faceCount\",\n value: function faceCount() {\n return new this(\"faceCount\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"currentPage\"\n * @function Expression.currentPage\n */\n\n }, {\n key: \"currentPage\",\n value: function currentPage() {\n return new this(\"currentPage\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"tags\"\n * @function Expression.tags\n */\n\n }, {\n key: \"tags\",\n value: function tags() {\n return new this(\"tags\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"pageX\"\n * @function Expression.pageX\n */\n\n }, {\n key: \"pageX\",\n value: function pageX() {\n return new this(\"pageX\");\n }\n /**\n * @returns Expression a new expression with the predefined variable \"pageY\"\n * @function Expression.pageY\n */\n\n }, {\n key: \"pageY\",\n value: function pageY() {\n return new this(\"pageY\");\n }\n }]);\n\n return Expression;\n}();\n/**\n * @internal\n */\n\n\nExpression.OPERATORS = {\n \"=\": 'eq',\n \"!=\": 'ne',\n \"<\": 'lt',\n \">\": 'gt',\n \"<=\": 'lte',\n \">=\": 'gte',\n \"&&\": 'and',\n \"||\": 'or',\n \"*\": \"mul\",\n \"/\": \"div\",\n \"+\": \"add\",\n \"-\": \"sub\",\n \"^\": \"pow\"\n};\n/**\n * @internal\n */\n\nExpression.PREDEFINED_VARS = {\n \"aspect_ratio\": \"ar\",\n \"aspectRatio\": \"ar\",\n \"current_page\": \"cp\",\n \"currentPage\": \"cp\",\n \"duration\": \"du\",\n \"face_count\": \"fc\",\n \"faceCount\": \"fc\",\n \"height\": \"h\",\n \"initial_aspect_ratio\": \"iar\",\n \"initial_duration\": \"idu\",\n \"initial_height\": \"ih\",\n \"initial_width\": \"iw\",\n \"initialAspectRatio\": \"iar\",\n \"initialDuration\": \"idu\",\n \"initialHeight\": \"ih\",\n \"initialWidth\": \"iw\",\n \"page_count\": \"pc\",\n \"page_x\": \"px\",\n \"page_y\": \"py\",\n \"pageCount\": \"pc\",\n \"pageX\": \"px\",\n \"pageY\": \"py\",\n \"tags\": \"tags\",\n \"width\": \"w\"\n};\n/**\n * @internal\n */\n\nExpression.BOUNDRY = \"[ _]+\";\n/* harmony default export */ var expression = (Expression);\n// CONCATENATED MODULE: ./src/condition.js\nfunction condition_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { condition_typeof = function _typeof(obj) { return typeof obj; }; } else { condition_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return condition_typeof(obj); }\n\nfunction condition_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction condition_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction condition_createClass(Constructor, protoProps, staticProps) { if (protoProps) condition_defineProperties(Constructor.prototype, protoProps); if (staticProps) condition_defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (condition_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n/**\n * Represents a transformation condition.\n * @param {string} conditionStr - a condition in string format\n * @class Condition\n * @example\n * // normally this class is not instantiated directly\n * var tr = cloudinary.Transformation.new()\n * .if().width( \">\", 1000).and().aspectRatio(\"<\", \"3:4\").then()\n * .width(1000)\n * .crop(\"scale\")\n * .else()\n * .width(500)\n * .crop(\"scale\")\n *\n * var tr = cloudinary.Transformation.new()\n * .if(\"w > 1000 and aspectRatio < 3:4\")\n * .width(1000)\n * .crop(\"scale\")\n * .else()\n * .width(500)\n * .crop(\"scale\")\n *\n */\n\nvar Condition = /*#__PURE__*/function (_Expression) {\n _inherits(Condition, _Expression);\n\n var _super = _createSuper(Condition);\n\n function Condition(conditionStr) {\n condition_classCallCheck(this, Condition);\n\n return _super.call(this, conditionStr);\n }\n /**\n * @function Condition#height\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Condition} this condition\n */\n\n\n condition_createClass(Condition, [{\n key: \"height\",\n value: function height(operator, value) {\n return this.predicate(\"h\", operator, value);\n }\n /**\n * @function Condition#width\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Condition} this condition\n */\n\n }, {\n key: \"width\",\n value: function width(operator, value) {\n return this.predicate(\"w\", operator, value);\n }\n /**\n * @function Condition#aspectRatio\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Condition} this condition\n */\n\n }, {\n key: \"aspectRatio\",\n value: function aspectRatio(operator, value) {\n return this.predicate(\"ar\", operator, value);\n }\n /**\n * @function Condition#pages\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Condition} this condition\n */\n\n }, {\n key: \"pageCount\",\n value: function pageCount(operator, value) {\n return this.predicate(\"pc\", operator, value);\n }\n /**\n * @function Condition#faces\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Condition} this condition\n */\n\n }, {\n key: \"faceCount\",\n value: function faceCount(operator, value) {\n return this.predicate(\"fc\", operator, value);\n }\n /**\n * @function Condition#duration\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Condition} this condition\n */\n\n }, {\n key: \"duration\",\n value: function duration(operator, value) {\n return this.predicate(\"du\", operator, value);\n }\n /**\n * @function Condition#initialDuration\n * @param {string} operator the comparison operator (e.g. \"<\", \"lt\")\n * @param {string|number} value the right hand side value\n * @return {Condition} this condition\n */\n\n }, {\n key: \"initialDuration\",\n value: function initialDuration(operator, value) {\n return this.predicate(\"idu\", operator, value);\n }\n }]);\n\n return Condition;\n}(expression);\n\n/* harmony default export */ var condition = (Condition);\n// CONCATENATED MODULE: ./src/configuration.js\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || configuration_unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction configuration_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return configuration_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return configuration_arrayLikeToArray(o, minLen); }\n\nfunction configuration_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction configuration_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction configuration_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction configuration_createClass(Constructor, protoProps, staticProps) { if (protoProps) configuration_defineProperties(Constructor.prototype, protoProps); if (staticProps) configuration_defineProperties(Constructor, staticProps); return Constructor; }\n\n/**\n * Class for defining account configuration options.\n * Depends on 'utils'\n */\n\n/**\n * Class for defining account configuration options.\n * @constructor Configuration\n * @param {Object} options - The account configuration parameters to set.\n * @see Available configuration options\n */\n\nvar configuration_Configuration = /*#__PURE__*/function () {\n function Configuration(options) {\n configuration_classCallCheck(this, Configuration);\n\n this.configuration = options == null ? {} : cloneDeep_root_cloneDeep_default()(options);\n defaults(this.configuration, DEFAULT_CONFIGURATION_PARAMS);\n }\n /**\n * Initializes the configuration. This method is a convenience method that invokes both\n * {@link Configuration#fromEnvironment|fromEnvironment()} (Node.js environment only)\n * and {@link Configuration#fromDocument|fromDocument()}.\n * It first tries to retrieve the configuration from the environment variable.\n * If not available, it tries from the document meta tags.\n * @function Configuration#init\n * @return {Configuration} returns `this` for chaining\n * @see fromDocument\n * @see fromEnvironment\n */\n\n\n configuration_createClass(Configuration, [{\n key: \"init\",\n value: function init() {\n this.fromEnvironment();\n this.fromDocument();\n return this;\n }\n /**\n * Set a new configuration item\n * @function Configuration#set\n * @param {string} name - the name of the item to set\n * @param {*} value - the value to be set\n * @return {Configuration}\n *\n */\n\n }, {\n key: \"set\",\n value: function set(name, value) {\n this.configuration[name] = value;\n return this;\n }\n /**\n * Get the value of a configuration item\n * @function Configuration#get\n * @param {string} name - the name of the item to set\n * @return {*} the configuration item\n */\n\n }, {\n key: \"get\",\n value: function get(name) {\n return this.configuration[name];\n }\n }, {\n key: \"merge\",\n value: function merge(config) {\n assign_root_assign_default()(this.configuration, cloneDeep_root_cloneDeep_default()(config));\n return this;\n }\n /**\n * Initialize Cloudinary from HTML meta tags.\n * @function Configuration#fromDocument\n * @return {Configuration}\n * @example \n *\n */\n\n }, {\n key: \"fromDocument\",\n value: function fromDocument() {\n var el, i, len, meta_elements;\n meta_elements = typeof document !== \"undefined\" && document !== null ? document.querySelectorAll('meta[name^=\"cloudinary_\"]') : void 0;\n\n if (meta_elements) {\n for (i = 0, len = meta_elements.length; i < len; i++) {\n el = meta_elements[i];\n this.configuration[el.getAttribute('name').replace('cloudinary_', '')] = el.getAttribute('content');\n }\n }\n\n return this;\n }\n /**\n * Initialize Cloudinary from the `CLOUDINARY_URL` environment variable.\n *\n * This function will only run under Node.js environment.\n * @function Configuration#fromEnvironment\n * @requires Node.js\n */\n\n }, {\n key: \"fromEnvironment\",\n value: function fromEnvironment() {\n var _this = this;\n\n var cloudinary_url, query, uri, uriRegex;\n\n if (typeof process !== \"undefined\" && process !== null && process.env && process.env.CLOUDINARY_URL) {\n cloudinary_url = process.env.CLOUDINARY_URL;\n uriRegex = /cloudinary:\\/\\/(?:(\\w+)(?:\\:([\\w-]+))?@)?([\\w\\.-]+)(?:\\/([^?]*))?(?:\\?(.+))?/;\n uri = uriRegex.exec(cloudinary_url);\n\n if (uri) {\n if (uri[3] != null) {\n this.configuration['cloud_name'] = uri[3];\n }\n\n if (uri[1] != null) {\n this.configuration['api_key'] = uri[1];\n }\n\n if (uri[2] != null) {\n this.configuration['api_secret'] = uri[2];\n }\n\n if (uri[4] != null) {\n this.configuration['private_cdn'] = uri[4] != null;\n }\n\n if (uri[4] != null) {\n this.configuration['secure_distribution'] = uri[4];\n }\n\n query = uri[5];\n\n if (query != null) {\n query.split('&').forEach(function (value) {\n var _value$split = value.split('='),\n _value$split2 = _slicedToArray(_value$split, 2),\n k = _value$split2[0],\n v = _value$split2[1];\n\n if (v == null) {\n v = true;\n }\n\n _this.configuration[k] = v;\n });\n }\n }\n }\n\n return this;\n }\n /**\n * Create or modify the Cloudinary client configuration\n *\n * Warning: `config()` returns the actual internal configuration object. modifying it will change the configuration.\n *\n * This is a backward compatibility method. For new code, use get(), merge() etc.\n * @function Configuration#config\n * @param {hash|string|boolean} new_config\n * @param {string} new_value\n * @returns {*} configuration, or value\n *\n * @see {@link fromEnvironment} for initialization using environment variables\n * @see {@link fromDocument} for initialization using HTML meta tags\n */\n\n }, {\n key: \"config\",\n value: function config(new_config, new_value) {\n switch (false) {\n case new_value === void 0:\n this.set(new_config, new_value);\n return this.configuration;\n\n case !isString_root_isString_default()(new_config):\n return this.get(new_config);\n\n case !isPlainObject_root_isPlainObject_default()(new_config):\n this.merge(new_config);\n return this.configuration;\n\n default:\n // Backward compatibility - return the internal object\n return this.configuration;\n }\n }\n /**\n * Returns a copy of the configuration parameters\n * @function Configuration#toOptions\n * @returns {Object} a key:value collection of the configuration parameters\n */\n\n }, {\n key: \"toOptions\",\n value: function toOptions() {\n return cloneDeep_root_cloneDeep_default()(this.configuration);\n }\n }]);\n\n return Configuration;\n}();\n\nvar DEFAULT_CONFIGURATION_PARAMS = {\n responsive_class: 'cld-responsive',\n responsive_use_breakpoints: true,\n round_dpr: true,\n secure: (typeof window !== \"undefined\" && window !== null ? window.location ? window.location.protocol : void 0 : void 0) === 'https:'\n};\nconfiguration_Configuration.CONFIG_PARAMS = [\"api_key\", \"api_secret\", \"callback\", \"cdn_subdomain\", \"cloud_name\", \"cname\", \"private_cdn\", \"protocol\", \"resource_type\", \"responsive\", \"responsive_class\", \"responsive_use_breakpoints\", \"responsive_width\", \"round_dpr\", \"secure\", \"secure_cdn_subdomain\", \"secure_distribution\", \"shorten\", \"type\", \"upload_preset\", \"url_suffix\", \"use_root_path\", \"version\", \"externalLibraries\", \"max_timeout_ms\"];\n/* harmony default export */ var src_configuration = (configuration_Configuration);\n// CONCATENATED MODULE: ./src/layer/layer.js\nfunction layer_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction layer_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction layer_createClass(Constructor, protoProps, staticProps) { if (protoProps) layer_defineProperties(Constructor.prototype, protoProps); if (staticProps) layer_defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\nvar layer_Layer = /*#__PURE__*/function () {\n /**\n * Layer\n * @constructor Layer\n * @param {Object} options - layer parameters\n */\n function Layer(options) {\n var _this = this;\n\n layer_classCallCheck(this, Layer);\n\n this.options = {};\n\n if (options != null) {\n [\"resourceType\", \"type\", \"publicId\", \"format\"].forEach(function (key) {\n var ref;\n return _this.options[key] = (ref = options[key]) != null ? ref : options[snakeCase(key)];\n });\n }\n }\n\n layer_createClass(Layer, [{\n key: \"resourceType\",\n value: function resourceType(value) {\n this.options.resourceType = value;\n return this;\n }\n }, {\n key: \"type\",\n value: function type(value) {\n this.options.type = value;\n return this;\n }\n }, {\n key: \"publicId\",\n value: function publicId(value) {\n this.options.publicId = value;\n return this;\n }\n /**\n * Get the public ID, formatted for layer parameter\n * @function Layer#getPublicId\n * @return {String} public ID\n */\n\n }, {\n key: \"getPublicId\",\n value: function getPublicId() {\n var ref;\n return (ref = this.options.publicId) != null ? ref.replace(/\\//g, \":\") : void 0;\n }\n /**\n * Get the public ID, with format if present\n * @function Layer#getFullPublicId\n * @return {String} public ID\n */\n\n }, {\n key: \"getFullPublicId\",\n value: function getFullPublicId() {\n if (this.options.format != null) {\n return this.getPublicId() + \".\" + this.options.format;\n } else {\n return this.getPublicId();\n }\n }\n }, {\n key: \"format\",\n value: function format(value) {\n this.options.format = value;\n return this;\n }\n /**\n * generate the string representation of the layer\n * @function Layer#toString\n */\n\n }, {\n key: \"toString\",\n value: function toString() {\n var components;\n components = [];\n\n if (this.options.publicId == null) {\n throw \"Must supply publicId\";\n }\n\n if (!(this.options.resourceType === \"image\")) {\n components.push(this.options.resourceType);\n }\n\n if (!(this.options.type === \"upload\")) {\n components.push(this.options.type);\n }\n\n components.push(this.getFullPublicId());\n return compact_root_compact_default()(components).join(\":\");\n }\n }, {\n key: \"clone\",\n value: function clone() {\n return new this.constructor(this.options);\n }\n }]);\n\n return Layer;\n}();\n\n/* harmony default export */ var layer_layer = (layer_Layer);\n// CONCATENATED MODULE: ./src/layer/textlayer.js\nfunction textlayer_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { textlayer_typeof = function _typeof(obj) { return typeof obj; }; } else { textlayer_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return textlayer_typeof(obj); }\n\nfunction textlayer_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction textlayer_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction textlayer_createClass(Constructor, protoProps, staticProps) { if (protoProps) textlayer_defineProperties(Constructor.prototype, protoProps); if (staticProps) textlayer_defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction textlayer_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) textlayer_setPrototypeOf(subClass, superClass); }\n\nfunction textlayer_setPrototypeOf(o, p) { textlayer_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return textlayer_setPrototypeOf(o, p); }\n\nfunction textlayer_createSuper(Derived) { var hasNativeReflectConstruct = textlayer_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = textlayer_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = textlayer_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return textlayer_possibleConstructorReturn(this, result); }; }\n\nfunction textlayer_possibleConstructorReturn(self, call) { if (call && (textlayer_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return textlayer_assertThisInitialized(self); }\n\nfunction textlayer_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction textlayer_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction textlayer_getPrototypeOf(o) { textlayer_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return textlayer_getPrototypeOf(o); }\n\n\n\n\nvar textlayer_TextLayer = /*#__PURE__*/function (_Layer) {\n textlayer_inherits(TextLayer, _Layer);\n\n var _super = textlayer_createSuper(TextLayer);\n\n /**\n * @constructor TextLayer\n * @param {Object} options - layer parameters\n */\n function TextLayer(options) {\n var _this;\n\n textlayer_classCallCheck(this, TextLayer);\n\n var keys;\n _this = _super.call(this, options);\n keys = [\"resourceType\", \"resourceType\", \"fontFamily\", \"fontSize\", \"fontWeight\", \"fontStyle\", \"textDecoration\", \"textAlign\", \"stroke\", \"letterSpacing\", \"lineSpacing\", \"fontHinting\", \"fontAntialiasing\", \"text\", \"textStyle\"];\n\n if (options != null) {\n keys.forEach(function (key) {\n var ref;\n return _this.options[key] = (ref = options[key]) != null ? ref : options[snakeCase(key)];\n });\n }\n\n _this.options.resourceType = \"text\";\n return _this;\n }\n\n textlayer_createClass(TextLayer, [{\n key: \"resourceType\",\n value: function resourceType(_resourceType) {\n throw \"Cannot modify resourceType for text layers\";\n }\n }, {\n key: \"type\",\n value: function type(_type) {\n throw \"Cannot modify type for text layers\";\n }\n }, {\n key: \"format\",\n value: function format(_format) {\n throw \"Cannot modify format for text layers\";\n }\n }, {\n key: \"fontFamily\",\n value: function fontFamily(_fontFamily) {\n this.options.fontFamily = _fontFamily;\n return this;\n }\n }, {\n key: \"fontSize\",\n value: function fontSize(_fontSize) {\n this.options.fontSize = _fontSize;\n return this;\n }\n }, {\n key: \"fontWeight\",\n value: function fontWeight(_fontWeight) {\n this.options.fontWeight = _fontWeight;\n return this;\n }\n }, {\n key: \"fontStyle\",\n value: function fontStyle(_fontStyle) {\n this.options.fontStyle = _fontStyle;\n return this;\n }\n }, {\n key: \"textDecoration\",\n value: function textDecoration(_textDecoration) {\n this.options.textDecoration = _textDecoration;\n return this;\n }\n }, {\n key: \"textAlign\",\n value: function textAlign(_textAlign) {\n this.options.textAlign = _textAlign;\n return this;\n }\n }, {\n key: \"stroke\",\n value: function stroke(_stroke) {\n this.options.stroke = _stroke;\n return this;\n }\n }, {\n key: \"letterSpacing\",\n value: function letterSpacing(_letterSpacing) {\n this.options.letterSpacing = _letterSpacing;\n return this;\n }\n }, {\n key: \"lineSpacing\",\n value: function lineSpacing(_lineSpacing) {\n this.options.lineSpacing = _lineSpacing;\n return this;\n }\n }, {\n key: \"fontHinting\",\n value: function fontHinting(_fontHinting) {\n this.options.fontHinting = _fontHinting;\n return this;\n }\n }, {\n key: \"fontAntialiasing\",\n value: function fontAntialiasing(_fontAntialiasing) {\n this.options.fontAntialiasing = _fontAntialiasing;\n return this;\n }\n }, {\n key: \"text\",\n value: function text(_text) {\n this.options.text = _text;\n return this;\n }\n }, {\n key: \"textStyle\",\n value: function textStyle(_textStyle) {\n this.options.textStyle = _textStyle;\n return this;\n }\n /**\n * generate the string representation of the layer\n * @function TextLayer#toString\n * @return {String}\n */\n\n }, {\n key: \"toString\",\n value: function toString() {\n var components, hasPublicId, hasStyle, publicId, re, res, start, style, text, textSource;\n style = this.textStyleIdentifier();\n\n if (this.options.publicId != null) {\n publicId = this.getFullPublicId();\n }\n\n if (this.options.text != null) {\n hasPublicId = !isEmpty(publicId);\n hasStyle = !isEmpty(style);\n\n if (hasPublicId && hasStyle || !hasPublicId && !hasStyle) {\n throw \"Must supply either style parameters or a public_id when providing text parameter in a text overlay/underlay, but not both!\";\n }\n\n re = /\\$\\([a-zA-Z]\\w*\\)/g;\n start = 0; // textSource = text.replace(new RegExp(\"[,/]\", 'g'), (c)-> \"%#{c.charCodeAt(0).toString(16).toUpperCase()}\")\n\n textSource = smartEscape(this.options.text, /[,\\/]/g);\n text = \"\";\n\n while (res = re.exec(textSource)) {\n text += smartEscape(textSource.slice(start, res.index));\n text += res[0];\n start = res.index + res[0].length;\n }\n\n text += smartEscape(textSource.slice(start));\n }\n\n components = [this.options.resourceType, style, publicId, text];\n return compact_root_compact_default()(components).join(\":\");\n }\n }, {\n key: \"textStyleIdentifier\",\n value: function textStyleIdentifier() {\n // Note: if a text-style argument is provided as a whole, it overrides everything else, no mix and match.\n if (!isEmpty(this.options.textStyle)) {\n return this.options.textStyle;\n }\n\n var components;\n components = [];\n\n if (this.options.fontWeight !== \"normal\") {\n components.push(this.options.fontWeight);\n }\n\n if (this.options.fontStyle !== \"normal\") {\n components.push(this.options.fontStyle);\n }\n\n if (this.options.textDecoration !== \"none\") {\n components.push(this.options.textDecoration);\n }\n\n components.push(this.options.textAlign);\n\n if (this.options.stroke !== \"none\") {\n components.push(this.options.stroke);\n }\n\n if (!(isEmpty(this.options.letterSpacing) && !isNumberLike(this.options.letterSpacing))) {\n components.push(\"letter_spacing_\" + this.options.letterSpacing);\n }\n\n if (!(isEmpty(this.options.lineSpacing) && !isNumberLike(this.options.lineSpacing))) {\n components.push(\"line_spacing_\" + this.options.lineSpacing);\n }\n\n if (!isEmpty(this.options.fontAntialiasing)) {\n components.push(\"antialias_\" + this.options.fontAntialiasing);\n }\n\n if (!isEmpty(this.options.fontHinting)) {\n components.push(\"hinting_\" + this.options.fontHinting);\n }\n\n if (!isEmpty(compact_root_compact_default()(components))) {\n if (isEmpty(this.options.fontFamily)) {\n throw \"Must supply fontFamily. \".concat(components);\n }\n\n if (isEmpty(this.options.fontSize) && !isNumberLike(this.options.fontSize)) {\n throw \"Must supply fontSize.\";\n }\n }\n\n components.unshift(this.options.fontFamily, this.options.fontSize);\n components = compact_root_compact_default()(components).join(\"_\");\n return components;\n }\n }]);\n\n return TextLayer;\n}(layer_layer);\n\n;\n/* harmony default export */ var textlayer = (textlayer_TextLayer);\n// CONCATENATED MODULE: ./src/layer/subtitleslayer.js\nfunction subtitleslayer_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { subtitleslayer_typeof = function _typeof(obj) { return typeof obj; }; } else { subtitleslayer_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return subtitleslayer_typeof(obj); }\n\nfunction subtitleslayer_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction subtitleslayer_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) subtitleslayer_setPrototypeOf(subClass, superClass); }\n\nfunction subtitleslayer_setPrototypeOf(o, p) { subtitleslayer_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return subtitleslayer_setPrototypeOf(o, p); }\n\nfunction subtitleslayer_createSuper(Derived) { var hasNativeReflectConstruct = subtitleslayer_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = subtitleslayer_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = subtitleslayer_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return subtitleslayer_possibleConstructorReturn(this, result); }; }\n\nfunction subtitleslayer_possibleConstructorReturn(self, call) { if (call && (subtitleslayer_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return subtitleslayer_assertThisInitialized(self); }\n\nfunction subtitleslayer_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction subtitleslayer_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction subtitleslayer_getPrototypeOf(o) { subtitleslayer_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return subtitleslayer_getPrototypeOf(o); }\n\n\n\nvar SubtitlesLayer = /*#__PURE__*/function (_TextLayer) {\n subtitleslayer_inherits(SubtitlesLayer, _TextLayer);\n\n var _super = subtitleslayer_createSuper(SubtitlesLayer);\n\n /**\n * Represent a subtitles layer\n * @constructor SubtitlesLayer\n * @param {Object} options - layer parameters\n */\n function SubtitlesLayer(options) {\n var _this;\n\n subtitleslayer_classCallCheck(this, SubtitlesLayer);\n\n _this = _super.call(this, options);\n _this.options.resourceType = \"subtitles\";\n return _this;\n }\n\n return SubtitlesLayer;\n}(textlayer);\n\n/* harmony default export */ var subtitleslayer = (SubtitlesLayer);\n// CONCATENATED MODULE: ./src/layer/fetchlayer.js\nfunction fetchlayer_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { fetchlayer_typeof = function _typeof(obj) { return typeof obj; }; } else { fetchlayer_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return fetchlayer_typeof(obj); }\n\nfunction fetchlayer_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction fetchlayer_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction fetchlayer_createClass(Constructor, protoProps, staticProps) { if (protoProps) fetchlayer_defineProperties(Constructor.prototype, protoProps); if (staticProps) fetchlayer_defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction fetchlayer_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) fetchlayer_setPrototypeOf(subClass, superClass); }\n\nfunction fetchlayer_setPrototypeOf(o, p) { fetchlayer_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return fetchlayer_setPrototypeOf(o, p); }\n\nfunction fetchlayer_createSuper(Derived) { var hasNativeReflectConstruct = fetchlayer_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = fetchlayer_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = fetchlayer_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return fetchlayer_possibleConstructorReturn(this, result); }; }\n\nfunction fetchlayer_possibleConstructorReturn(self, call) { if (call && (fetchlayer_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return fetchlayer_assertThisInitialized(self); }\n\nfunction fetchlayer_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction fetchlayer_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction fetchlayer_getPrototypeOf(o) { fetchlayer_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return fetchlayer_getPrototypeOf(o); }\n\n\n\n\nvar fetchlayer_FetchLayer = /*#__PURE__*/function (_Layer) {\n fetchlayer_inherits(FetchLayer, _Layer);\n\n var _super = fetchlayer_createSuper(FetchLayer);\n\n /**\n * @class FetchLayer\n * @classdesc Creates an image layer using a remote URL.\n * @param {Object|string} options - layer parameters or a url\n * @param {string} options.url the url of the image to fetch\n */\n function FetchLayer(options) {\n var _this;\n\n fetchlayer_classCallCheck(this, FetchLayer);\n\n _this = _super.call(this, options);\n\n if (isString_root_isString_default()(options)) {\n _this.options.url = options;\n } else if (options != null ? options.url : void 0) {\n _this.options.url = options.url;\n }\n\n return _this;\n }\n\n fetchlayer_createClass(FetchLayer, [{\n key: \"url\",\n value: function url(_url) {\n this.options.url = _url;\n return this;\n }\n /**\n * generate the string representation of the layer\n * @function FetchLayer#toString\n * @return {String}\n */\n\n }, {\n key: \"toString\",\n value: function toString() {\n return \"fetch:\".concat(base64EncodeURL(this.options.url));\n }\n }]);\n\n return FetchLayer;\n}(layer_layer);\n\n/* harmony default export */ var fetchlayer = (fetchlayer_FetchLayer);\n// CONCATENATED MODULE: ./src/parameters.js\nfunction parameters_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { parameters_typeof = function _typeof(obj) { return typeof obj; }; } else { parameters_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return parameters_typeof(obj); }\n\nfunction _get(target, property, receiver) { if (typeof Reflect !== \"undefined\" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }\n\nfunction _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = parameters_getPrototypeOf(object); if (object === null) break; } return object; }\n\nfunction parameters_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) parameters_setPrototypeOf(subClass, superClass); }\n\nfunction parameters_setPrototypeOf(o, p) { parameters_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return parameters_setPrototypeOf(o, p); }\n\nfunction parameters_createSuper(Derived) { var hasNativeReflectConstruct = parameters_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = parameters_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = parameters_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return parameters_possibleConstructorReturn(this, result); }; }\n\nfunction parameters_possibleConstructorReturn(self, call) { if (call && (parameters_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return parameters_assertThisInitialized(self); }\n\nfunction parameters_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction parameters_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction parameters_getPrototypeOf(o) { parameters_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return parameters_getPrototypeOf(o); }\n\nfunction parameters_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction parameters_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction parameters_createClass(Constructor, protoProps, staticProps) { if (protoProps) parameters_defineProperties(Constructor.prototype, protoProps); if (staticProps) parameters_defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\n\n\n\n\n/**\n * Transformation parameters\n * Depends on 'util', 'transformation'\n */\n\nvar parameters_Param = /*#__PURE__*/function () {\n /**\n * Represents a single parameter.\n * @class Param\n * @param {string} name - The name of the parameter in snake_case\n * @param {string} shortName - The name of the serialized form of the parameter.\n * If a value is not provided, the parameter will not be serialized.\n * @param {function} [process=Util.identity ] - Manipulate origValue when value is called\n * @ignore\n */\n function Param(name, shortName) {\n var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : identity_root_identity_default.a;\n\n parameters_classCallCheck(this, Param);\n\n /**\n * The name of the parameter in snake_case\n * @member {string} Param#name\n */\n this.name = name;\n /**\n * The name of the serialized form of the parameter\n * @member {string} Param#shortName\n */\n\n this.shortName = shortName;\n /**\n * Manipulate origValue when value is called\n * @member {function} Param#process\n */\n\n this.process = process;\n }\n /**\n * Set a (unprocessed) value for this parameter\n * @function Param#set\n * @param {*} origValue - the value of the parameter\n * @return {Param} self for chaining\n */\n\n\n parameters_createClass(Param, [{\n key: \"set\",\n value: function set(origValue) {\n this.origValue = origValue;\n return this;\n }\n /**\n * Generate the serialized form of the parameter\n * @function Param#serialize\n * @return {string} the serialized form of the parameter\n */\n\n }, {\n key: \"serialize\",\n value: function serialize() {\n var val, valid;\n val = this.value();\n valid = isArray_root_isArray_default()(val) || isPlainObject_root_isPlainObject_default()(val) || isString_root_isString_default()(val) ? !isEmpty(val) : val != null;\n\n if (this.shortName != null && valid) {\n return \"\".concat(this.shortName, \"_\").concat(val);\n } else {\n return '';\n }\n }\n /**\n * Return the processed value of the parameter\n * @function Param#value\n */\n\n }, {\n key: \"value\",\n value: function value() {\n return this.process(this.origValue);\n }\n }], [{\n key: \"norm_color\",\n value: function norm_color(value) {\n return value != null ? value.replace(/^#/, 'rgb:') : void 0;\n }\n }, {\n key: \"build_array\",\n value: function build_array(arg) {\n if (arg == null) {\n return [];\n } else if (isArray_root_isArray_default()(arg)) {\n return arg;\n } else {\n return [arg];\n }\n }\n /**\n * Covert value to video codec string.\n *\n * If the parameter is an object,\n * @param {(string|Object)} param - the video codec as either a String or a Hash\n * @return {string} the video codec string in the format codec:profile:level\n * @example\n * vc_[ :profile : [level]]\n * or\n { codec: 'h264', profile: 'basic', level: '3.1' }\n * @ignore\n */\n\n }, {\n key: \"process_video_params\",\n value: function process_video_params(param) {\n var video;\n\n switch (param.constructor) {\n case Object:\n video = \"\";\n\n if ('codec' in param) {\n video = param.codec;\n\n if ('profile' in param) {\n video += \":\" + param.profile;\n\n if ('level' in param) {\n video += \":\" + param.level;\n }\n }\n }\n\n return video;\n\n case String:\n return param;\n\n default:\n return null;\n }\n }\n }]);\n\n return Param;\n}();\n\nvar parameters_ArrayParam = /*#__PURE__*/function (_Param) {\n parameters_inherits(ArrayParam, _Param);\n\n var _super = parameters_createSuper(ArrayParam);\n\n /**\n * A parameter that represents an array.\n * @param {string} name - The name of the parameter in snake_case.\n * @param {string} shortName - The name of the serialized form of the parameter\n * If a value is not provided, the parameter will not be serialized.\n * @param {string} [sep='.'] - The separator to use when joining the array elements together\n * @param {function} [process=Util.identity ] - Manipulate origValue when value is called\n * @class ArrayParam\n * @extends Param\n * @ignore\n */\n function ArrayParam(name, shortName) {\n var _this;\n\n var sep = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';\n var process = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;\n\n parameters_classCallCheck(this, ArrayParam);\n\n _this = _super.call(this, name, shortName, process);\n _this.sep = sep;\n return _this;\n }\n\n parameters_createClass(ArrayParam, [{\n key: \"serialize\",\n value: function serialize() {\n if (this.shortName != null) {\n var arrayValue = this.value();\n\n if (isEmpty(arrayValue)) {\n return '';\n } else if (isString_root_isString_default()(arrayValue)) {\n return \"\".concat(this.shortName, \"_\").concat(arrayValue);\n } else {\n var flat = arrayValue.map(function (t) {\n return isFunction_root_isFunction_default()(t.serialize) ? t.serialize() : t;\n }).join(this.sep);\n return \"\".concat(this.shortName, \"_\").concat(flat);\n }\n } else {\n return '';\n }\n }\n }, {\n key: \"value\",\n value: function value() {\n var _this2 = this;\n\n if (isArray_root_isArray_default()(this.origValue)) {\n return this.origValue.map(function (v) {\n return _this2.process(v);\n });\n } else {\n return this.process(this.origValue);\n }\n }\n }, {\n key: \"set\",\n value: function set(origValue) {\n if (origValue == null || isArray_root_isArray_default()(origValue)) {\n return _get(parameters_getPrototypeOf(ArrayParam.prototype), \"set\", this).call(this, origValue);\n } else {\n return _get(parameters_getPrototypeOf(ArrayParam.prototype), \"set\", this).call(this, [origValue]);\n }\n }\n }]);\n\n return ArrayParam;\n}(parameters_Param);\n\nvar parameters_TransformationParam = /*#__PURE__*/function (_Param2) {\n parameters_inherits(TransformationParam, _Param2);\n\n var _super2 = parameters_createSuper(TransformationParam);\n\n /**\n * A parameter that represents a transformation\n * @param {string} name - The name of the parameter in snake_case\n * @param {string} [shortName='t'] - The name of the serialized form of the parameter\n * @param {string} [sep='.'] - The separator to use when joining the array elements together\n * @param {function} [process=Util.identity ] - Manipulate origValue when value is called\n * @class TransformationParam\n * @extends Param\n * @ignore\n */\n function TransformationParam(name) {\n var _this3;\n\n var shortName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"t\";\n var sep = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';\n var process = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;\n\n parameters_classCallCheck(this, TransformationParam);\n\n _this3 = _super2.call(this, name, shortName, process);\n _this3.sep = sep;\n return _this3;\n }\n /**\n * Generate string representations of the transformation.\n * @returns {*} Returns either the transformation as a string, or an array of string representations.\n */\n\n\n parameters_createClass(TransformationParam, [{\n key: \"serialize\",\n value: function serialize() {\n var _this4 = this;\n\n var result = '';\n var val = this.value();\n\n if (isEmpty(val)) {\n return result;\n } // val is an array of strings so join them\n\n\n if (baseutil_allStrings(val)) {\n var joined = val.join(this.sep); // creates t1.t2.t3 in case multiple named transformations were configured\n\n if (!isEmpty(joined)) {\n // in case options.transformation was not set with an empty string (val != ['']);\n result = \"\".concat(this.shortName, \"_\").concat(joined);\n }\n } else {\n // Convert val to an array of strings\n result = val.map(function (t) {\n if (isString_root_isString_default()(t) && !isEmpty(t)) {\n return \"\".concat(_this4.shortName, \"_\").concat(t);\n }\n\n if (isFunction_root_isFunction_default()(t.serialize)) {\n return t.serialize();\n }\n\n if (isPlainObject_root_isPlainObject_default()(t) && !isEmpty(t)) {\n return new src_transformation(t).serialize();\n }\n\n return undefined;\n }).filter(function (t) {\n return t;\n });\n }\n\n return result;\n }\n }, {\n key: \"set\",\n value: function set(origValue1) {\n this.origValue = origValue1;\n\n if (isArray_root_isArray_default()(this.origValue)) {\n return _get(parameters_getPrototypeOf(TransformationParam.prototype), \"set\", this).call(this, this.origValue);\n } else {\n return _get(parameters_getPrototypeOf(TransformationParam.prototype), \"set\", this).call(this, [this.origValue]);\n }\n }\n }]);\n\n return TransformationParam;\n}(parameters_Param);\n\nvar number_pattern = \"([0-9]*)\\\\.([0-9]+)|([0-9]+)\";\nvar offset_any_pattern = \"(\" + number_pattern + \")([%pP])?\";\n\nvar RangeParam = /*#__PURE__*/function (_Param3) {\n parameters_inherits(RangeParam, _Param3);\n\n var _super3 = parameters_createSuper(RangeParam);\n\n /**\n * A parameter that represents a range\n * @param {string} name - The name of the parameter in snake_case\n * @param {string} shortName - The name of the serialized form of the parameter\n * If a value is not provided, the parameter will not be serialized.\n * @param {function} [process=norm_range_value ] - Manipulate origValue when value is called\n * @class RangeParam\n * @extends Param\n * @ignore\n */\n function RangeParam(name, shortName) {\n var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : RangeParam.norm_range_value;\n\n parameters_classCallCheck(this, RangeParam);\n\n return _super3.call(this, name, shortName, process);\n }\n\n parameters_createClass(RangeParam, null, [{\n key: \"norm_range_value\",\n value: function norm_range_value(value) {\n var offset = String(value).match(new RegExp('^' + offset_any_pattern + '$'));\n\n if (offset) {\n var modifier = offset[5] != null ? 'p' : '';\n value = (offset[1] || offset[4]) + modifier;\n }\n\n return value;\n }\n }]);\n\n return RangeParam;\n}(parameters_Param);\n\nvar parameters_RawParam = /*#__PURE__*/function (_Param4) {\n parameters_inherits(RawParam, _Param4);\n\n var _super4 = parameters_createSuper(RawParam);\n\n function RawParam(name, shortName) {\n var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : identity_root_identity_default.a;\n\n parameters_classCallCheck(this, RawParam);\n\n return _super4.call(this, name, shortName, process);\n }\n\n parameters_createClass(RawParam, [{\n key: \"serialize\",\n value: function serialize() {\n return this.value();\n }\n }]);\n\n return RawParam;\n}(parameters_Param);\n\nvar parameters_LayerParam = /*#__PURE__*/function (_Param5) {\n parameters_inherits(LayerParam, _Param5);\n\n var _super5 = parameters_createSuper(LayerParam);\n\n function LayerParam() {\n parameters_classCallCheck(this, LayerParam);\n\n return _super5.apply(this, arguments);\n }\n\n parameters_createClass(LayerParam, [{\n key: \"value\",\n value: // Parse layer options\n // @return [string] layer transformation string\n // @private\n function value() {\n if (this.origValue == null) {\n return '';\n }\n\n var result;\n\n if (this.origValue instanceof layer_layer) {\n result = this.origValue;\n } else if (isPlainObject_root_isPlainObject_default()(this.origValue)) {\n var layerOptions = withCamelCaseKeys(this.origValue);\n\n if (layerOptions.resourceType === \"text\" || layerOptions.text != null) {\n result = new textlayer(layerOptions);\n } else if (layerOptions.resourceType === \"subtitles\") {\n result = new subtitleslayer(layerOptions);\n } else if (layerOptions.resourceType === \"fetch\" || layerOptions.url != null) {\n result = new fetchlayer(layerOptions);\n } else {\n result = new layer_layer(layerOptions);\n }\n } else if (isString_root_isString_default()(this.origValue)) {\n if (/^fetch:.+/.test(this.origValue)) {\n result = new fetchlayer(this.origValue.substr(6));\n } else {\n result = this.origValue;\n }\n } else {\n result = '';\n }\n\n return result.toString();\n }\n }], [{\n key: \"textStyle\",\n value: function textStyle(layer) {\n return new textlayer(layer).textStyleIdentifier();\n }\n }]);\n\n return LayerParam;\n}(parameters_Param);\n\nvar parameters_ExpressionParam = /*#__PURE__*/function (_Param6) {\n parameters_inherits(ExpressionParam, _Param6);\n\n var _super6 = parameters_createSuper(ExpressionParam);\n\n function ExpressionParam() {\n parameters_classCallCheck(this, ExpressionParam);\n\n return _super6.apply(this, arguments);\n }\n\n parameters_createClass(ExpressionParam, [{\n key: \"serialize\",\n value: function serialize() {\n return expression.normalize(_get(parameters_getPrototypeOf(ExpressionParam.prototype), \"serialize\", this).call(this));\n }\n }]);\n\n return ExpressionParam;\n}(parameters_Param);\n\n\n// CONCATENATED MODULE: ./src/transformation.js\nfunction transformation_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { transformation_typeof = function _typeof(obj) { return typeof obj; }; } else { transformation_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return transformation_typeof(obj); }\n\nfunction transformation_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) transformation_setPrototypeOf(subClass, superClass); }\n\nfunction transformation_setPrototypeOf(o, p) { transformation_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return transformation_setPrototypeOf(o, p); }\n\nfunction transformation_createSuper(Derived) { var hasNativeReflectConstruct = transformation_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = transformation_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = transformation_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return transformation_possibleConstructorReturn(this, result); }; }\n\nfunction transformation_possibleConstructorReturn(self, call) { if (call && (transformation_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return transformation_assertThisInitialized(self); }\n\nfunction transformation_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction transformation_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction transformation_getPrototypeOf(o) { transformation_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return transformation_getPrototypeOf(o); }\n\nfunction transformation_slicedToArray(arr, i) { return transformation_arrayWithHoles(arr) || transformation_iterableToArrayLimit(arr, i) || transformation_unsupportedIterableToArray(arr, i) || transformation_nonIterableRest(); }\n\nfunction transformation_nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction transformation_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return transformation_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return transformation_arrayLikeToArray(o, minLen); }\n\nfunction transformation_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction transformation_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction transformation_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction transformation_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction transformation_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction transformation_createClass(Constructor, protoProps, staticProps) { if (protoProps) transformation_defineProperties(Constructor.prototype, protoProps); if (staticProps) transformation_defineProperties(Constructor, staticProps); return Constructor; }\n\n\n\n\n\n\n\n/**\n * Assign key, value to target, when value is not null.
\n * This function mutates the target!\n * @param {object} target the object to assign the values to\n * @param {object} sources one or more objects to get values from\n * @returns {object} the target after the assignment\n */\n\nfunction assignNotNull(target) {\n for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n sources[_key - 1] = arguments[_key];\n }\n\n sources.forEach(function (source) {\n Object.keys(source).forEach(function (key) {\n if (source[key] != null) {\n target[key] = source[key];\n }\n });\n });\n return target;\n}\n/**\n * TransformationBase\n * Depends on 'configuration', 'parameters','util'\n * @internal\n */\n\n\nvar transformation_TransformationBase = /*#__PURE__*/function () {\n /**\n * The base class for transformations.\n * Members of this class are documented as belonging to the {@link Transformation} class for convenience.\n * @class TransformationBase\n */\n function TransformationBase(options) {\n transformation_classCallCheck(this, TransformationBase);\n\n /** @private */\n\n /** @private */\n var parent, trans;\n parent = void 0;\n trans = {};\n /**\n * Return an options object that can be used to create an identical Transformation\n * @function Transformation#toOptions\n * @return {Object} Returns a plain object representing this transformation\n */\n\n this.toOptions = function (withChain) {\n var opt = {};\n\n if (withChain == null) {\n withChain = true;\n }\n\n Object.keys(trans).forEach(function (key) {\n return opt[key] = trans[key].origValue;\n });\n assignNotNull(opt, this.otherOptions);\n\n if (withChain && !isEmpty(this.chained)) {\n var list = this.chained.map(function (tr) {\n return tr.toOptions();\n });\n list.push(opt);\n opt = {};\n assignNotNull(opt, this.otherOptions);\n opt.transformation = list;\n }\n\n return opt;\n };\n /**\n * Set a parent for this object for chaining purposes.\n *\n * @function Transformation#setParent\n * @param {Object} object - the parent to be assigned to\n * @returns {Transformation} Returns this instance for chaining purposes.\n */\n\n\n this.setParent = function (object) {\n parent = object;\n\n if (object != null) {\n this.fromOptions(typeof object.toOptions === \"function\" ? object.toOptions() : void 0);\n }\n\n return this;\n };\n /**\n * Returns the parent of this object in the chain\n * @function Transformation#getParent\n * @protected\n * @return {Object} Returns the parent of this object if there is any\n */\n\n\n this.getParent = function () {\n return parent;\n }; // Helper methods to create parameter methods\n // These methods are defined here because they access `trans` which is\n // a private member of `TransformationBase`\n\n /** @protected */\n\n\n this.param = function (value, name, abbr, defaultValue, process) {\n if (process == null) {\n if (isFunction_root_isFunction_default()(defaultValue)) {\n process = defaultValue;\n } else {\n process = identity_root_identity_default.a;\n }\n }\n\n trans[name] = new parameters_Param(name, abbr, process).set(value);\n return this;\n };\n /** @protected */\n\n\n this.rawParam = function (value, name, abbr, defaultValue, process) {\n process = lastArgCallback(arguments);\n trans[name] = new parameters_RawParam(name, abbr, process).set(value);\n return this;\n };\n /** @protected */\n\n\n this.rangeParam = function (value, name, abbr, defaultValue, process) {\n process = lastArgCallback(arguments);\n trans[name] = new RangeParam(name, abbr, process).set(value);\n return this;\n };\n /** @protected */\n\n\n this.arrayParam = function (value, name, abbr) {\n var sep = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : \":\";\n var defaultValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];\n var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : undefined;\n process = lastArgCallback(arguments);\n trans[name] = new parameters_ArrayParam(name, abbr, sep, process).set(value);\n return this;\n };\n /** @protected */\n\n\n this.transformationParam = function (value, name, abbr) {\n var sep = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : \".\";\n var defaultValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : undefined;\n var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : undefined;\n process = lastArgCallback(arguments);\n trans[name] = new parameters_TransformationParam(name, abbr, sep, process).set(value);\n return this;\n };\n\n this.layerParam = function (value, name, abbr) {\n trans[name] = new parameters_LayerParam(name, abbr).set(value);\n return this;\n }; // End Helper methods\n\n /**\n * Get the value associated with the given name.\n * @function Transformation#getValue\n * @param {string} name - the name of the parameter\n * @return {*} the processed value associated with the given name\n * @description Use {@link get}.origValue for the value originally provided for the parameter\n */\n\n\n this.getValue = function (name) {\n var value = trans[name] && trans[name].value();\n return value != null ? value : this.otherOptions[name];\n };\n /**\n * Get the parameter object for the given parameter name\n * @function Transformation#get\n * @param {string} name the name of the transformation parameter\n * @returns {Param} the param object for the given name, or undefined\n */\n\n\n this.get = function (name) {\n return trans[name];\n };\n /**\n * Remove a transformation option from the transformation.\n * @function Transformation#remove\n * @param {string} name - the name of the option to remove\n * @return {*} Returns the option that was removed or null if no option by that name was found. The type of the\n * returned value depends on the value.\n */\n\n\n this.remove = function (name) {\n var temp;\n\n switch (false) {\n case trans[name] == null:\n temp = trans[name];\n delete trans[name];\n return temp.origValue;\n\n case this.otherOptions[name] == null:\n temp = this.otherOptions[name];\n delete this.otherOptions[name];\n return temp;\n\n default:\n return null;\n }\n };\n /**\n * Return an array of all the keys (option names) in the transformation.\n * @return {Array} the keys in snakeCase format\n */\n\n\n this.keys = function () {\n var key;\n return function () {\n var results;\n results = [];\n\n for (key in trans) {\n if (key != null) {\n results.push(key.match(VAR_NAME_RE) ? key : snakeCase(key));\n }\n }\n\n return results;\n }().sort();\n };\n /**\n * Returns a plain object representation of the transformation. Values are processed.\n * @function Transformation#toPlainObject\n * @return {Object} the transformation options as plain object\n */\n\n\n this.toPlainObject = function () {\n var hash, key, list;\n hash = {};\n\n for (key in trans) {\n hash[key] = trans[key].value();\n\n if (isPlainObject_root_isPlainObject_default()(hash[key])) {\n hash[key] = cloneDeep_root_cloneDeep_default()(hash[key]);\n }\n }\n\n if (!isEmpty(this.chained)) {\n list = this.chained.map(function (tr) {\n return tr.toPlainObject();\n });\n list.push(hash);\n hash = {\n transformation: list\n };\n }\n\n return hash;\n };\n /**\n * Complete the current transformation and chain to a new one.\n * In the URL, transformations are chained together by slashes.\n * @function Transformation#chain\n * @return {Transformation} Returns this transformation for chaining\n * @example\n * var tr = cloudinary.Transformation.new();\n * tr.width(10).crop('fit').chain().angle(15).serialize()\n * // produces \"c_fit,w_10/a_15\"\n */\n\n\n this.chain = function () {\n var names, tr;\n names = Object.getOwnPropertyNames(trans);\n\n if (names.length !== 0) {\n tr = new this.constructor(this.toOptions(false));\n this.resetTransformations();\n this.chained.push(tr);\n }\n\n return this;\n };\n\n this.resetTransformations = function () {\n trans = {};\n return this;\n };\n\n this.otherOptions = {};\n this.chained = [];\n this.fromOptions(options);\n }\n /**\n * Merge the provided options with own's options\n * @param {Object} [options={}] key-value list of options\n * @returns {Transformation} Returns this instance for chaining\n */\n\n\n transformation_createClass(TransformationBase, [{\n key: \"fromOptions\",\n value: function fromOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n if (options instanceof TransformationBase) {\n this.fromTransformation(options);\n } else {\n if (isString_root_isString_default()(options) || isArray_root_isArray_default()(options)) {\n options = {\n transformation: options\n };\n }\n\n options = cloneDeep_root_cloneDeep_default()(options, function (value) {\n if (value instanceof TransformationBase || value instanceof Layer) {\n return new value.clone();\n }\n }); // Handling of \"if\" statements precedes other options as it creates a chained transformation\n\n if (options[\"if\"]) {\n this.set(\"if\", options[\"if\"]);\n delete options[\"if\"];\n }\n\n for (var key in options) {\n var opt = options[key];\n\n if (opt != null) {\n if (key.match(VAR_NAME_RE)) {\n if (key !== '$attr') {\n this.set('variable', key, opt);\n }\n } else {\n this.set(key, opt);\n }\n }\n }\n }\n\n return this;\n }\n }, {\n key: \"fromTransformation\",\n value: function fromTransformation(other) {\n var _this = this;\n\n if (other instanceof TransformationBase) {\n other.keys().forEach(function (key) {\n return _this.set(key, other.get(key).origValue);\n });\n }\n\n return this;\n }\n /**\n * Set a parameter.\n * The parameter name `key` is converted to\n * @param {string} key - the name of the parameter\n * @param {*} values - the value of the parameter\n * @returns {Transformation} Returns this instance for chaining\n */\n\n }, {\n key: \"set\",\n value: function set(key) {\n var camelKey;\n camelKey = camelCase(key);\n\n for (var _len2 = arguments.length, values = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n values[_key2 - 1] = arguments[_key2];\n }\n\n if (includes_root_includes_default()(transformation_Transformation.methods, camelKey)) {\n this[camelKey].apply(this, values);\n } else {\n this.otherOptions[key] = values[0];\n }\n\n return this;\n }\n }, {\n key: \"hasLayer\",\n value: function hasLayer() {\n return this.getValue(\"overlay\") || this.getValue(\"underlay\");\n }\n /**\n * Generate a string representation of the transformation.\n * @function Transformation#serialize\n * @return {string} Returns the transformation as a string\n */\n\n }, {\n key: \"serialize\",\n value: function serialize() {\n var ifParam, j, len, paramList, ref, ref1, ref2, ref3, ref4, resultArray, t, transformationList, transformationString, transformations, value, variables, vars;\n resultArray = this.chained.map(function (tr) {\n return tr.serialize();\n });\n paramList = this.keys();\n transformations = (ref = this.get(\"transformation\")) != null ? ref.serialize() : void 0;\n ifParam = (ref1 = this.get(\"if\")) != null ? ref1.serialize() : void 0;\n variables = processVar((ref2 = this.get(\"variables\")) != null ? ref2.value() : void 0);\n paramList = difference_root_difference_default()(paramList, [\"transformation\", \"if\", \"variables\"]);\n vars = [];\n transformationList = [];\n\n for (j = 0, len = paramList.length; j < len; j++) {\n t = paramList[j];\n\n if (t.match(VAR_NAME_RE)) {\n vars.push(t + \"_\" + expression.normalize((ref3 = this.get(t)) != null ? ref3.value() : void 0));\n } else {\n transformationList.push((ref4 = this.get(t)) != null ? ref4.serialize() : void 0);\n }\n }\n\n switch (false) {\n case !isString_root_isString_default()(transformations):\n transformationList.push(transformations);\n break;\n\n case !isArray_root_isArray_default()(transformations):\n resultArray = resultArray.concat(transformations);\n }\n\n transformationList = function () {\n var k, len1, results;\n results = [];\n\n for (k = 0, len1 = transformationList.length; k < len1; k++) {\n value = transformationList[k];\n\n if (isArray_root_isArray_default()(value) && !isEmpty(value) || !isArray_root_isArray_default()(value) && value) {\n results.push(value);\n }\n }\n\n return results;\n }();\n\n transformationList = vars.sort().concat(variables).concat(transformationList.sort());\n\n if (ifParam === \"if_end\") {\n transformationList.push(ifParam);\n } else if (!isEmpty(ifParam)) {\n transformationList.unshift(ifParam);\n }\n\n transformationString = compact_root_compact_default()(transformationList).join(this.param_separator);\n\n if (!isEmpty(transformationString)) {\n resultArray.push(transformationString);\n }\n\n return compact_root_compact_default()(resultArray).join(this.trans_separator);\n }\n /**\n * Provide a list of all the valid transformation option names\n * @function Transformation#listNames\n * @private\n * @return {Array} a array of all the valid option names\n */\n\n }, {\n key: \"toHtmlAttributes\",\n value:\n /**\n * Returns the attributes for an HTML tag.\n * @function Cloudinary.toHtmlAttributes\n * @return PlainObject\n */\n function toHtmlAttributes() {\n var _this2 = this;\n\n var attrName, height, options, ref2, ref3, value, width;\n options = {};\n var snakeCaseKey;\n Object.keys(this.otherOptions).forEach(function (key) {\n value = _this2.otherOptions[key];\n snakeCaseKey = snakeCase(key);\n\n if (!includes_root_includes_default()(transformation_Transformation.PARAM_NAMES, snakeCaseKey) && !includes_root_includes_default()(URL_KEYS, snakeCaseKey)) {\n attrName = /^html_/.test(key) ? key.slice(5) : key;\n options[attrName] = value;\n }\n }); // convert all \"html_key\" to \"key\" with the same value\n\n this.keys().forEach(function (key) {\n if (/^html_/.test(key)) {\n options[camelCase(key.slice(5))] = _this2.getValue(key);\n }\n });\n\n if (!(this.hasLayer() || this.getValue(\"angle\") || includes_root_includes_default()([\"fit\", \"limit\", \"lfill\"], this.getValue(\"crop\")))) {\n width = (ref2 = this.get(\"width\")) != null ? ref2.origValue : void 0;\n height = (ref3 = this.get(\"height\")) != null ? ref3.origValue : void 0;\n\n if (parseFloat(width) >= 1.0) {\n if (options.width == null) {\n options.width = width;\n }\n }\n\n if (parseFloat(height) >= 1.0) {\n if (options.height == null) {\n options.height = height;\n }\n }\n }\n\n return options;\n }\n }, {\n key: \"toHtml\",\n value:\n /**\n * Delegate to the parent (up the call chain) to produce HTML\n * @function Transformation#toHtml\n * @return {string} HTML representation of the parent if possible.\n * @example\n * tag = cloudinary.ImageTag.new(\"sample\", {cloud_name: \"demo\"})\n * // ImageTag {name: \"img\", publicId: \"sample\"}\n * tag.toHtml()\n * // \n * tag.transformation().crop(\"fit\").width(300).toHtml()\n * // \n */\n function toHtml() {\n var ref;\n return (ref = this.getParent()) != null ? typeof ref.toHtml === \"function\" ? ref.toHtml() : void 0 : void 0;\n }\n }, {\n key: \"toString\",\n value: function toString() {\n return this.serialize();\n }\n }, {\n key: \"clone\",\n value: function clone() {\n return new this.constructor(this.toOptions(true));\n }\n }], [{\n key: \"listNames\",\n value: function listNames() {\n return transformation_Transformation.methods;\n }\n }, {\n key: \"isValidParamName\",\n value: function isValidParamName(name) {\n return transformation_Transformation.methods.indexOf(camelCase(name)) >= 0;\n }\n }]);\n\n return TransformationBase;\n}();\n\nvar VAR_NAME_RE = /^\\$[a-zA-Z0-9]+$/;\ntransformation_TransformationBase.prototype.trans_separator = '/';\ntransformation_TransformationBase.prototype.param_separator = ',';\n\nfunction lastArgCallback(args) {\n var callback;\n callback = args != null ? args[args.length - 1] : void 0;\n\n if (isFunction_root_isFunction_default()(callback)) {\n return callback;\n } else {\n return void 0;\n }\n}\n\nfunction processVar(varArray) {\n var j, len, name, results, v;\n\n if (isArray_root_isArray_default()(varArray)) {\n results = [];\n\n for (j = 0, len = varArray.length; j < len; j++) {\n var _varArray$j = transformation_slicedToArray(varArray[j], 2);\n\n name = _varArray$j[0];\n v = _varArray$j[1];\n results.push(\"\".concat(name, \"_\").concat(expression.normalize(v)));\n }\n\n return results;\n } else {\n return varArray;\n }\n}\n\nfunction processCustomFunction(_ref) {\n var function_type = _ref.function_type,\n source = _ref.source;\n\n if (function_type === 'remote') {\n return [function_type, btoa(source)].join(\":\");\n } else if (function_type === 'wasm') {\n return [function_type, source].join(\":\");\n }\n}\n/**\n * Transformation Class methods.\n * This is a list of the parameters defined in Transformation.\n * Values are camelCased.\n * @const Transformation.methods\n * @private\n * @ignore\n * @type {Array}\n */\n\n/**\n * Parameters that are filtered out before passing the options to an HTML tag.\n *\n * The list of parameters is a combination of `Transformation::methods` and `Configuration::CONFIG_PARAMS`\n * @const {Array} Transformation.PARAM_NAMES\n * @private\n * @ignore\n * @see toHtmlAttributes\n */\n\n\nvar transformation_Transformation = /*#__PURE__*/function (_TransformationBase) {\n transformation_inherits(Transformation, _TransformationBase);\n\n var _super = transformation_createSuper(Transformation);\n\n /**\n * Represents a single transformation.\n * @class Transformation\n * @example\n * t = new cloudinary.Transformation();\n * t.angle(20).crop(\"scale\").width(\"auto\");\n *\n * // or\n *\n * t = new cloudinary.Transformation( {angle: 20, crop: \"scale\", width: \"auto\"});\n * @see Available image transformations\n * @see Available video transformations\n */\n function Transformation(options) {\n transformation_classCallCheck(this, Transformation);\n\n return _super.call(this, options);\n }\n /**\n * Convenience constructor\n * @param {Object} options\n * @return {Transformation}\n * @example cl = cloudinary.Transformation.new( {angle: 20, crop: \"scale\", width: \"auto\"})\n */\n\n\n transformation_createClass(Transformation, [{\n key: \"angle\",\n value:\n /*\n Transformation Parameters\n */\n function angle(value) {\n return this.arrayParam(value, \"angle\", \"a\", \".\", expression.normalize);\n }\n }, {\n key: \"audioCodec\",\n value: function audioCodec(value) {\n return this.param(value, \"audio_codec\", \"ac\");\n }\n }, {\n key: \"audioFrequency\",\n value: function audioFrequency(value) {\n return this.param(value, \"audio_frequency\", \"af\");\n }\n }, {\n key: \"aspectRatio\",\n value: function aspectRatio(value) {\n return this.param(value, \"aspect_ratio\", \"ar\", expression.normalize);\n }\n }, {\n key: \"background\",\n value: function background(value) {\n return this.param(value, \"background\", \"b\", parameters_Param.norm_color);\n }\n }, {\n key: \"bitRate\",\n value: function bitRate(value) {\n return this.param(value, \"bit_rate\", \"br\");\n }\n }, {\n key: \"border\",\n value: function border(value) {\n return this.param(value, \"border\", \"bo\", function (border) {\n if (isPlainObject_root_isPlainObject_default()(border)) {\n border = assign_root_assign_default()({}, {\n color: \"black\",\n width: 2\n }, border);\n return \"\".concat(border.width, \"px_solid_\").concat(parameters_Param.norm_color(border.color));\n } else {\n return border;\n }\n });\n }\n }, {\n key: \"color\",\n value: function color(value) {\n return this.param(value, \"color\", \"co\", parameters_Param.norm_color);\n }\n }, {\n key: \"colorSpace\",\n value: function colorSpace(value) {\n return this.param(value, \"color_space\", \"cs\");\n }\n }, {\n key: \"crop\",\n value: function crop(value) {\n return this.param(value, \"crop\", \"c\");\n }\n }, {\n key: \"customFunction\",\n value: function customFunction(value) {\n return this.param(value, \"custom_function\", \"fn\", function () {\n return processCustomFunction(value);\n });\n }\n }, {\n key: \"customPreFunction\",\n value: function customPreFunction(value) {\n if (this.get('custom_function')) {\n return;\n }\n\n return this.rawParam(value, \"custom_function\", \"\", function () {\n value = processCustomFunction(value);\n return value ? \"fn_pre:\".concat(value) : value;\n });\n }\n }, {\n key: \"defaultImage\",\n value: function defaultImage(value) {\n return this.param(value, \"default_image\", \"d\");\n }\n }, {\n key: \"delay\",\n value: function delay(value) {\n return this.param(value, \"delay\", \"dl\");\n }\n }, {\n key: \"density\",\n value: function density(value) {\n return this.param(value, \"density\", \"dn\");\n }\n }, {\n key: \"duration\",\n value: function duration(value) {\n return this.rangeParam(value, \"duration\", \"du\");\n }\n }, {\n key: \"dpr\",\n value: function dpr(value) {\n return this.param(value, \"dpr\", \"dpr\", function (dpr) {\n dpr = dpr.toString();\n\n if (dpr != null ? dpr.match(/^\\d+$/) : void 0) {\n return dpr + \".0\";\n } else {\n return expression.normalize(dpr);\n }\n });\n }\n }, {\n key: \"effect\",\n value: function effect(value) {\n return this.arrayParam(value, \"effect\", \"e\", \":\", expression.normalize);\n }\n }, {\n key: \"else\",\n value: function _else() {\n return this[\"if\"]('else');\n }\n }, {\n key: \"endIf\",\n value: function endIf() {\n return this[\"if\"]('end');\n }\n }, {\n key: \"endOffset\",\n value: function endOffset(value) {\n return this.rangeParam(value, \"end_offset\", \"eo\");\n }\n }, {\n key: \"fallbackContent\",\n value: function fallbackContent(value) {\n return this.param(value, \"fallback_content\");\n }\n }, {\n key: \"fetchFormat\",\n value: function fetchFormat(value) {\n return this.param(value, \"fetch_format\", \"f\");\n }\n }, {\n key: \"format\",\n value: function format(value) {\n return this.param(value, \"format\");\n }\n }, {\n key: \"flags\",\n value: function flags(value) {\n return this.arrayParam(value, \"flags\", \"fl\", \".\");\n }\n }, {\n key: \"gravity\",\n value: function gravity(value) {\n return this.param(value, \"gravity\", \"g\");\n }\n }, {\n key: \"fps\",\n value: function fps(value) {\n return this.param(value, \"fps\", \"fps\", function (fps) {\n if (isString_root_isString_default()(fps)) {\n return fps;\n } else if (isArray_root_isArray_default()(fps)) {\n return fps.join(\"-\");\n } else {\n return fps;\n }\n });\n }\n }, {\n key: \"height\",\n value: function height(value) {\n var _this3 = this;\n\n return this.param(value, \"height\", \"h\", function () {\n if (_this3.getValue(\"crop\") || _this3.getValue(\"overlay\") || _this3.getValue(\"underlay\")) {\n return expression.normalize(value);\n } else {\n return null;\n }\n });\n }\n }, {\n key: \"htmlHeight\",\n value: function htmlHeight(value) {\n return this.param(value, \"html_height\");\n }\n }, {\n key: \"htmlWidth\",\n value: function htmlWidth(value) {\n return this.param(value, \"html_width\");\n }\n }, {\n key: \"if\",\n value: function _if() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var i, ifVal, j, ref, trIf, trRest;\n\n switch (value) {\n case \"else\":\n this.chain();\n return this.param(value, \"if\", \"if\");\n\n case \"end\":\n this.chain();\n\n for (i = j = ref = this.chained.length - 1; j >= 0; i = j += -1) {\n ifVal = this.chained[i].getValue(\"if\");\n\n if (ifVal === \"end\") {\n break;\n } else if (ifVal != null) {\n trIf = Transformation[\"new\"]()[\"if\"](ifVal);\n this.chained[i].remove(\"if\");\n trRest = this.chained[i];\n this.chained[i] = Transformation[\"new\"]().transformation([trIf, trRest]);\n\n if (ifVal !== \"else\") {\n break;\n }\n }\n }\n\n return this.param(value, \"if\", \"if\");\n\n case \"\":\n return condition[\"new\"]().setParent(this);\n\n default:\n return this.param(value, \"if\", \"if\", function (value) {\n return condition[\"new\"](value).toString();\n });\n }\n }\n }, {\n key: \"keyframeInterval\",\n value: function keyframeInterval(value) {\n return this.param(value, \"keyframe_interval\", \"ki\");\n }\n }, {\n key: \"ocr\",\n value: function ocr(value) {\n return this.param(value, \"ocr\", \"ocr\");\n }\n }, {\n key: \"offset\",\n value: function offset(value) {\n var end_o, start_o;\n\n var _ref2 = isFunction_root_isFunction_default()(value != null ? value.split : void 0) ? value.split('..') : isArray_root_isArray_default()(value) ? value : [null, null];\n\n var _ref3 = transformation_slicedToArray(_ref2, 2);\n\n start_o = _ref3[0];\n end_o = _ref3[1];\n\n if (start_o != null) {\n this.startOffset(start_o);\n }\n\n if (end_o != null) {\n return this.endOffset(end_o);\n }\n }\n }, {\n key: \"opacity\",\n value: function opacity(value) {\n return this.param(value, \"opacity\", \"o\", expression.normalize);\n }\n }, {\n key: \"overlay\",\n value: function overlay(value) {\n return this.layerParam(value, \"overlay\", \"l\");\n }\n }, {\n key: \"page\",\n value: function page(value) {\n return this.param(value, \"page\", \"pg\");\n }\n }, {\n key: \"poster\",\n value: function poster(value) {\n return this.param(value, \"poster\");\n }\n }, {\n key: \"prefix\",\n value: function prefix(value) {\n return this.param(value, \"prefix\", \"p\");\n }\n }, {\n key: \"quality\",\n value: function quality(value) {\n return this.param(value, \"quality\", \"q\", expression.normalize);\n }\n }, {\n key: \"radius\",\n value: function radius(value) {\n return this.arrayParam(value, \"radius\", \"r\", \":\", expression.normalize);\n }\n }, {\n key: \"rawTransformation\",\n value: function rawTransformation(value) {\n return this.rawParam(value, \"raw_transformation\");\n }\n }, {\n key: \"size\",\n value: function size(value) {\n var height, width;\n\n if (isFunction_root_isFunction_default()(value != null ? value.split : void 0)) {\n var _value$split = value.split('x');\n\n var _value$split2 = transformation_slicedToArray(_value$split, 2);\n\n width = _value$split2[0];\n height = _value$split2[1];\n this.width(width);\n return this.height(height);\n }\n }\n }, {\n key: \"sourceTypes\",\n value: function sourceTypes(value) {\n return this.param(value, \"source_types\");\n }\n }, {\n key: \"sourceTransformation\",\n value: function sourceTransformation(value) {\n return this.param(value, \"source_transformation\");\n }\n }, {\n key: \"startOffset\",\n value: function startOffset(value) {\n return this.rangeParam(value, \"start_offset\", \"so\");\n }\n }, {\n key: \"streamingProfile\",\n value: function streamingProfile(value) {\n return this.param(value, \"streaming_profile\", \"sp\");\n }\n }, {\n key: \"transformation\",\n value: function transformation(value) {\n return this.transformationParam(value, \"transformation\", \"t\");\n }\n }, {\n key: \"underlay\",\n value: function underlay(value) {\n return this.layerParam(value, \"underlay\", \"u\");\n }\n }, {\n key: \"variable\",\n value: function variable(name, value) {\n return this.param(value, name, name);\n }\n }, {\n key: \"variables\",\n value: function variables(values) {\n return this.arrayParam(values, \"variables\");\n }\n }, {\n key: \"videoCodec\",\n value: function videoCodec(value) {\n return this.param(value, \"video_codec\", \"vc\", parameters_Param.process_video_params);\n }\n }, {\n key: \"videoSampling\",\n value: function videoSampling(value) {\n return this.param(value, \"video_sampling\", \"vs\");\n }\n }, {\n key: \"width\",\n value: function width(value) {\n var _this4 = this;\n\n return this.param(value, \"width\", \"w\", function () {\n if (_this4.getValue(\"crop\") || _this4.getValue(\"overlay\") || _this4.getValue(\"underlay\")) {\n return expression.normalize(value);\n } else {\n return null;\n }\n });\n }\n }, {\n key: \"x\",\n value: function x(value) {\n return this.param(value, \"x\", \"x\", expression.normalize);\n }\n }, {\n key: \"y\",\n value: function y(value) {\n return this.param(value, \"y\", \"y\", expression.normalize);\n }\n }, {\n key: \"zoom\",\n value: function zoom(value) {\n return this.param(value, \"zoom\", \"z\", expression.normalize);\n }\n }], [{\n key: \"new\",\n value: function _new(options) {\n return new Transformation(options);\n }\n }]);\n\n return Transformation;\n}(transformation_TransformationBase);\n/**\n * Transformation Class methods.\n * This is a list of the parameters defined in Transformation.\n * Values are camelCased.\n */\n\n\ntransformation_Transformation.methods = [\"angle\", \"audioCodec\", \"audioFrequency\", \"aspectRatio\", \"background\", \"bitRate\", \"border\", \"color\", \"colorSpace\", \"crop\", \"customFunction\", \"customPreFunction\", \"defaultImage\", \"delay\", \"density\", \"duration\", \"dpr\", \"effect\", \"else\", \"endIf\", \"endOffset\", \"fallbackContent\", \"fetchFormat\", \"format\", \"flags\", \"gravity\", \"fps\", \"height\", \"htmlHeight\", \"htmlWidth\", \"if\", \"keyframeInterval\", \"ocr\", \"offset\", \"opacity\", \"overlay\", \"page\", \"poster\", \"prefix\", \"quality\", \"radius\", \"rawTransformation\", \"size\", \"sourceTypes\", \"sourceTransformation\", \"startOffset\", \"streamingProfile\", \"transformation\", \"underlay\", \"variable\", \"variables\", \"videoCodec\", \"videoSampling\", \"width\", \"x\", \"y\", \"zoom\"];\n/**\n * Parameters that are filtered out before passing the options to an HTML tag.\n *\n * The list of parameters is a combination of `Transformation::methods` and `Configuration::CONFIG_PARAMS`\n */\n\ntransformation_Transformation.PARAM_NAMES = transformation_Transformation.methods.map(snakeCase).concat(src_configuration.CONFIG_PARAMS);\n/* harmony default export */ var src_transformation = (transformation_Transformation);\n// CONCATENATED MODULE: ./src/tags/htmltag.js\nfunction htmltag_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction htmltag_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction htmltag_createClass(Constructor, protoProps, staticProps) { if (protoProps) htmltag_defineProperties(Constructor.prototype, protoProps); if (staticProps) htmltag_defineProperties(Constructor, staticProps); return Constructor; }\n\n/**\n * Generic HTML tag\n * Depends on 'transformation', 'util'\n */\n\n\n/**\n * Represents an HTML (DOM) tag\n * @constructor HtmlTag\n * @param {string} name - the name of the tag\n * @param {string} [publicId]\n * @param {Object} options\n * @example tag = new HtmlTag( 'div', { 'width': 10})\n */\n\nvar htmltag_HtmlTag = /*#__PURE__*/function () {\n function HtmlTag(name, publicId, options) {\n htmltag_classCallCheck(this, HtmlTag);\n\n var transformation;\n this.name = name;\n this.publicId = publicId;\n\n if (options == null) {\n if (isPlainObject_root_isPlainObject_default()(publicId)) {\n options = publicId;\n this.publicId = void 0;\n } else {\n options = {};\n }\n }\n\n transformation = new src_transformation(options);\n transformation.setParent(this);\n\n this.transformation = function () {\n return transformation;\n };\n }\n /**\n * Convenience constructor\n * Creates a new instance of an HTML (DOM) tag\n * @function HtmlTag.new\n * @param {string} name - the name of the tag\n * @param {string} [publicId]\n * @param {Object} options\n * @return {HtmlTag}\n * @example tag = HtmlTag.new( 'div', { 'width': 10})\n */\n\n\n htmltag_createClass(HtmlTag, [{\n key: \"htmlAttrs\",\n value:\n /**\n * combine key and value from the `attr` to generate an HTML tag attributes string.\n * `Transformation::toHtmlTagOptions` is used to filter out transformation and configuration keys.\n * @protected\n * @param {Object} attrs\n * @return {string} the attributes in the format `'key1=\"value1\" key2=\"value2\"'`\n * @ignore\n */\n function htmlAttrs(attrs) {\n var key, pairs, value;\n return pairs = function () {\n var results;\n results = [];\n\n for (key in attrs) {\n value = escapeQuotes(attrs[key]);\n\n if (value) {\n results.push(htmltag_toAttribute(key, value));\n }\n }\n\n return results;\n }().sort().join(' ');\n }\n /**\n * Get all options related to this tag.\n * @function HtmlTag#getOptions\n * @returns {Object} the options\n *\n */\n\n }, {\n key: \"getOptions\",\n value: function getOptions() {\n return this.transformation().toOptions();\n }\n /**\n * Get the value of option `name`\n * @function HtmlTag#getOption\n * @param {string} name - the name of the option\n * @returns {*} Returns the value of the option\n *\n */\n\n }, {\n key: \"getOption\",\n value: function getOption(name) {\n return this.transformation().getValue(name);\n }\n /**\n * Get the attributes of the tag.\n * @function HtmlTag#attributes\n * @returns {Object} attributes\n */\n\n }, {\n key: \"attributes\",\n value: function attributes() {\n // The attributes are be computed from the options every time this method is invoked.\n var htmlAttributes = this.transformation().toHtmlAttributes();\n Object.keys(htmlAttributes).forEach(function (key) {\n if (isPlainObject_root_isPlainObject_default()(htmlAttributes[key])) {\n delete htmlAttributes[key];\n }\n });\n\n if (htmlAttributes.attributes) {\n // Currently HTML attributes are defined both at the top level and under 'attributes'\n merge_root_merge_default()(htmlAttributes, htmlAttributes.attributes);\n delete htmlAttributes.attributes;\n }\n\n return htmlAttributes;\n }\n /**\n * Set a tag attribute named `name` to `value`\n * @function HtmlTag#setAttr\n * @param {string} name - the name of the attribute\n * @param {string} value - the value of the attribute\n */\n\n }, {\n key: \"setAttr\",\n value: function setAttr(name, value) {\n this.transformation().set(\"html_\".concat(name), value);\n return this;\n }\n /**\n * Get the value of the tag attribute `name`\n * @function HtmlTag#getAttr\n * @param {string} name - the name of the attribute\n * @returns {*}\n */\n\n }, {\n key: \"getAttr\",\n value: function getAttr(name) {\n return this.attributes()[\"html_\".concat(name)] || this.attributes()[name];\n }\n /**\n * Remove the tag attributed named `name`\n * @function HtmlTag#removeAttr\n * @param {string} name - the name of the attribute\n * @returns {*}\n */\n\n }, {\n key: \"removeAttr\",\n value: function removeAttr(name) {\n var ref;\n return (ref = this.transformation().remove(\"html_\".concat(name))) != null ? ref : this.transformation().remove(name);\n }\n /**\n * @function HtmlTag#content\n * @protected\n * @ignore\n */\n\n }, {\n key: \"content\",\n value: function content() {\n return \"\";\n }\n /**\n * @function HtmlTag#openTag\n * @protected\n * @ignore\n */\n\n }, {\n key: \"openTag\",\n value: function openTag() {\n var tag = \"<\" + this.name;\n var htmlAttrs = this.htmlAttrs(this.attributes());\n\n if (htmlAttrs && htmlAttrs.length > 0) {\n tag += \" \" + htmlAttrs;\n }\n\n return tag + \">\";\n }\n /**\n * @function HtmlTag#closeTag\n * @protected\n * @ignore\n */\n\n }, {\n key: \"closeTag\",\n value: function closeTag() {\n return \"\");\n }\n /**\n * Generates an HTML representation of the tag.\n * @function HtmlTag#toHtml\n * @returns {string} Returns HTML in string format\n */\n\n }, {\n key: \"toHtml\",\n value: function toHtml() {\n return this.openTag() + this.content() + this.closeTag();\n }\n /**\n * Creates a DOM object representing the tag.\n * @function HtmlTag#toDOM\n * @returns {Element}\n */\n\n }, {\n key: \"toDOM\",\n value: function toDOM() {\n var element, name, ref, value;\n\n if (!isFunction_root_isFunction_default()(typeof document !== \"undefined\" && document !== null ? document.createElement : void 0)) {\n throw \"Can't create DOM if document is not present!\";\n }\n\n element = document.createElement(this.name);\n ref = this.attributes();\n\n for (name in ref) {\n value = ref[name];\n element.setAttribute(name, value);\n }\n\n return element;\n }\n }], [{\n key: \"new\",\n value: function _new(name, publicId, options) {\n return new this(name, publicId, options);\n }\n }, {\n key: \"isResponsive\",\n value: function isResponsive(tag, responsiveClass) {\n var dataSrc;\n dataSrc = lodash_getData(tag, 'src-cache') || lodash_getData(tag, 'src');\n return lodash_hasClass(tag, responsiveClass) && /\\bw_auto\\b/.exec(dataSrc);\n }\n }]);\n\n return HtmlTag;\n}();\n\n;\n/**\n * Represent the given key and value as an HTML attribute.\n * @function toAttribute\n * @protected\n * @param {string} key - attribute name\n * @param {*|boolean} value - the value of the attribute. If the value is boolean `true`, return the key only.\n * @returns {string} the attribute\n *\n */\n\nfunction htmltag_toAttribute(key, value) {\n if (!value) {\n return void 0;\n } else if (value === true) {\n return key;\n } else {\n return \"\".concat(key, \"=\\\"\").concat(value, \"\\\"\");\n }\n}\n/**\n * If given value is a string, replaces quotes with character entities (", ')\n * @param value - value to change\n * @returns {*} changed value\n */\n\n\nfunction escapeQuotes(value) {\n return isString_root_isString_default()(value) ? value.replace('\"', '"').replace(\"'\", ''') : value;\n}\n\n/* harmony default export */ var htmltag = (htmltag_HtmlTag);\n// CONCATENATED MODULE: ./src/url.js\nvar _excluded = [\"placeholder\", \"accessibility\"];\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n\n\n\n\n\n\n/**\n * Adds protocol, host, pathname prefixes to given string\n * @param str\n * @returns {string}\n */\n\nfunction makeUrl(str) {\n var prefix = document.location.protocol + '//' + document.location.host;\n\n if (str[0] === '?') {\n prefix += document.location.pathname;\n } else if (str[0] !== '/') {\n prefix += document.location.pathname.replace(/\\/[^\\/]*$/, '/');\n }\n\n return prefix + str;\n}\n/**\n * Check is given string is a url\n * @param str\n * @returns {boolean}\n */\n\n\nfunction isUrl(str) {\n return str ? !!str.match(/^https?:\\//) : false;\n} // Produce a number between 1 and 5 to be used for cdn sub domains designation\n\n\nfunction cdnSubdomainNumber(publicId) {\n return src_crc32(publicId) % 5 + 1;\n}\n/**\n * Removes signature from options and returns the signature\n * Makes sure signature is empty or of this format: s--signature--\n * @param {object} options\n * @returns {string} the formatted signature\n */\n\n\nfunction handleSignature(options) {\n var signature = options.signature;\n var isFormatted = !signature || signature.indexOf('s--') === 0 && signature.substr(-2) === '--';\n delete options.signature;\n return isFormatted ? signature : \"s--\".concat(signature, \"--\");\n}\n/**\n * Create the URL prefix for Cloudinary resources.\n * @param {string} publicId the resource public ID\n * @param {object} options additional options\n * @param {string} options.cloud_name - the cloud name.\n * @param {boolean} [options.cdn_subdomain=false] - Whether to automatically build URLs with\n * multiple CDN sub-domains.\n * @param {string} [options.private_cdn] - Boolean (default: false). Should be set to true for Advanced plan's users\n * that have a private CDN distribution.\n * @param {string} [options.protocol=\"http://\"] - the URI protocol to use. If options.secure is true,\n * the value is overridden to \"https://\"\n * @param {string} [options.secure_distribution] - The domain name of the CDN distribution to use for building HTTPS URLs.\n * Relevant only for Advanced plan's users that have a private CDN distribution.\n * @param {string} [options.cname] - Custom domain name to use for building HTTP URLs.\n * Relevant only for Advanced plan's users that have a private CDN distribution and a custom CNAME.\n * @param {boolean} [options.secure_cdn_subdomain=true] - When options.secure is true and this parameter is false,\n * the subdomain is set to \"res\".\n * @param {boolean} [options.secure=false] - Force HTTPS URLs of images even if embedded in non-secure HTTP pages.\n * When this value is true, options.secure_distribution will be used as host if provided, and options.protocol is set\n * to \"https://\".\n * @returns {string} the URL prefix for the resource.\n * @private\n */\n\n\nfunction handlePrefix(publicId, options) {\n if (options.cloud_name && options.cloud_name[0] === '/') {\n return '/res' + options.cloud_name;\n } // defaults\n\n\n var protocol = \"http://\";\n var cdnPart = \"\";\n var subdomain = \"res\";\n var host = \".cloudinary.com\";\n var path = \"/\" + options.cloud_name; // modifications\n\n if (options.protocol) {\n protocol = options.protocol + '//';\n }\n\n if (options.private_cdn) {\n cdnPart = options.cloud_name + \"-\";\n path = \"\";\n }\n\n if (options.cdn_subdomain) {\n subdomain = \"res-\" + cdnSubdomainNumber(publicId);\n }\n\n if (options.secure) {\n protocol = \"https://\";\n\n if (options.secure_cdn_subdomain === false) {\n subdomain = \"res\";\n }\n\n if (options.secure_distribution != null && options.secure_distribution !== OLD_AKAMAI_SHARED_CDN && options.secure_distribution !== SHARED_CDN) {\n cdnPart = \"\";\n subdomain = \"\";\n host = options.secure_distribution;\n }\n } else if (options.cname) {\n protocol = \"http://\";\n cdnPart = \"\";\n subdomain = options.cdn_subdomain ? 'a' + (src_crc32(publicId) % 5 + 1) + '.' : '';\n host = options.cname;\n }\n\n return [protocol, cdnPart, subdomain, host, path].join(\"\");\n}\n/**\n * Return the resource type and action type based on the given configuration\n * @function Cloudinary#handleResourceType\n * @param {Object|string} resource_type\n * @param {string} [type='upload']\n * @param {string} [url_suffix]\n * @param {boolean} [use_root_path]\n * @param {boolean} [shorten]\n * @returns {string} resource_type/type\n * @ignore\n */\n\n\nfunction handleResourceType(_ref) {\n var _ref$resource_type = _ref.resource_type,\n resource_type = _ref$resource_type === void 0 ? \"image\" : _ref$resource_type,\n _ref$type = _ref.type,\n type = _ref$type === void 0 ? \"upload\" : _ref$type,\n url_suffix = _ref.url_suffix,\n use_root_path = _ref.use_root_path,\n shorten = _ref.shorten;\n var options,\n resourceType = resource_type;\n\n if (isPlainObject_root_isPlainObject_default()(resourceType)) {\n options = resourceType;\n resourceType = options.resource_type;\n type = options.type;\n shorten = options.shorten;\n }\n\n if (type == null) {\n type = 'upload';\n }\n\n if (url_suffix != null) {\n resourceType = SEO_TYPES[\"\".concat(resourceType, \"/\").concat(type)];\n type = null;\n\n if (resourceType == null) {\n throw new Error(\"URL Suffix only supported for \".concat(Object.keys(SEO_TYPES).join(', ')));\n }\n }\n\n if (use_root_path) {\n if (resourceType === 'image' && type === 'upload' || resourceType === \"images\") {\n resourceType = null;\n type = null;\n } else {\n throw new Error(\"Root path only supported for image/upload\");\n }\n }\n\n if (shorten && resourceType === 'image' && type === 'upload') {\n resourceType = 'iu';\n type = null;\n }\n\n return [resourceType, type].join(\"/\");\n}\n/**\n * Encode publicId\n * @param publicId\n * @returns {string} encoded publicId\n */\n\n\nfunction encodePublicId(publicId) {\n return encodeURIComponent(publicId).replace(/%3A/g, ':').replace(/%2F/g, '/');\n}\n/**\n * Encode and format publicId\n * @param publicId\n * @param options\n * @returns {string} publicId\n */\n\n\nfunction formatPublicId(publicId, options) {\n if (isUrl(publicId)) {\n publicId = encodePublicId(publicId);\n } else {\n try {\n // Make sure publicId is URI encoded.\n publicId = decodeURIComponent(publicId);\n } catch (error) {}\n\n publicId = encodePublicId(publicId);\n\n if (options.url_suffix) {\n publicId = publicId + '/' + options.url_suffix;\n }\n\n if (options.format) {\n if (!options.trust_public_id) {\n publicId = publicId.replace(/\\.(jpg|png|gif|webp)$/, '');\n }\n\n publicId = publicId + '.' + options.format;\n }\n }\n\n return publicId;\n}\n/**\n * Get any error with url options\n * @param options\n * @returns {string} if error, otherwise return undefined\n */\n\n\nfunction validate(options) {\n var cloud_name = options.cloud_name,\n url_suffix = options.url_suffix;\n\n if (!cloud_name) {\n return 'Unknown cloud_name';\n }\n\n if (url_suffix && url_suffix.match(/[\\.\\/]/)) {\n return 'url_suffix should not include . or /';\n }\n}\n/**\n * Get version part of the url\n * @param publicId\n * @param options\n * @returns {string}\n */\n\n\nfunction handleVersion(publicId, options) {\n // force_version param means to make sure there is a version in the url (Default is true)\n var isForceVersion = options.force_version || typeof options.force_version === 'undefined'; // Is version included in publicId or in options, or publicId is a url (doesn't need version)\n\n var isVersionExist = publicId.indexOf('/') < 0 || publicId.match(/^v[0-9]+/) || isUrl(publicId) || options.version;\n\n if (isForceVersion && !isVersionExist) {\n options.version = 1;\n }\n\n return options.version ? \"v\".concat(options.version) : '';\n}\n/**\n * Get final transformation component for url string\n * @param options\n * @returns {string}\n */\n\n\nfunction handleTransformation(options) {\n var _ref2 = options || {},\n placeholder = _ref2.placeholder,\n accessibility = _ref2.accessibility,\n otherOptions = _objectWithoutProperties(_ref2, _excluded);\n\n var result = new src_transformation(otherOptions); // Append accessibility transformations\n\n if (accessibility && ACCESSIBILITY_MODES[accessibility]) {\n result.chain().effect(ACCESSIBILITY_MODES[accessibility]);\n } // Append placeholder transformations\n\n\n if (placeholder) {\n if (placeholder === \"predominant-color\" && result.getValue('width') && result.getValue('height')) {\n placeholder += '-pixel';\n }\n\n var placeholderTransformations = PLACEHOLDER_IMAGE_MODES[placeholder] || PLACEHOLDER_IMAGE_MODES.blur;\n placeholderTransformations.forEach(function (t) {\n return result.chain().transformation(t);\n });\n }\n\n return result.serialize();\n}\n/**\n * If type is 'fetch', update publicId to be a url\n * @param publicId\n * @param type\n * @returns {string}\n */\n\n\nfunction preparePublicId(publicId, _ref3) {\n var type = _ref3.type;\n return !isUrl(publicId) && type === 'fetch' ? makeUrl(publicId) : publicId;\n}\n/**\n * Generate url string\n * @param publicId\n * @param options\n * @returns {string} final url\n */\n\n\nfunction urlString(publicId, options) {\n if (isUrl(publicId) && (options.type === 'upload' || options.type === 'asset')) {\n return publicId;\n }\n\n var version = handleVersion(publicId, options);\n var transformationString = handleTransformation(options);\n var prefix = handlePrefix(publicId, options);\n var signature = handleSignature(options);\n var resourceType = handleResourceType(options);\n publicId = formatPublicId(publicId, options);\n return compact_root_compact_default()([prefix, resourceType, signature, transformationString, version, publicId]).join('/').replace(/([^:])\\/+/g, '$1/') // replace '///' with '//'\n .replace(' ', '%20');\n}\n/**\n * Merge options and config with defaults\n * update options fetch_format according to 'type' param\n * @param options\n * @param config\n * @returns {*} updated options\n */\n\n\nfunction prepareOptions(options, config) {\n if (options instanceof src_transformation) {\n options = options.toOptions();\n }\n\n options = defaults({}, options, config, DEFAULT_IMAGE_PARAMS);\n\n if (options.type === 'fetch') {\n options.fetch_format = options.fetch_format || options.format;\n }\n\n return options;\n}\n/**\n * Generates a URL for any asset in your Media library.\n * @function url\n * @ignore\n * @param {string} publicId - The public ID of the media asset.\n * @param {Object} [options={}] - The {@link Transformation} parameters to include in the URL.\n * @param {object} [config={}] - URL configuration parameters\n * @param {type} [options.type='upload'] - The asset's storage type.\n * For details on all fetch types, see\n * Fetch types.\n * @param {Object} [options.resource_type='image'] - The type of asset.

Possible values:
\n * - `image`
\n * - `video`
\n * - `raw`\n * @param {signature} [options.signature='s--12345678--'] - The signature component of a\n * signed delivery URL of the format: /s--SIGNATURE--/.\n * For details on signatures, see\n * Signatures.\n * @return {string} The media asset URL.\n * @see \n * Available image transformations\n * @see \n * Available video transformations\n */\n\n\nfunction url_url(publicId) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n if (!publicId) {\n return publicId;\n }\n\n options = prepareOptions(options, config);\n publicId = preparePublicId(publicId, options);\n var error = validate(options);\n\n if (error) {\n throw error;\n }\n\n var resultUrl = urlString(publicId, options);\n\n if (options.urlAnalytics) {\n var analyticsOptions = getAnalyticsOptions(options);\n var sdkAnalyticsSignature = getSDKAnalyticsSignature(analyticsOptions); // url might already have a '?' query param\n\n var appender = '?';\n\n if (resultUrl.indexOf('?') >= 0) {\n appender = '&';\n }\n\n resultUrl = \"\".concat(resultUrl).concat(appender, \"_a=\").concat(sdkAnalyticsSignature);\n }\n\n return resultUrl;\n}\n;\n// CONCATENATED MODULE: ./src/util/generateBreakpoints.js\nfunction generateBreakpoints_slicedToArray(arr, i) { return generateBreakpoints_arrayWithHoles(arr) || generateBreakpoints_iterableToArrayLimit(arr, i) || generateBreakpoints_unsupportedIterableToArray(arr, i) || generateBreakpoints_nonIterableRest(); }\n\nfunction generateBreakpoints_nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction generateBreakpoints_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return generateBreakpoints_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return generateBreakpoints_arrayLikeToArray(o, minLen); }\n\nfunction generateBreakpoints_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction generateBreakpoints_iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction generateBreakpoints_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n/**\n * Helper function. Gets or populates srcset breakpoints using provided parameters\n * Either the breakpoints or min_width, max_width, max_images must be provided.\n *\n * @private\n * @param {srcset} srcset Options with either `breakpoints` or `min_width`, `max_width`, and `max_images`\n *\n * @return {number[]} Array of breakpoints\n *\n */\nfunction generateBreakpoints(srcset) {\n var breakpoints = srcset.breakpoints || [];\n\n if (breakpoints.length) {\n return breakpoints;\n }\n\n var _map = [srcset.min_width, srcset.max_width, srcset.max_images].map(Number),\n _map2 = generateBreakpoints_slicedToArray(_map, 3),\n min_width = _map2[0],\n max_width = _map2[1],\n max_images = _map2[2];\n\n if ([min_width, max_width, max_images].some(isNaN)) {\n throw 'Either (min_width, max_width, max_images) ' + 'or breakpoints must be provided to the image srcset attribute';\n }\n\n if (min_width > max_width) {\n throw 'min_width must be less than max_width';\n }\n\n if (max_images <= 0) {\n throw 'max_images must be a positive integer';\n } else if (max_images === 1) {\n min_width = max_width;\n }\n\n var stepSize = Math.ceil((max_width - min_width) / Math.max(max_images - 1, 1));\n\n for (var current = min_width; current < max_width; current += stepSize) {\n breakpoints.push(current);\n }\n\n breakpoints.push(max_width);\n return breakpoints;\n}\n// CONCATENATED MODULE: ./src/util/srcsetUtils.js\n\nvar srcsetUtils_isEmpty = isEmpty;\n\n\n\n/**\n * Options used to generate the srcset attribute.\n * @typedef {object} srcset\n * @property {(number[]|string[])} [breakpoints] An array of breakpoints.\n * @property {number} [min_width] Minimal width of the srcset images.\n * @property {number} [max_width] Maximal width of the srcset images.\n * @property {number} [max_images] Number of srcset images to generate.\n * @property {object|string} [transformation] The transformation to use in the srcset urls.\n * @property {boolean} [sizes] Whether to calculate and add the sizes attribute.\n */\n\n/**\n * Helper function. Generates a single srcset item url\n *\n * @private\n * @param {string} public_id Public ID of the resource.\n * @param {number} width Width in pixels of the srcset item.\n * @param {object|string} transformation\n * @param {object} options Additional options.\n *\n * @return {string} Resulting URL of the item\n */\n\nfunction scaledUrl(public_id, width, transformation) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var configParams = extractUrlParams(options);\n transformation = transformation || options;\n configParams.raw_transformation = new src_transformation([merge_root_merge_default.a({}, transformation), {\n crop: 'scale',\n width: width\n }]).toString();\n return url_url(public_id, configParams);\n}\n/**\n * If cache is enabled, get the breakpoints from the cache. If the values were not found in the cache,\n * or cache is not enabled, generate the values.\n * @param {srcset} srcset The srcset configuration parameters\n * @param {string} public_id\n * @param {object} options\n * @return {*|Array}\n */\n\nfunction getOrGenerateBreakpoints(public_id) {\n var srcset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return generateBreakpoints(srcset);\n}\n/**\n * Helper function. Generates srcset attribute value of the HTML img tag\n * @private\n *\n * @param {string} public_id Public ID of the resource\n * @param {number[]} breakpoints An array of breakpoints (in pixels)\n * @param {object} transformation The transformation\n * @param {object} options Includes html tag options, transformation options\n * @return {string} Resulting srcset attribute value\n */\n\nfunction generateSrcsetAttribute(public_id, breakpoints, transformation, options) {\n options = cloneDeep_root_cloneDeep_default.a(options);\n patchFetchFormat(options);\n return breakpoints.map(function (width) {\n return \"\".concat(scaledUrl(public_id, width, transformation, options), \" \").concat(width, \"w\");\n }).join(', ');\n}\n/**\n * Helper function. Generates sizes attribute value of the HTML img tag\n * @private\n * @param {number[]} breakpoints An array of breakpoints.\n * @return {string} Resulting sizes attribute value\n */\n\nfunction generateSizesAttribute(breakpoints) {\n if (breakpoints == null) {\n return '';\n }\n\n return breakpoints.map(function (width) {\n return \"(max-width: \".concat(width, \"px) \").concat(width, \"px\");\n }).join(', ');\n}\n/**\n * Helper function. Generates srcset and sizes attributes of the image tag\n *\n * Generated attributes are added to attributes argument\n *\n * @private\n * @param {string} publicId The public ID of the resource\n * @param {object} attributes Existing HTML attributes.\n * @param {srcset} srcsetData\n * @param {object} options Additional options.\n *\n * @return array The responsive attributes\n */\n\nfunction generateImageResponsiveAttributes(publicId) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var srcsetData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n // Create both srcset and sizes here to avoid fetching breakpoints twice\n var responsiveAttributes = {};\n\n if (srcsetUtils_isEmpty(srcsetData)) {\n return responsiveAttributes;\n }\n\n var generateSizes = !attributes.sizes && srcsetData.sizes === true;\n var generateSrcset = !attributes.srcset;\n\n if (generateSrcset || generateSizes) {\n var breakpoints = getOrGenerateBreakpoints(publicId, srcsetData, options);\n\n if (generateSrcset) {\n var transformation = srcsetData.transformation;\n var srcsetAttr = generateSrcsetAttribute(publicId, breakpoints, transformation, options);\n\n if (!srcsetUtils_isEmpty(srcsetAttr)) {\n responsiveAttributes.srcset = srcsetAttr;\n }\n }\n\n if (generateSizes) {\n var sizesAttr = generateSizesAttribute(breakpoints);\n\n if (!srcsetUtils_isEmpty(sizesAttr)) {\n responsiveAttributes.sizes = sizesAttr;\n }\n }\n }\n\n return responsiveAttributes;\n}\n/**\n * Generate a media query\n *\n * @private\n * @param {object} options configuration options\n * @param {number|string} options.min_width\n * @param {number|string} options.max_width\n * @return {string} a media query string\n */\n\nfunction generateMediaAttr(options) {\n var mediaQuery = [];\n\n if (options != null) {\n if (options.min_width != null) {\n mediaQuery.push(\"(min-width: \".concat(options.min_width, \"px)\"));\n }\n\n if (options.max_width != null) {\n mediaQuery.push(\"(max-width: \".concat(options.max_width, \"px)\"));\n }\n }\n\n return mediaQuery.join(' and ');\n}\nvar srcsetUrl = scaledUrl;\n// CONCATENATED MODULE: ./src/tags/imagetag.js\nfunction imagetag_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { imagetag_typeof = function _typeof(obj) { return typeof obj; }; } else { imagetag_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return imagetag_typeof(obj); }\n\nfunction imagetag_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction imagetag_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction imagetag_createClass(Constructor, protoProps, staticProps) { if (protoProps) imagetag_defineProperties(Constructor.prototype, protoProps); if (staticProps) imagetag_defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction imagetag_get(target, property, receiver) { if (typeof Reflect !== \"undefined\" && Reflect.get) { imagetag_get = Reflect.get; } else { imagetag_get = function _get(target, property, receiver) { var base = imagetag_superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return imagetag_get(target, property, receiver || target); }\n\nfunction imagetag_superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = imagetag_getPrototypeOf(object); if (object === null) break; } return object; }\n\nfunction imagetag_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) imagetag_setPrototypeOf(subClass, superClass); }\n\nfunction imagetag_setPrototypeOf(o, p) { imagetag_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return imagetag_setPrototypeOf(o, p); }\n\nfunction imagetag_createSuper(Derived) { var hasNativeReflectConstruct = imagetag_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = imagetag_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = imagetag_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return imagetag_possibleConstructorReturn(this, result); }; }\n\nfunction imagetag_possibleConstructorReturn(self, call) { if (call && (imagetag_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return imagetag_assertThisInitialized(self); }\n\nfunction imagetag_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction imagetag_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction imagetag_getPrototypeOf(o) { imagetag_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return imagetag_getPrototypeOf(o); }\n\n/**\n * Image Tag\n * Depends on 'tags/htmltag', 'cloudinary'\n */\n\n\n\n\n/**\n * Creates an HTML (DOM) Image tag using Cloudinary as the source.\n * @constructor ImageTag\n * @extends HtmlTag\n * @param {string} [publicId]\n * @param {Object} [options]\n */\n\nvar imagetag_ImageTag = /*#__PURE__*/function (_HtmlTag) {\n imagetag_inherits(ImageTag, _HtmlTag);\n\n var _super = imagetag_createSuper(ImageTag);\n\n function ImageTag(publicId) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n imagetag_classCallCheck(this, ImageTag);\n\n return _super.call(this, \"img\", publicId, options);\n }\n /** @override */\n\n\n imagetag_createClass(ImageTag, [{\n key: \"closeTag\",\n value: function closeTag() {\n return \"\";\n }\n /** @override */\n\n }, {\n key: \"attributes\",\n value: function attributes() {\n var attr, options, srcAttribute;\n attr = imagetag_get(imagetag_getPrototypeOf(ImageTag.prototype), \"attributes\", this).call(this) || {};\n options = this.getOptions();\n var srcsetParam = this.getOption('srcset');\n var attributes = this.getOption('attributes') || {};\n var responsiveAttributes = {};\n\n if (isString_root_isString_default()(srcsetParam)) {\n responsiveAttributes.srcset = srcsetParam;\n } else {\n responsiveAttributes = generateImageResponsiveAttributes(this.publicId, attributes, srcsetParam, options);\n }\n\n if (!isEmpty(responsiveAttributes)) {\n delete options.width;\n delete options.height;\n }\n\n merge_root_merge_default()(attr, responsiveAttributes);\n srcAttribute = options.responsive && !options.client_hints ? 'data-src' : 'src';\n\n if (attr[srcAttribute] == null) {\n attr[srcAttribute] = url_url(this.publicId, this.getOptions());\n }\n\n return attr;\n }\n }]);\n\n return ImageTag;\n}(htmltag);\n\n;\n/* harmony default export */ var imagetag = (imagetag_ImageTag);\n// CONCATENATED MODULE: ./src/tags/sourcetag.js\nfunction sourcetag_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { sourcetag_typeof = function _typeof(obj) { return typeof obj; }; } else { sourcetag_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return sourcetag_typeof(obj); }\n\nfunction sourcetag_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction sourcetag_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction sourcetag_createClass(Constructor, protoProps, staticProps) { if (protoProps) sourcetag_defineProperties(Constructor.prototype, protoProps); if (staticProps) sourcetag_defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction sourcetag_get(target, property, receiver) { if (typeof Reflect !== \"undefined\" && Reflect.get) { sourcetag_get = Reflect.get; } else { sourcetag_get = function _get(target, property, receiver) { var base = sourcetag_superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return sourcetag_get(target, property, receiver || target); }\n\nfunction sourcetag_superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = sourcetag_getPrototypeOf(object); if (object === null) break; } return object; }\n\nfunction sourcetag_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) sourcetag_setPrototypeOf(subClass, superClass); }\n\nfunction sourcetag_setPrototypeOf(o, p) { sourcetag_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return sourcetag_setPrototypeOf(o, p); }\n\nfunction sourcetag_createSuper(Derived) { var hasNativeReflectConstruct = sourcetag_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = sourcetag_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = sourcetag_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return sourcetag_possibleConstructorReturn(this, result); }; }\n\nfunction sourcetag_possibleConstructorReturn(self, call) { if (call && (sourcetag_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return sourcetag_assertThisInitialized(self); }\n\nfunction sourcetag_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction sourcetag_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction sourcetag_getPrototypeOf(o) { sourcetag_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return sourcetag_getPrototypeOf(o); }\n\n/**\n * Image Tag\n * Depends on 'tags/htmltag', 'cloudinary'\n */\n\n\n\n\n/**\n * Creates an HTML (DOM) Image tag using Cloudinary as the source.\n * @constructor SourceTag\n * @extends HtmlTag\n * @param {string} [publicId]\n * @param {Object} [options]\n */\n\nvar sourcetag_SourceTag = /*#__PURE__*/function (_HtmlTag) {\n sourcetag_inherits(SourceTag, _HtmlTag);\n\n var _super = sourcetag_createSuper(SourceTag);\n\n function SourceTag(publicId) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n sourcetag_classCallCheck(this, SourceTag);\n\n return _super.call(this, \"source\", publicId, options);\n }\n /** @override */\n\n\n sourcetag_createClass(SourceTag, [{\n key: \"closeTag\",\n value: function closeTag() {\n return \"\";\n }\n /** @override */\n\n }, {\n key: \"attributes\",\n value: function attributes() {\n var srcsetParam = this.getOption('srcset');\n var attr = sourcetag_get(sourcetag_getPrototypeOf(SourceTag.prototype), \"attributes\", this).call(this) || {};\n var options = this.getOptions();\n merge_root_merge_default()(attr, generateImageResponsiveAttributes(this.publicId, attr, srcsetParam, options));\n\n if (!attr.srcset) {\n attr.srcset = url_url(this.publicId, options);\n }\n\n if (!attr.media && options.media) {\n attr.media = generateMediaAttr(options.media);\n }\n\n return attr;\n }\n }]);\n\n return SourceTag;\n}(htmltag);\n\n;\n/* harmony default export */ var sourcetag = (sourcetag_SourceTag);\n// CONCATENATED MODULE: ./src/tags/picturetag.js\nfunction picturetag_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { picturetag_typeof = function _typeof(obj) { return typeof obj; }; } else { picturetag_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return picturetag_typeof(obj); }\n\nfunction picturetag_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction picturetag_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction picturetag_createClass(Constructor, protoProps, staticProps) { if (protoProps) picturetag_defineProperties(Constructor.prototype, protoProps); if (staticProps) picturetag_defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction picturetag_get(target, property, receiver) { if (typeof Reflect !== \"undefined\" && Reflect.get) { picturetag_get = Reflect.get; } else { picturetag_get = function _get(target, property, receiver) { var base = picturetag_superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return picturetag_get(target, property, receiver || target); }\n\nfunction picturetag_superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = picturetag_getPrototypeOf(object); if (object === null) break; } return object; }\n\nfunction picturetag_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) picturetag_setPrototypeOf(subClass, superClass); }\n\nfunction picturetag_setPrototypeOf(o, p) { picturetag_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return picturetag_setPrototypeOf(o, p); }\n\nfunction picturetag_createSuper(Derived) { var hasNativeReflectConstruct = picturetag_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = picturetag_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = picturetag_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return picturetag_possibleConstructorReturn(this, result); }; }\n\nfunction picturetag_possibleConstructorReturn(self, call) { if (call && (picturetag_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return picturetag_assertThisInitialized(self); }\n\nfunction picturetag_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction picturetag_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction picturetag_getPrototypeOf(o) { picturetag_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return picturetag_getPrototypeOf(o); }\n\n\n\n\n\n\n\nvar picturetag_PictureTag = /*#__PURE__*/function (_HtmlTag) {\n picturetag_inherits(PictureTag, _HtmlTag);\n\n var _super = picturetag_createSuper(PictureTag);\n\n function PictureTag(publicId) {\n var _this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var sources = arguments.length > 2 ? arguments[2] : undefined;\n\n picturetag_classCallCheck(this, PictureTag);\n\n _this = _super.call(this, 'picture', publicId, options);\n _this.widthList = sources;\n return _this;\n }\n /** @override */\n\n\n picturetag_createClass(PictureTag, [{\n key: \"content\",\n value: function content() {\n var _this2 = this;\n\n return this.widthList.map(function (_ref) {\n var min_width = _ref.min_width,\n max_width = _ref.max_width,\n transformation = _ref.transformation;\n\n var options = _this2.getOptions();\n\n var sourceTransformation = new src_transformation(options);\n sourceTransformation.chain().fromOptions(typeof transformation === 'string' ? {\n raw_transformation: transformation\n } : transformation);\n options = extractUrlParams(options);\n options.media = {\n min_width: min_width,\n max_width: max_width\n };\n options.transformation = sourceTransformation;\n return new sourcetag(_this2.publicId, options).toHtml();\n }).join('') + new imagetag(this.publicId, this.getOptions()).toHtml();\n }\n /** @override */\n\n }, {\n key: \"attributes\",\n value: function attributes() {\n var attr = picturetag_get(picturetag_getPrototypeOf(PictureTag.prototype), \"attributes\", this).call(this);\n\n delete attr.width;\n delete attr.height;\n return attr;\n }\n /** @override */\n\n }, {\n key: \"closeTag\",\n value: function closeTag() {\n return \"\";\n }\n }]);\n\n return PictureTag;\n}(htmltag);\n\n;\n/* harmony default export */ var picturetag = (picturetag_PictureTag);\n// CONCATENATED MODULE: ./src/tags/videotag.js\nfunction videotag_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { videotag_typeof = function _typeof(obj) { return typeof obj; }; } else { videotag_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return videotag_typeof(obj); }\n\nfunction videotag_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction videotag_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction videotag_createClass(Constructor, protoProps, staticProps) { if (protoProps) videotag_defineProperties(Constructor.prototype, protoProps); if (staticProps) videotag_defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction videotag_get(target, property, receiver) { if (typeof Reflect !== \"undefined\" && Reflect.get) { videotag_get = Reflect.get; } else { videotag_get = function _get(target, property, receiver) { var base = videotag_superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return videotag_get(target, property, receiver || target); }\n\nfunction videotag_superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = videotag_getPrototypeOf(object); if (object === null) break; } return object; }\n\nfunction videotag_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) videotag_setPrototypeOf(subClass, superClass); }\n\nfunction videotag_setPrototypeOf(o, p) { videotag_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return videotag_setPrototypeOf(o, p); }\n\nfunction videotag_createSuper(Derived) { var hasNativeReflectConstruct = videotag_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = videotag_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = videotag_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return videotag_possibleConstructorReturn(this, result); }; }\n\nfunction videotag_possibleConstructorReturn(self, call) { if (call && (videotag_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return videotag_assertThisInitialized(self); }\n\nfunction videotag_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction videotag_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction videotag_getPrototypeOf(o) { videotag_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return videotag_getPrototypeOf(o); }\n\n/**\n * Video Tag\n * Depends on 'tags/htmltag', 'util', 'cloudinary'\n */\n\n\n\n\nvar VIDEO_TAG_PARAMS = ['source_types', 'source_transformation', 'fallback_content', 'poster', 'sources'];\nvar videotag_DEFAULT_VIDEO_SOURCE_TYPES = ['webm', 'mp4', 'ogv'];\nvar videotag_DEFAULT_POSTER_OPTIONS = {\n format: 'jpg',\n resource_type: 'video'\n};\n/**\n * Creates an HTML (DOM) Video tag using Cloudinary as the source.\n * @constructor VideoTag\n * @extends HtmlTag\n * @param {string} [publicId]\n * @param {Object} [options]\n */\n\nvar videotag_VideoTag = /*#__PURE__*/function (_HtmlTag) {\n videotag_inherits(VideoTag, _HtmlTag);\n\n var _super = videotag_createSuper(VideoTag);\n\n function VideoTag(publicId) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n videotag_classCallCheck(this, VideoTag);\n\n options = defaults({}, options, DEFAULT_VIDEO_PARAMS);\n return _super.call(this, \"video\", publicId.replace(/\\.(mp4|ogv|webm)$/, ''), options);\n }\n /**\n * Set the transformation to apply on each source\n * @function VideoTag#setSourceTransformation\n * @param {Object} an object with pairs of source type and source transformation\n * @returns {VideoTag} Returns this instance for chaining purposes.\n */\n\n\n videotag_createClass(VideoTag, [{\n key: \"setSourceTransformation\",\n value: function setSourceTransformation(value) {\n this.transformation().sourceTransformation(value);\n return this;\n }\n /**\n * Set the source types to include in the video tag\n * @function VideoTag#setSourceTypes\n * @param {Array} an array of source types\n * @returns {VideoTag} Returns this instance for chaining purposes.\n */\n\n }, {\n key: \"setSourceTypes\",\n value: function setSourceTypes(value) {\n this.transformation().sourceTypes(value);\n return this;\n }\n /**\n * Set the poster to be used in the video tag\n * @function VideoTag#setPoster\n * @param {string|Object} value\n * - string: a URL to use for the poster\n * - Object: transformation parameters to apply to the poster. May optionally include a public_id to use instead of the video public_id.\n * @returns {VideoTag} Returns this instance for chaining purposes.\n */\n\n }, {\n key: \"setPoster\",\n value: function setPoster(value) {\n this.transformation().poster(value);\n return this;\n }\n /**\n * Set the content to use as fallback in the video tag\n * @function VideoTag#setFallbackContent\n * @param {string} value - the content to use, in HTML format\n * @returns {VideoTag} Returns this instance for chaining purposes.\n */\n\n }, {\n key: \"setFallbackContent\",\n value: function setFallbackContent(value) {\n this.transformation().fallbackContent(value);\n return this;\n }\n }, {\n key: \"content\",\n value: function content() {\n var _this = this;\n\n var sourceTypes = this.transformation().getValue('source_types');\n var sourceTransformation = this.transformation().getValue('source_transformation');\n var fallback = this.transformation().getValue('fallback_content');\n var sources = this.getOption('sources');\n var innerTags = [];\n\n if (isArray_root_isArray_default()(sources) && !isEmpty(sources)) {\n innerTags = sources.map(function (source) {\n var src = url_url(_this.publicId, defaults({}, source.transformations || {}, {\n resource_type: 'video',\n format: source.type\n }), _this.getOptions());\n return _this.createSourceTag(src, source.type, source.codecs);\n });\n } else {\n if (isEmpty(sourceTypes)) {\n sourceTypes = videotag_DEFAULT_VIDEO_SOURCE_TYPES;\n }\n\n if (isArray_root_isArray_default()(sourceTypes)) {\n innerTags = sourceTypes.map(function (srcType) {\n var src = url_url(_this.publicId, defaults({}, sourceTransformation[srcType] || {}, {\n resource_type: 'video',\n format: srcType\n }), _this.getOptions());\n return _this.createSourceTag(src, srcType);\n });\n }\n }\n\n return innerTags.join('') + fallback;\n }\n }, {\n key: \"attributes\",\n value: function attributes() {\n var sourceTypes = this.getOption('source_types');\n var poster = this.getOption('poster');\n\n if (poster === undefined) {\n poster = {};\n }\n\n if (isPlainObject_root_isPlainObject_default()(poster)) {\n var defaultOptions = poster.public_id != null ? DEFAULT_IMAGE_PARAMS : videotag_DEFAULT_POSTER_OPTIONS;\n poster = url_url(poster.public_id || this.publicId, defaults({}, poster, defaultOptions, this.getOptions()));\n }\n\n var attr = videotag_get(videotag_getPrototypeOf(VideoTag.prototype), \"attributes\", this).call(this) || {};\n attr = omit(attr, VIDEO_TAG_PARAMS);\n var sources = this.getOption('sources'); // In case of empty sourceTypes - fallback to default source types is used.\n\n var hasSourceTags = !isEmpty(sources) || isEmpty(sourceTypes) || isArray_root_isArray_default()(sourceTypes);\n\n if (!hasSourceTags) {\n attr[\"src\"] = url_url(this.publicId, this.getOptions(), {\n resource_type: 'video',\n format: sourceTypes\n });\n }\n\n if (poster != null) {\n attr[\"poster\"] = poster;\n }\n\n return attr;\n }\n }, {\n key: \"createSourceTag\",\n value: function createSourceTag(src, sourceType) {\n var codecs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n var mimeType = null;\n\n if (!isEmpty(sourceType)) {\n var videoType = sourceType === 'ogv' ? 'ogg' : sourceType;\n mimeType = 'video/' + videoType;\n\n if (!isEmpty(codecs)) {\n var codecsStr = isArray_root_isArray_default()(codecs) ? codecs.join(', ') : codecs;\n mimeType += '; codecs=' + codecsStr;\n }\n }\n\n return \"\";\n }\n }]);\n\n return VideoTag;\n}(htmltag);\n\n/* harmony default export */ var videotag = (videotag_VideoTag);\n// CONCATENATED MODULE: ./src/tags/clienthintsmetatag.js\nfunction clienthintsmetatag_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { clienthintsmetatag_typeof = function _typeof(obj) { return typeof obj; }; } else { clienthintsmetatag_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return clienthintsmetatag_typeof(obj); }\n\nfunction clienthintsmetatag_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction clienthintsmetatag_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction clienthintsmetatag_createClass(Constructor, protoProps, staticProps) { if (protoProps) clienthintsmetatag_defineProperties(Constructor.prototype, protoProps); if (staticProps) clienthintsmetatag_defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction clienthintsmetatag_inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) clienthintsmetatag_setPrototypeOf(subClass, superClass); }\n\nfunction clienthintsmetatag_setPrototypeOf(o, p) { clienthintsmetatag_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return clienthintsmetatag_setPrototypeOf(o, p); }\n\nfunction clienthintsmetatag_createSuper(Derived) { var hasNativeReflectConstruct = clienthintsmetatag_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = clienthintsmetatag_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = clienthintsmetatag_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return clienthintsmetatag_possibleConstructorReturn(this, result); }; }\n\nfunction clienthintsmetatag_possibleConstructorReturn(self, call) { if (call && (clienthintsmetatag_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return clienthintsmetatag_assertThisInitialized(self); }\n\nfunction clienthintsmetatag_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction clienthintsmetatag_isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction clienthintsmetatag_getPrototypeOf(o) { clienthintsmetatag_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return clienthintsmetatag_getPrototypeOf(o); }\n\n/**\n * Image Tag\n * Depends on 'tags/htmltag', 'cloudinary'\n */\n\n\n/**\n * Creates an HTML (DOM) Meta tag that enables Client-Hints for the HTML page.
\n * See\n * Automating responsive images with Client Hints for more details.\n * @constructor ClientHintsMetaTag\n * @extends HtmlTag\n * @param {object} options\n * @example\n * tag = new ClientHintsMetaTag()\n * //returns: \n */\n\nvar clienthintsmetatag_ClientHintsMetaTag = /*#__PURE__*/function (_HtmlTag) {\n clienthintsmetatag_inherits(ClientHintsMetaTag, _HtmlTag);\n\n var _super = clienthintsmetatag_createSuper(ClientHintsMetaTag);\n\n function ClientHintsMetaTag(options) {\n clienthintsmetatag_classCallCheck(this, ClientHintsMetaTag);\n\n return _super.call(this, 'meta', void 0, assign_root_assign_default()({\n \"http-equiv\": \"Accept-CH\",\n content: \"DPR, Viewport-Width, Width\"\n }, options));\n }\n /** @override */\n\n\n clienthintsmetatag_createClass(ClientHintsMetaTag, [{\n key: \"closeTag\",\n value: function closeTag() {\n return \"\";\n }\n }]);\n\n return ClientHintsMetaTag;\n}(htmltag);\n\n;\n/* harmony default export */ var clienthintsmetatag = (clienthintsmetatag_ClientHintsMetaTag);\n// CONCATENATED MODULE: ./src/util/parse/normalizeToArray.js\nfunction normalizeToArray_toConsumableArray(arr) { return normalizeToArray_arrayWithoutHoles(arr) || normalizeToArray_iterableToArray(arr) || normalizeToArray_unsupportedIterableToArray(arr) || normalizeToArray_nonIterableSpread(); }\n\nfunction normalizeToArray_nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction normalizeToArray_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return normalizeToArray_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return normalizeToArray_arrayLikeToArray(o, minLen); }\n\nfunction normalizeToArray_iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\nfunction normalizeToArray_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return normalizeToArray_arrayLikeToArray(arr); }\n\nfunction normalizeToArray_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\n/**\n * @desc normalize elements, support a single element, array or nodelist, always outputs array\n * @param elements\n * @returns {[]}\n */\n\nfunction normalizeToArray(elements) {\n if (isArray_root_isArray_default()(elements)) {\n return elements;\n } else if (elements.constructor.name === \"NodeList\") {\n return normalizeToArray_toConsumableArray(elements); // ensure an array is always returned, even if nodelist\n } else if (isString_root_isString_default()(elements)) {\n return Array.prototype.slice.call(document.querySelectorAll(elements), 0);\n } else {\n return [elements];\n }\n}\n// CONCATENATED MODULE: ./src/util/features/transparentVideo/mountCloudinaryVideoTag.js\n/**\n * @param {HTMLElement} htmlElContainer\n * @param {object} clInstance cloudinary instance\n * @param {string} publicId\n * @param {object} options - TransformationOptions\n * @returns Promise\n */\nfunction mountCloudinaryVideoTag(htmlElContainer, clInstance, publicId, options) {\n return new Promise(function (resolve, reject) {\n htmlElContainer.innerHTML = clInstance.videoTag(publicId, options).toHtml(); // All videos under the html container must have a width of 100%, or they might overflow from the container\n\n var cloudinaryVideoElement = htmlElContainer.querySelector('.cld-transparent-video');\n cloudinaryVideoElement.style.width = '100%';\n resolve(htmlElContainer);\n });\n}\n\n/* harmony default export */ var transparentVideo_mountCloudinaryVideoTag = (mountCloudinaryVideoTag);\n// CONCATENATED MODULE: ./src/util/transformations/addFlag.js\n/**\n * @description - Function will push a flag to incoming options\n * @param {{transformation} | {...transformation}} options - These options are the same options provided to all our SDK methods\n * We expect options to either be the transformation itself, or an object containing\n * an array of transformations\n *\n * @param {string} flag\n * @returns the mutated options object\n */\nfunction addFlagToOptions(options, flag) {\n // Do we have transformation\n if (options.transformation) {\n options.transformation.push({\n flags: [flag]\n });\n } else {\n // no transformation\n // ensure the flags are extended\n if (!options.flags) {\n options.flags = [];\n }\n\n if (typeof options.flags === 'string') {\n options.flags = [options.flags];\n }\n\n options.flags.push(flag);\n }\n}\n\n/* harmony default export */ var addFlag = (addFlagToOptions);\n// CONCATENATED MODULE: ./src/util/features/transparentVideo/enforceOptionsForTransparentVideo.js\n\n\n/**\n * @description - Enforce option structure, sets defaults and ensures alpha flag exists\n * @param options {TransformationOptions}\n */\n\nfunction enforceOptionsForTransparentVideo(options) {\n options.autoplay = true;\n options.muted = true;\n options.controls = false;\n options.max_timeout_ms = options.max_timeout_ms || DEFAULT_TIMEOUT_MS;\n options[\"class\"] = options[\"class\"] || '';\n options[\"class\"] += ' cld-transparent-video';\n options.externalLibraries = options.externalLibraries || {};\n\n if (!options.externalLibraries.seeThru) {\n options.externalLibraries.seeThru = DEFAULT_EXTERNAL_LIBRARIES.seeThru;\n } // ensure there's an alpha transformation present\n // this is a non documented internal flag\n\n\n addFlag(options, 'alpha');\n}\n\n/* harmony default export */ var transparentVideo_enforceOptionsForTransparentVideo = (enforceOptionsForTransparentVideo);\n// CONCATENATED MODULE: ./src/util/xhr/loadScript.js\n/**\n * @description - Given a string URL, this function will load the script and resolve the promise.\n * The function doesn't resolve any value,\n * this is not a UMD loader where you can get your library name back.\n * @param scriptURL {string}\n * @param {number} max_timeout_ms - Time to elapse before promise is rejected\n * @param isAlreadyLoaded {boolean} if true, the loadScript resolves immediately\n * this is used for multiple invocations - prevents the script from being loaded multiple times\n * @return {Promise}\n */\nfunction loadScript(scriptURL, max_timeout_ms, isAlreadyLoaded) {\n return new Promise(function (resolve, reject) {\n if (isAlreadyLoaded) {\n resolve();\n } else {\n var scriptTag = document.createElement('script');\n scriptTag.src = scriptURL;\n var timerID = setTimeout(function () {\n reject({\n status: 'error',\n message: \"Timeout loading script \".concat(scriptURL)\n });\n }, max_timeout_ms); // 10 seconds for timeout\n\n scriptTag.onerror = function () {\n clearTimeout(timerID); // clear timeout reject error\n\n reject({\n status: 'error',\n message: \"Error loading \".concat(scriptURL)\n });\n };\n\n scriptTag.onload = function () {\n clearTimeout(timerID); // clear timeout reject error\n\n resolve();\n };\n\n document.head.appendChild(scriptTag);\n }\n });\n}\n\n/* harmony default export */ var xhr_loadScript = (loadScript);\n// CONCATENATED MODULE: ./src/util/xhr/getBlobFromURL.js\n/**\n * @description Converts a URL to a BLOB URL\n * @param {string} urlToLoad\n * @param {number} max_timeout_ms - Time to elapse before promise is rejected\n * @return {Promise<{\n * status: 'success' | 'error'\n * message?: string,\n * payload: {\n * url: string\n * }\n * }>}\n */\nfunction getBlobFromURL(urlToLoad, max_timeout_ms) {\n return new Promise(function (resolve, reject) {\n var timerID = setTimeout(function () {\n reject({\n status: 'error',\n message: 'Timeout loading Blob URL'\n });\n }, max_timeout_ms);\n var xhr = new XMLHttpRequest();\n xhr.responseType = 'blob';\n\n xhr.onload = function (response) {\n clearTimeout(timerID); // clear timeout reject error\n\n resolve({\n status: 'success',\n payload: {\n blobURL: URL.createObjectURL(xhr.response)\n }\n });\n };\n\n xhr.onerror = function () {\n clearTimeout(timerID); // clear timeout reject error\n\n reject({\n status: 'error',\n message: 'Error loading Blob URL'\n });\n };\n\n xhr.open('GET', urlToLoad, true);\n xhr.send();\n });\n}\n\n/* harmony default export */ var xhr_getBlobFromURL = (getBlobFromURL);\n// CONCATENATED MODULE: ./src/util/features/transparentVideo/createHiddenVideoTag.js\n/**\n * @description Creates a hidden HTMLVideoElement with the specified videoOptions\n * @param {{autoplay, playsinline, loop, muted, poster, blobURL, videoURL }} videoOptions\n * @param {boolean} videoOptions.autoplay - autoplays the video if true\n * @param {string} videoOptions.blobURL - the blobURL to set as video.src\n * @param {string} videoOptions.videoURL - the original videoURL the user created (with transformations)\n * @return {HTMLVideoElement}\n */\nfunction createHiddenVideoTag(videoOptions) {\n var autoplay = videoOptions.autoplay,\n playsinline = videoOptions.playsinline,\n loop = videoOptions.loop,\n muted = videoOptions.muted,\n poster = videoOptions.poster,\n blobURL = videoOptions.blobURL,\n videoURL = videoOptions.videoURL;\n var el = document.createElement('video');\n el.style.visibility = 'hidden';\n el.position = 'absolute';\n el.x = 0;\n el.y = 0;\n el.src = blobURL;\n el.setAttribute('data-video-url', videoURL); // for debugging/testing\n\n autoplay && el.setAttribute('autoplay', autoplay);\n playsinline && el.setAttribute('playsinline', playsinline);\n loop && el.setAttribute('loop', loop);\n muted && el.setAttribute('muted', muted);\n muted && (el.muted = muted); // this is also needed for autoplay, on top of setAttribute\n\n poster && el.setAttribute('poster', poster); // Free memory at the end of the file loading.\n\n el.onload = function () {\n URL.revokeObjectURL(blobURL);\n };\n\n return el;\n}\n\n/* harmony default export */ var transparentVideo_createHiddenVideoTag = (createHiddenVideoTag);\n// CONCATENATED MODULE: ./src/util/features/transparentVideo/instantiateSeeThru.js\n/**\n * @description This function creates a new instanc eof seeThru (seeThru.create()) and returns a promise of the seeThru instance\n * @param {HTMLVideoElement} videoElement\n * @param {number} max_timeout_ms - Time to elapse before promise is rejected\n * @param {string} customClass - A classname to be added to the canvas element created by seeThru\n * @param {boolean} autoPlay\n * @return {Promise} SeeThru instance or rejection error\n */\nfunction instantiateSeeThru(videoElement, max_timeout_ms, customClass, autoPlay) {\n var _window = window,\n seeThru = _window.seeThru,\n setTimeout = _window.setTimeout,\n clearTimeout = _window.clearTimeout;\n return new Promise(function (resolve, reject) {\n var timerID = setTimeout(function () {\n reject({\n status: 'error',\n message: 'Timeout instantiating seeThru instance'\n });\n }, max_timeout_ms);\n\n if (seeThru) {\n var seeThruInstance = seeThru.create(videoElement).ready(function () {\n // clear timeout reject error\n clearTimeout(timerID); // force container width, else the canvas can overflow out\n\n var canvasElement = seeThruInstance.getCanvas();\n canvasElement.style.width = '100%';\n canvasElement.className += ' ' + customClass; // start the video if autoplay is set\n\n if (autoPlay) {\n seeThruInstance.play();\n }\n\n resolve(seeThruInstance);\n });\n } else {\n reject({\n status: 'error',\n message: 'Error instantiating seeThru instance'\n });\n }\n });\n}\n\n/* harmony default export */ var transparentVideo_instantiateSeeThru = (instantiateSeeThru);\n// CONCATENATED MODULE: ./src/util/features/transparentVideo/mountSeeThruCanvasTag.js\n\n\n\n\n/**\n *\n * @param {HTMLElement} htmlElContainer\n * @param {string} videoURL\n * @param {TransformationOptions} options\n * @return {Promise}\n */\n\nfunction mountSeeThruCanvasTag(htmlElContainer, videoURL, options) {\n var poster = options.poster,\n autoplay = options.autoplay,\n playsinline = options.playsinline,\n loop = options.loop,\n muted = options.muted;\n videoURL = videoURL + '.mp4'; // seeThru always uses mp4\n\n return new Promise(function (resolve, reject) {\n xhr_loadScript(options.externalLibraries.seeThru, options.max_timeout_ms, window.seeThru).then(function () {\n xhr_getBlobFromURL(videoURL, options.max_timeout_ms).then(function (_ref) {\n var payload = _ref.payload;\n var videoElement = transparentVideo_createHiddenVideoTag({\n blobURL: payload.blobURL,\n videoURL: videoURL,\n // for debugging/testing\n poster: poster,\n autoplay: autoplay,\n playsinline: playsinline,\n loop: loop,\n muted: muted\n });\n htmlElContainer.appendChild(videoElement);\n transparentVideo_instantiateSeeThru(videoElement, options.max_timeout_ms, options[\"class\"], options.autoplay).then(function () {\n resolve(htmlElContainer);\n })[\"catch\"](function (err) {\n reject(err);\n }); // catch for getBlobFromURL()\n })[\"catch\"](function (_ref2) {\n var status = _ref2.status,\n message = _ref2.message;\n reject({\n status: status,\n message: message\n });\n }); // catch for loadScript()\n })[\"catch\"](function (_ref3) {\n var status = _ref3.status,\n message = _ref3.message;\n reject({\n status: status,\n message: message\n });\n });\n });\n}\n\n/* harmony default export */ var transparentVideo_mountSeeThruCanvasTag = (mountSeeThruCanvasTag);\n// CONCATENATED MODULE: ./src/util/features/transparentVideo/checkSupportForTransparency.js\n/**\n * @return {Promise} - Whether the browser supports transparent videos or not\n */\nfunction checkSupportForTransparency() {\n return new Promise(function (resolve, reject) {\n var video = document.createElement('video');\n var canPlay = video.canPlayType && video.canPlayType('video/webm; codecs=\"vp9\"');\n resolve(canPlay === 'maybe' || canPlay === 'probably');\n });\n}\n\n/* harmony default export */ var transparentVideo_checkSupportForTransparency = (checkSupportForTransparency);\n// CONCATENATED MODULE: ./src/cloudinary.js\nfunction cloudinary_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction cloudinary_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction cloudinary_createClass(Constructor, protoProps, staticProps) { if (protoProps) cloudinary_defineProperties(Constructor.prototype, protoProps); if (staticProps) cloudinary_defineProperties(Constructor, staticProps); return Constructor; }\n\n\nvar applyBreakpoints, closestAbove, defaultBreakpoints, cloudinary_findContainerWidth, cloudinary_maxWidth, updateDpr;\n\n\n\n\n\n\n\n\n\n //\n\n\n\n\n\n\ndefaultBreakpoints = function defaultBreakpoints(width) {\n var steps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;\n return steps * Math.ceil(width / steps);\n};\n\nclosestAbove = function closestAbove(list, value) {\n var i;\n i = list.length - 2;\n\n while (i >= 0 && list[i] >= value) {\n i--;\n }\n\n return list[i + 1];\n};\n\napplyBreakpoints = function applyBreakpoints(tag, width, steps, options) {\n var ref, ref1, ref2, responsive_use_breakpoints;\n responsive_use_breakpoints = (ref = (ref1 = (ref2 = options['responsive_use_breakpoints']) != null ? ref2 : options['responsive_use_stoppoints']) != null ? ref1 : this.config('responsive_use_breakpoints')) != null ? ref : this.config('responsive_use_stoppoints');\n\n if (!responsive_use_breakpoints || responsive_use_breakpoints === 'resize' && !options.resizing) {\n return width;\n } else {\n return this.calc_breakpoint(tag, width, steps);\n }\n};\n\ncloudinary_findContainerWidth = function findContainerWidth(element) {\n var containerWidth, style;\n containerWidth = 0;\n\n while ((element = element != null ? element.parentNode : void 0) instanceof Element && !containerWidth) {\n style = window.getComputedStyle(element);\n\n if (!/^inline/.test(style.display)) {\n containerWidth = lodash_width(element);\n }\n }\n\n return containerWidth;\n};\n\nupdateDpr = function updateDpr(dataSrc, roundDpr) {\n return dataSrc.replace(/\\bdpr_(1\\.0|auto)\\b/g, 'dpr_' + this.device_pixel_ratio(roundDpr));\n};\n\ncloudinary_maxWidth = function maxWidth(requiredWidth, tag) {\n var imageWidth;\n imageWidth = lodash_getData(tag, 'width') || 0;\n\n if (requiredWidth > imageWidth) {\n imageWidth = requiredWidth;\n lodash_setData(tag, 'width', requiredWidth);\n }\n\n return imageWidth;\n};\n\nvar cloudinary_Cloudinary = /*#__PURE__*/function () {\n /**\n * Creates a new Cloudinary instance.\n * @class Cloudinary\n * @classdesc Main class for accessing Cloudinary functionality.\n * @param {Object} options - A {@link Configuration} object for globally configuring Cloudinary account settings.\n * @example
\n * var cl = new cloudinary.Cloudinary( { cloud_name: \"mycloud\"});
\n * var imgTag = cl.image(\"myPicID\");\n * @see \n * Available configuration options\n */\n function Cloudinary(options) {\n cloudinary_classCallCheck(this, Cloudinary);\n\n var configuration;\n this.devicePixelRatioCache = {};\n this.responsiveConfig = {};\n this.responsiveResizeInitialized = false;\n configuration = new src_configuration(options); // Provided for backward compatibility\n\n this.config = function (newConfig, newValue) {\n return configuration.config(newConfig, newValue);\n };\n /**\n * Use \\ tags in the document to configure this `cloudinary` instance.\n * @return This {Cloudinary} instance for chaining.\n */\n\n\n this.fromDocument = function () {\n configuration.fromDocument();\n return this;\n };\n /**\n * Use environment variables to configure this `cloudinary` instance.\n * @return This {Cloudinary} instance for chaining.\n */\n\n\n this.fromEnvironment = function () {\n configuration.fromEnvironment();\n return this;\n };\n /**\n * Initializes the configuration of this `cloudinary` instance.\n * This is a convenience method that invokes both {@link Configuration#fromEnvironment|fromEnvironment()}\n * (Node.js environment only) and {@link Configuration#fromDocument|fromDocument()}.\n * It first tries to retrieve the configuration from the environment variable.\n * If not available, it tries from the document meta tags.\n * @function Cloudinary#init\n * @see Configuration#init\n * @return This {Cloudinary} instance for chaining.\n */\n\n\n this.init = function () {\n configuration.init();\n return this;\n };\n }\n /**\n * Convenience constructor\n * @param {Object} options\n * @return {Cloudinary}\n * @example cl = cloudinary.Cloudinary.new( { cloud_name: \"mycloud\"})\n */\n\n\n cloudinary_createClass(Cloudinary, [{\n key: \"url\",\n value:\n /**\n * Generates a URL for any asset in your Media library.\n * @function Cloudinary#url\n * @param {string} publicId - The public ID of the media asset.\n * @param {Object} [options] - The {@link Transformation} parameters to include in the URL.\n * @param {type} [options.type='upload'] - The asset's storage type.\n * For details on all fetch types, see\n * Fetch types.\n * @param {resourceType} [options.resource_type='image'] - The type of asset. Possible values:
\n * - `image`
\n * - `video`
\n * - `raw`\n * @return {string} The media asset URL.\n * @see \n * Available image transformations\n * @see \n * Available video transformations\n */\n function url(publicId) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return url_url(publicId, options, this.config());\n }\n /**\n * Generates a video asset URL.\n * @function Cloudinary#video_url\n * @param {string} publicId - The public ID of the video.\n * @param {Object} [options] - The {@link Transformation} parameters to include in the URL.\n * @param {type} [options.type='upload'] - The asset's storage type.\n * For details on all fetch types, see\n * Fetch types.\n * @return {string} The video URL.\n * @see Available video transformations\n */\n\n }, {\n key: \"video_url\",\n value: function video_url(publicId, options) {\n options = assign_root_assign_default()({\n resource_type: 'video'\n }, options);\n return this.url(publicId, options);\n }\n /**\n * Generates a URL for an image intended to be used as a thumbnail for the specified video.\n * Identical to {@link Cloudinary#url|url}, except that the `resource_type` is `video`\n * and the default `format` is `jpg`.\n * @function Cloudinary#video_thumbnail_url\n * @param {string} publicId - The unique identifier of the video from which you want to generate a thumbnail image.\n * @param {Object} [options] - The image {@link Transformation} parameters to apply to the thumbnail.\n * In addition to standard image transformations, you can also use the `start_offset` transformation parameter\n * to instruct Cloudinary to generate the thumbnail from a frame other than the middle frame of the video.\n * For details, see\n * Generating video thumbnails in the Cloudinary documentation.\n * @param {type} [options.type='upload'] - The asset's storage type.\n * @return {string} The URL of the video thumbnail image.\n * @see \n * Available image transformations\n */\n\n }, {\n key: \"video_thumbnail_url\",\n value: function video_thumbnail_url(publicId, options) {\n options = assign_root_assign_default()({}, DEFAULT_POSTER_OPTIONS, options);\n return this.url(publicId, options);\n }\n /**\n * Generates a string representation of the specified transformation options.\n * @function Cloudinary#transformation_string\n * @param {Object} options - The {@link Transformation} options.\n * @returns {string} The transformation string.\n * @see \n * Available image transformations\n * @see \n * Available video transformations\n */\n\n }, {\n key: \"transformation_string\",\n value: function transformation_string(options) {\n return new src_transformation(options).serialize();\n }\n /**\n * Generates an image tag.\n * @function Cloudinary#image\n * @param {string} publicId - The public ID of the image.\n * @param {Object} options - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {HTMLImageElement} An image tag DOM element.\n * @see \n * Available image transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"image\",\n value: function image(publicId) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var client_hints, img, ref;\n img = this.imageTag(publicId, options);\n client_hints = (ref = options.client_hints != null ? options.client_hints : this.config('client_hints')) != null ? ref : false;\n\n if (options.src == null && !client_hints) {\n // src must be removed before creating the DOM element to avoid loading the image\n img.setAttr(\"src\", '');\n }\n\n img = img.toDOM();\n\n if (!client_hints) {\n // cache the image src\n lodash_setData(img, 'src-cache', this.url(publicId, options)); // set image src taking responsiveness in account\n\n this.cloudinary_update(img, options);\n }\n\n return img;\n }\n /**\n * Creates a new ImageTag instance using the configuration defined for this `cloudinary` instance.\n * @function Cloudinary#imageTag\n * @param {string} publicId - The public ID of the image.\n * @param {Object} [options] - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {ImageTag} An ImageTag instance that is attached (chained) to this Cloudinary instance.\n * @see \n * Available image transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"imageTag\",\n value: function imageTag(publicId, options) {\n var tag;\n tag = new imagetag(publicId, this.config());\n tag.transformation().fromOptions(options);\n return tag;\n }\n /**\n * Creates a new PictureTag instance, configured using this `cloudinary` instance.\n * @function Cloudinary#PictureTag\n * @param {string} publicId - the public ID of the resource\n * @param {Object} options - additional options to pass to the new ImageTag instance\n * @return {PictureTag} A PictureTag that is attached (chained) to this Cloudinary instance\n */\n\n }, {\n key: \"pictureTag\",\n value: function pictureTag(publicId, options) {\n var tag;\n tag = new picturetag(publicId, this.config());\n tag.transformation().fromOptions(options);\n return tag;\n }\n /**\n * Creates a new SourceTag instance, configured using this `cloudinary` instance.\n * @function Cloudinary#SourceTag\n * @param {string} publicId - the public ID of the resource.\n * @param {Object} options - additional options to pass to the new instance.\n * @return {SourceTag} A SourceTag that is attached (chained) to this Cloudinary instance\n */\n\n }, {\n key: \"sourceTag\",\n value: function sourceTag(publicId, options) {\n var tag;\n tag = new sourcetag(publicId, this.config());\n tag.transformation().fromOptions(options);\n return tag;\n }\n /**\n * Generates a video thumbnail URL from the specified remote video and includes it in an image tag.\n * @function Cloudinary#video_thumbnail\n * @param {string} publicId - The unique identifier of the video from the relevant video site.\n * Additionally, either append the image extension type to the identifier value or set\n * the image delivery format in the 'options' parameter using the 'format' transformation option.\n * For example, a YouTube video might have the identifier: 'o-urnlaJpOA.jpg'.\n * @param {Object} [options] - The {@link Transformation} parameters to apply.\n * @return {HTMLImageElement} An HTML image tag element\n * @see \n * Available video transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"video_thumbnail\",\n value: function video_thumbnail(publicId, options) {\n return this.image(publicId, merge_root_merge_default()({}, DEFAULT_POSTER_OPTIONS, options));\n }\n /**\n * Fetches a facebook profile image and delivers it in an image tag element.\n * @function Cloudinary#facebook_profile_image\n * @param {string} publicId - The Facebook numeric ID. Additionally, either append the image extension type\n * to the ID or set the image delivery format in the 'options' parameter using the 'format' transformation option.\n * @param {Object} [options] - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {HTMLImageElement} An image tag element.\n * @see \n * Available image transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"facebook_profile_image\",\n value: function facebook_profile_image(publicId, options) {\n return this.image(publicId, assign_root_assign_default()({\n type: 'facebook'\n }, options));\n }\n /**\n * Fetches a Twitter profile image by ID and delivers it in an image tag element.\n * @function Cloudinary#twitter_profile_image\n * @param {string} publicId - The Twitter numeric ID. Additionally, either append the image extension type\n * to the ID or set the image delivery format in the 'options' parameter using the 'format' transformation option.\n * @param {Object} [options] - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {HTMLImageElement} An image tag element.\n * @see \n * Available image transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"twitter_profile_image\",\n value: function twitter_profile_image(publicId, options) {\n return this.image(publicId, assign_root_assign_default()({\n type: 'twitter'\n }, options));\n }\n /**\n * Fetches a Twitter profile image by name and delivers it in an image tag element.\n * @function Cloudinary#twitter_name_profile_image\n * @param {string} publicId - The Twitter screen name. Additionally, either append the image extension type\n * to the screen name or set the image delivery format in the 'options' parameter using the 'format' transformation option.\n * @param {Object} [options] - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {HTMLImageElement} An image tag element.\n * @see \n * Available image transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"twitter_name_profile_image\",\n value: function twitter_name_profile_image(publicId, options) {\n return this.image(publicId, assign_root_assign_default()({\n type: 'twitter_name'\n }, options));\n }\n /**\n * Fetches a Gravatar profile image and delivers it in an image tag element.\n * @function Cloudinary#gravatar_image\n * @param {string} publicId - The calculated hash for the Gravatar email address.\n * Additionally, either append the image extension type to the screen name or set the image delivery format\n * in the 'options' parameter using the 'format' transformation option.\n * @param {Object} [options] - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {HTMLImageElement} An image tag element.\n * @see \n * Available image transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"gravatar_image\",\n value: function gravatar_image(publicId, options) {\n return this.image(publicId, assign_root_assign_default()({\n type: 'gravatar'\n }, options));\n }\n /**\n * Fetches an image from a remote URL and delivers it in an image tag element.\n * @function Cloudinary#fetch_image\n * @param {string} publicId - The full URL of the image to fetch, including the extension.\n * @param {Object} [options] - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {HTMLImageElement} An image tag element.\n * @see \n * Available image transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"fetch_image\",\n value: function fetch_image(publicId, options) {\n return this.image(publicId, assign_root_assign_default()({\n type: 'fetch'\n }, options));\n }\n /**\n * Generates a video tag.\n * @function Cloudinary#video\n * @param {string} publicId - The public ID of the video.\n * @param {Object} [options] - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {HTMLVideoElement} A video tag DOM element.\n * @see \n * Available video transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"video\",\n value: function video(publicId) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return this.videoTag(publicId, options).toHtml();\n }\n /**\n * Creates a new VideoTag instance using the configuration defined for this `cloudinary` instance.\n * @function Cloudinary#videoTag\n * @param {string} publicId - The public ID of the video.\n * @param {Object} options - The {@link Transformation} parameters, {@link Configuration} parameters,\n * and standard HTML <img> tag attributes to apply to the image tag.\n * @return {VideoTag} A VideoTag that is attached (chained) to this `cloudinary` instance.\n * @see \n * Available video transformations\n * @see Available configuration options\n */\n\n }, {\n key: \"videoTag\",\n value: function videoTag(publicId, options) {\n options = defaults({}, options, this.config());\n return new videotag(publicId, options);\n }\n /**\n * Generates a sprite PNG image that contains all images with the specified tag and the corresponding css file.\n * @function Cloudinary#sprite_css\n * @param {string} publicId - The tag on which to base the sprite image.\n * @param {Object} [options] - The {@link Transformation} parameters to include in the URL.\n * @return {string} The URL of the generated CSS file. The sprite image has the same URL, but with a PNG extension.\n * @see \n * Sprite generation\n * @see \n * Available image transformations\n */\n\n }, {\n key: \"sprite_css\",\n value: function sprite_css(publicId, options) {\n options = assign_root_assign_default()({\n type: 'sprite'\n }, options);\n\n if (!publicId.match(/.css$/)) {\n options.format = 'css';\n }\n\n return this.url(publicId, options);\n }\n /**\n * Initializes responsive image behavior for all image tags with the 'cld-responsive'\n * (or other defined {@link Cloudinary#responsive|responsive} class).
\n * This method should be invoked after the page has loaded.
\n * Note: Calls {@link Cloudinary#cloudinary_update|cloudinary_update} to modify image tags.\n * @function Cloudinary#responsive\n * @param {Object} options\n * @param {String} [options.responsive_class='cld-responsive'] - An alternative class\n * to locate the relevant <img> tags.\n * @param {number} [options.responsive_debounce=100] - The debounce interval in milliseconds.\n * @param {boolean} [bootstrap=true] If true, processes the <img> tags by calling\n * {@link Cloudinary#cloudinary_update|cloudinary_update}. When false, the tags are processed\n * only after a resize event.\n * @see {@link Cloudinary#cloudinary_update|cloudinary_update} for additional configuration parameters\n * @see Automating responsive images with JavaScript\n * @return {function} that when called, removes the resize EventListener added by this function\n */\n\n }, {\n key: \"responsive\",\n value: function responsive(options) {\n var _this = this;\n\n var bootstrap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var ref, ref1, ref2, responsiveClass, responsiveResize, timeout;\n this.responsiveConfig = merge_root_merge_default()(this.responsiveConfig || {}, options);\n responsiveClass = (ref = this.responsiveConfig.responsive_class) != null ? ref : this.config('responsive_class');\n\n if (bootstrap) {\n this.cloudinary_update(\"img.\".concat(responsiveClass, \", img.cld-hidpi\"), this.responsiveConfig);\n }\n\n responsiveResize = (ref1 = (ref2 = this.responsiveConfig.responsive_resize) != null ? ref2 : this.config('responsive_resize')) != null ? ref1 : true;\n\n if (responsiveResize && !this.responsiveResizeInitialized) {\n this.responsiveConfig.resizing = this.responsiveResizeInitialized = true;\n timeout = null;\n\n var makeResponsive = function makeResponsive() {\n var debounce, ref3, ref4, reset, run, wait, waitFunc;\n debounce = (ref3 = (ref4 = _this.responsiveConfig.responsive_debounce) != null ? ref4 : _this.config('responsive_debounce')) != null ? ref3 : 100;\n\n reset = function reset() {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n };\n\n run = function run() {\n return _this.cloudinary_update(\"img.\".concat(responsiveClass), _this.responsiveConfig);\n };\n\n waitFunc = function waitFunc() {\n reset();\n return run();\n };\n\n wait = function wait() {\n reset();\n timeout = setTimeout(waitFunc, debounce);\n };\n\n if (debounce) {\n return wait();\n } else {\n return run();\n }\n };\n\n window.addEventListener('resize', makeResponsive);\n return function () {\n return window.removeEventListener('resize', makeResponsive);\n };\n }\n }\n /**\n * @function Cloudinary#calc_breakpoint\n * @private\n * @ignore\n */\n\n }, {\n key: \"calc_breakpoint\",\n value: function calc_breakpoint(element, width, steps) {\n var breakpoints = lodash_getData(element, 'breakpoints') || lodash_getData(element, 'stoppoints') || this.config('breakpoints') || this.config('stoppoints') || defaultBreakpoints;\n\n if (isFunction_root_isFunction_default()(breakpoints)) {\n return breakpoints(width, steps);\n } else {\n if (isString_root_isString_default()(breakpoints)) {\n breakpoints = breakpoints.split(',').map(function (point) {\n return parseInt(point);\n }).sort(function (a, b) {\n return a - b;\n });\n }\n\n return closestAbove(breakpoints, width);\n }\n }\n /**\n * @function Cloudinary#calc_stoppoint\n * @deprecated Use {@link calc_breakpoint} instead.\n * @private\n * @ignore\n */\n\n }, {\n key: \"calc_stoppoint\",\n value: function calc_stoppoint(element, width, steps) {\n return this.calc_breakpoint(element, width, steps);\n }\n /**\n * @function Cloudinary#device_pixel_ratio\n * @private\n */\n\n }, {\n key: \"device_pixel_ratio\",\n value: function device_pixel_ratio(roundDpr) {\n roundDpr = roundDpr == null ? true : roundDpr;\n var dpr = (typeof window !== \"undefined\" && window !== null ? window.devicePixelRatio : void 0) || 1;\n\n if (roundDpr) {\n dpr = Math.ceil(dpr);\n }\n\n if (dpr <= 0 || dpr === 0 / 0) {\n dpr = 1;\n }\n\n var dprString = dpr.toString();\n\n if (dprString.match(/^\\d+$/)) {\n dprString += '.0';\n }\n\n return dprString;\n }\n /**\n * Applies responsiveness to all <img> tags under each relevant node\n * (regardless of whether the tag contains the {@link Cloudinary#responsive|responsive} class).\n * @param {Element[]} nodes The parent nodes where you want to search for <img> tags.\n * @param {Object} [options] The {@link Cloudinary#cloudinary_update|cloudinary_update} options to apply.\n * @see Available image transformations\n * @function Cloudinary#processImageTags\n */\n\n }, {\n key: \"processImageTags\",\n value: function processImageTags(nodes, options) {\n if (isEmpty(nodes)) {\n // similar to `$.fn.cloudinary`\n return this;\n }\n\n options = defaults({}, options || {}, this.config());\n var images = nodes.filter(function (node) {\n return /^img$/i.test(node.tagName);\n }).map(function (node) {\n var imgOptions = assign_root_assign_default()({\n width: node.getAttribute('width'),\n height: node.getAttribute('height'),\n src: node.getAttribute('src')\n }, options);\n var publicId = imgOptions['source'] || imgOptions['src'];\n delete imgOptions['source'];\n delete imgOptions['src'];\n var attr = new src_transformation(imgOptions).toHtmlAttributes();\n lodash_setData(node, 'src-cache', url_url(publicId, imgOptions));\n node.setAttribute('width', attr.width);\n node.setAttribute('height', attr.height);\n return node;\n });\n this.cloudinary_update(images, options);\n return this;\n }\n /**\n * Updates the dpr (for `dpr_auto`) and responsive (for `w_auto`) fields according to\n * the current container size and the device pixel ratio.
\n * Note:`w_auto` is updated only for images marked with the `cld-responsive`\n * (or other defined {@link Cloudinary#responsive|responsive}) class.\n * @function Cloudinary#cloudinary_update\n * @param {(Array|string|NodeList)} elements - The HTML image elements to modify.\n * @param {Object} options\n * @param {boolean|string} [options.responsive_use_breakpoints=true]\n * Possible values:
\n * - `true`: Always use breakpoints for width.
\n * - `resize`: Use exact width on first render and breakpoints on resize.
\n * - `false`: Always use exact width.\n * @param {boolean} [options.responsive] - If `true`, enable responsive on all specified elements.\n * Alternatively, you can define specific HTML elements to modify by adding the `cld-responsive`\n * (or other custom-defined {@link Cloudinary#responsive|responsive_class}) class to those elements.\n * @param {boolean} [options.responsive_preserve_height] - If `true`, original css height is preserved.\n * Should be used only if the transformation supports different aspect ratios.\n */\n\n }, {\n key: \"cloudinary_update\",\n value: function cloudinary_update(elements, options) {\n var _this2 = this;\n\n var containerWidth, dataSrc, match, ref4, requiredWidth;\n\n if (elements === null) {\n return this;\n }\n\n if (options == null) {\n options = {};\n }\n\n var responsive = options.responsive != null ? options.responsive : this.config('responsive');\n elements = normalizeToArray(elements);\n var responsiveClass;\n\n if (this.responsiveConfig && this.responsiveConfig.responsive_class != null) {\n responsiveClass = this.responsiveConfig.responsive_class;\n } else if (options.responsive_class != null) {\n responsiveClass = options.responsive_class;\n } else {\n responsiveClass = this.config('responsive_class');\n }\n\n var roundDpr = options.round_dpr != null ? options.round_dpr : this.config('round_dpr');\n elements.forEach(function (tag) {\n if (/img/i.test(tag.tagName)) {\n var setUrl = true;\n\n if (responsive) {\n lodash_addClass(tag, responsiveClass);\n }\n\n dataSrc = lodash_getData(tag, 'src-cache') || lodash_getData(tag, 'src');\n\n if (!isEmpty(dataSrc)) {\n // Update dpr according to the device's devicePixelRatio\n dataSrc = updateDpr.call(_this2, dataSrc, roundDpr);\n\n if (htmltag.isResponsive(tag, responsiveClass)) {\n containerWidth = cloudinary_findContainerWidth(tag);\n\n if (containerWidth !== 0) {\n if (/w_auto:breakpoints/.test(dataSrc)) {\n requiredWidth = cloudinary_maxWidth(containerWidth, tag);\n\n if (requiredWidth) {\n dataSrc = dataSrc.replace(/w_auto:breakpoints([_0-9]*)(:[0-9]+)?/, \"w_auto:breakpoints$1:\".concat(requiredWidth));\n } else {\n setUrl = false;\n }\n } else {\n match = /w_auto(:(\\d+))?/.exec(dataSrc);\n\n if (match) {\n requiredWidth = applyBreakpoints.call(_this2, tag, containerWidth, match[2], options);\n requiredWidth = cloudinary_maxWidth(requiredWidth, tag);\n\n if (requiredWidth) {\n dataSrc = dataSrc.replace(/w_auto[^,\\/]*/g, \"w_\".concat(requiredWidth));\n } else {\n setUrl = false;\n }\n }\n }\n\n lodash_removeAttribute(tag, 'width');\n\n if (!options.responsive_preserve_height) {\n lodash_removeAttribute(tag, 'height');\n }\n } else {\n // Container doesn't know the size yet - usually because the image is hidden or outside the DOM.\n setUrl = false;\n }\n }\n\n var isLazyLoading = options.loading === 'lazy' && !_this2.isNativeLazyLoadSupported() && _this2.isLazyLoadSupported() && !elements[0].getAttribute('src');\n\n if (setUrl || isLazyLoading) {\n // If data-width exists, set width to be data-width\n _this2.setAttributeIfExists(elements[0], 'width', 'data-width');\n }\n\n if (setUrl && !isLazyLoading) {\n lodash_setAttribute(tag, 'src', dataSrc);\n }\n }\n }\n });\n return this;\n }\n /**\n * Sets element[toAttribute] = element[fromAttribute] if element[fromAttribute] is set\n * @param element\n * @param toAttribute\n * @param fromAttribute\n */\n\n }, {\n key: \"setAttributeIfExists\",\n value: function setAttributeIfExists(element, toAttribute, fromAttribute) {\n var attributeValue = element.getAttribute(fromAttribute);\n\n if (attributeValue != null) {\n lodash_setAttribute(element, toAttribute, attributeValue);\n }\n }\n /**\n * Returns true if Intersection Observer API is supported\n * @returns {boolean}\n */\n\n }, {\n key: \"isLazyLoadSupported\",\n value: function isLazyLoadSupported() {\n return window && 'IntersectionObserver' in window;\n }\n /**\n * Returns true if using Chrome\n * @returns {boolean}\n */\n\n }, {\n key: \"isNativeLazyLoadSupported\",\n value: function isNativeLazyLoadSupported() {\n return 'loading' in HTMLImageElement.prototype;\n }\n /**\n * Returns a {@link Transformation} object, initialized with the specified options, for chaining purposes.\n * @function Cloudinary#transformation\n * @param {Object} options The {@link Transformation} options to apply.\n * @return {Transformation}\n * @see Transformation\n * @see \n * Available image transformations\n * @see \n * Available video transformations\n */\n\n }, {\n key: \"transformation\",\n value: function transformation(options) {\n return src_transformation[\"new\"](this.config()).fromOptions(options).setParent(this);\n }\n /**\n * @description This function will append a TransparentVideo element to the htmlElContainer passed to it.\n * TransparentVideo can either be an HTML Video tag, or an HTML Canvas Tag.\n * @param {HTMLElement} htmlElContainer\n * @param {string} publicId\n * @param {object} options The {@link TransparentVideoOptions} options to apply - Extends TransformationOptions\n * options.playsinline - HTML Video Tag's native playsinline - passed to video element.\n * options.poster - HTML Video Tag's native poster - passed to video element.\n * options.loop - HTML Video Tag's native loop - passed to video element.\n * options?.externalLibraries = { [key: string]: string} - map of external libraries to be loaded\n * @return {Promise}\n */\n\n }, {\n key: \"injectTransparentVideoElement\",\n value: function injectTransparentVideoElement(htmlElContainer, publicId) {\n var _this3 = this;\n\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return new Promise(function (resolve, reject) {\n if (!htmlElContainer) {\n reject({\n status: 'error',\n message: 'Expecting htmlElContainer to be HTMLElement'\n });\n }\n\n transparentVideo_enforceOptionsForTransparentVideo(options);\n\n var videoURL = _this3.video_url(publicId, options);\n\n transparentVideo_checkSupportForTransparency().then(function (isNativelyTransparent) {\n var mountPromise;\n\n if (isNativelyTransparent) {\n mountPromise = transparentVideo_mountCloudinaryVideoTag(htmlElContainer, _this3, publicId, options);\n resolve(htmlElContainer);\n } else {\n mountPromise = transparentVideo_mountSeeThruCanvasTag(htmlElContainer, videoURL, options);\n }\n\n mountPromise.then(function () {\n resolve(htmlElContainer);\n })[\"catch\"](function (_ref) {\n var status = _ref.status,\n message = _ref.message;\n reject({\n status: status,\n message: message\n });\n }); // catch for checkSupportForTransparency()\n })[\"catch\"](function (_ref2) {\n var status = _ref2.status,\n message = _ref2.message;\n reject({\n status: status,\n message: message\n });\n });\n });\n }\n }], [{\n key: \"new\",\n value: function _new(options) {\n return new this(options);\n }\n }]);\n\n return Cloudinary;\n}();\n\nassign_root_assign_default()(cloudinary_Cloudinary, constants_namespaceObject);\n/* harmony default export */ var cloudinary = (cloudinary_Cloudinary);\n// CONCATENATED MODULE: ./src/namespace/cloudinary-core.js\n/**\n * Creates the namespace for Cloudinary\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* harmony default export */ var cloudinary_core = __webpack_exports__[\"default\"] = ({\n ClientHintsMetaTag: clienthintsmetatag,\n Cloudinary: cloudinary,\n Condition: condition,\n Configuration: src_configuration,\n crc32: src_crc32,\n Expression: expression,\n FetchLayer: fetchlayer,\n HtmlTag: htmltag,\n ImageTag: imagetag,\n Layer: layer_layer,\n PictureTag: picturetag,\n SubtitlesLayer: subtitleslayer,\n TextLayer: textlayer,\n Transformation: src_transformation,\n utf8_encode: src_utf8_encode,\n Util: lodash_namespaceObject,\n VideoTag: videotag\n});\n\n\n/***/ }),\n\n/***/ \"lodash/assign\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_assign__;\n\n/***/ }),\n\n/***/ \"lodash/cloneDeep\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep__;\n\n/***/ }),\n\n/***/ \"lodash/compact\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_compact__;\n\n/***/ }),\n\n/***/ \"lodash/difference\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_difference__;\n\n/***/ }),\n\n/***/ \"lodash/functions\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_functions__;\n\n/***/ }),\n\n/***/ \"lodash/identity\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_identity__;\n\n/***/ }),\n\n/***/ \"lodash/includes\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_includes__;\n\n/***/ }),\n\n/***/ \"lodash/isArray\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_isArray__;\n\n/***/ }),\n\n/***/ \"lodash/isElement\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_isElement__;\n\n/***/ }),\n\n/***/ \"lodash/isFunction\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_isFunction__;\n\n/***/ }),\n\n/***/ \"lodash/isPlainObject\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_isPlainObject__;\n\n/***/ }),\n\n/***/ \"lodash/isString\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_isString__;\n\n/***/ }),\n\n/***/ \"lodash/merge\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_merge__;\n\n/***/ }),\n\n/***/ \"lodash/trim\":\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_lodash_trim__;\n\n/***/ })\n\n/******/ });\n});\n//# sourceMappingURL=cloudinary-core.js.map","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n return string.split('');\n}\n\nmodule.exports = asciiToArray;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseDifference;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","var arrayFilter = require('./_arrayFilter'),\n isFunction = require('./isFunction');\n\n/**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\nfunction baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n}\n\nmodule.exports = baseFunctions;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n","/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n","var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n","var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseUniq;\n","var arrayMap = require('./_arrayMap');\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\nfunction charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n}\n\nmodule.exports = charsEndIndex;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\nfunction charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n}\n\nmodule.exports = charsStartIndex;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var asciiToArray = require('./_asciiToArray'),\n hasUnicode = require('./_hasUnicode'),\n unicodeToArray = require('./_unicodeToArray');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n}\n\nmodule.exports = stringToArray;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n return string.match(reUnicode) || [];\n}\n\nmodule.exports = unicodeToArray;\n","var assignValue = require('./_assignValue'),\n copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n isArrayLike = require('./isArrayLike'),\n isPrototype = require('./_isPrototype'),\n keys = require('./keys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\nvar assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n});\n\nmodule.exports = assign;\n","var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n","/**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\nfunction compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = compact;\n","var arrayPush = require('./_arrayPush'),\n baseFlatten = require('./_baseFlatten'),\n copyArray = require('./_copyArray'),\n isArray = require('./isArray');\n\n/**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\nfunction concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n}\n\nmodule.exports = concat;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseIteratee = require('./_baseIteratee'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n last = require('./last');\n\n/**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\nvar differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), baseIteratee(iteratee, 2))\n : [];\n});\n\nmodule.exports = differenceBy;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","module.exports = require('./head');\n","var baseFunctions = require('./_baseFunctions'),\n keys = require('./keys');\n\n/**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\nfunction functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n}\n\nmodule.exports = functions;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","/**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\nfunction head(array) {\n return (array && array.length) ? array[0] : undefined;\n}\n\nmodule.exports = head;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseIndexOf = require('./_baseIndexOf'),\n isArrayLike = require('./isArrayLike'),\n isString = require('./isString'),\n toInteger = require('./toInteger'),\n values = require('./values');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\nfunction includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n}\n\nmodule.exports = includes;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var isObjectLike = require('./isObjectLike'),\n isPlainObject = require('./isPlainObject');\n\n/**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\nfunction isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n}\n\nmodule.exports = isElement;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","var baseToString = require('./_baseToString'),\n baseTrim = require('./_baseTrim'),\n castSlice = require('./_castSlice'),\n charsEndIndex = require('./_charsEndIndex'),\n charsStartIndex = require('./_charsStartIndex'),\n stringToArray = require('./_stringToArray'),\n toString = require('./toString');\n\n/**\n * Removes leading and trailing whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trim(' abc ');\n * // => 'abc'\n *\n * _.trim('-_-abc-_-', '_-');\n * // => 'abc'\n *\n * _.map([' foo ', ' bar '], _.trim);\n * // => ['foo', 'bar']\n */\nfunction trim(string, chars, guard) {\n string = toString(string);\n if (string && (guard || chars === undefined)) {\n return baseTrim(string);\n }\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n var strSymbols = stringToArray(string),\n chrSymbols = stringToArray(chars),\n start = charsStartIndex(strSymbols, chrSymbols),\n end = charsEndIndex(strSymbols, chrSymbols) + 1;\n\n return castSlice(strSymbols, start, end).join('');\n}\n\nmodule.exports = trim;\n","var baseUniq = require('./_baseUniq');\n\n/**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\nfunction uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n}\n\nmodule.exports = uniq;\n","var baseValues = require('./_baseValues'),\n keys = require('./keys');\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\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\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\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__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","const __WEBPACK_NAMESPACE_OBJECT__ = jQuery;","const __WEBPACK_NAMESPACE_OBJECT__ = React;","const __WEBPACK_NAMESPACE_OBJECT__ = ReactDom;","const __WEBPACK_NAMESPACE_OBJECT__ = PropTypes;","const __WEBPACK_NAMESPACE_OBJECT__ = classnames;","/* global CLOUDINARY_CONFIG */\n\n'use strict';\n\nimport cloudinary from 'cloudinary-core';\n\nexport default function url(publicId, options = {}) {\n const instance = new cloudinary.Cloudinary({\n cloud_name: CLOUDINARY_CONFIG.cloud_name,\n secure: true,\n });\n\n return instance.url(publicId, options);\n}\n","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport { map, uniq } from 'lodash';\nimport url from '../utils/url';\n\nexport default class Resource extends Component {\n constructor(props) {\n super(props);\n\n const { title, description, credit, gravity, foreground_colour, background_colour } = props;\n\n this.state = {\n title, description, credit, gravity, foreground_colour, background_colour\n };\n\n this.updateTitle = this.updateTitle.bind(this);\n this.updateDescription = this.updateDescription.bind(this);\n this.updateCredit = this.updateCredit.bind(this);\n this.updateGravity = this.updateGravity.bind(this);\n this.updateFgColour = this.updateFgColour.bind(this);\n this.updateBgColour = this.updateBgColour.bind(this);\n this.removeResource = this.removeResource.bind(this);\n this.moveResourceUp = this.moveResourceUp.bind(this);\n this.moveResourceDown = this.moveResourceDown.bind(this);\n this.url = this.url.bind(this);\n this.thumbnailUrl = this.thumbnailUrl.bind(this);\n this.titleFieldLabel = this.titleFieldLabel.bind(this);\n this.titleFieldPlaceholder = this.titleFieldPlaceholder.bind(this);\n this.descriptionFieldLabel = this.descriptionFieldLabel.bind(this);\n this.descriptionFieldPlaceholder = this.descriptionFieldPlaceholder.bind(this);\n this.creditFieldLabel = this.creditFieldLabel.bind(this);\n this.creditFieldPlaceholder = this.creditFieldPlaceholder.bind(this);\n }\n\n updateTitle(event) {\n this.setState({\n title: event.target.value,\n });\n\n this.props.onChange(\n this.props.public_id, 'title', event.target.value\n );\n }\n\n updateDescription(event) {\n this.setState({\n description: event.target.value,\n });\n\n this.props.onChange(\n this.props.public_id, 'description', event.target.value\n );\n }\n\n updateCredit(event) {\n this.setState({\n credit: event.target.value,\n });\n\n this.props.onChange(\n this.props.public_id, 'credit', event.target.value\n );\n }\n\n updateGravity(event) {\n this.setState({\n gravity: event.target.value,\n });\n\n this.props.onChange(\n this.props.public_id, 'gravity', event.target.value\n );\n }\n\n updateFgColour(event) {\n this.setState({\n foreground_colour: event.target.value || null,\n });\n\n this.props.onChange(\n this.props.public_id, 'foreground_colour', event.target.value || null\n );\n }\n\n updateBgColour(event) {\n this.setState({\n background_colour: event.target.value || null,\n });\n\n this.props.onChange(\n this.props.public_id, 'background_colour', event.target.value || null\n );\n }\n\n removeResource() {\n this.props.onRemoveResource(\n this.props.public_id\n );\n }\n\n moveResourceUp() {\n this.props.onMoveResource(\n this.props.public_id,\n -1\n );\n }\n\n moveResourceDown() {\n this.props.onMoveResource(\n this.props.public_id,\n 1\n );\n }\n\n url() {\n const { public_id, resource_type } = this.props;\n\n return url(public_id, {\n resource_type,\n });\n }\n\n thumbnailUrl() {\n return null;\n }\n\n titleFieldLabel() {\n return 'Title';\n }\n\n titleFieldPlaceholder() {\n return this.state.title;\n }\n\n descriptionFieldLabel() {\n return 'Description';\n }\n\n descriptionFieldPlaceholder() {\n return 'Optionally provide some additional information…';\n }\n\n creditFieldLabel() {\n return 'Credit';\n }\n\n creditFieldPlaceholder() {\n return 'Optionally provide copyright information…';\n }\n\n gravityFieldLabel() {\n return 'Gravity';\n }\n\n fgColourFieldLabel() {\n return 'Foreground Colour';\n }\n\n bgColourFieldLabel() {\n return 'Background Colour';\n }\n\n fields() {\n let { fields } = this.props;\n\n fields = fields.split(',');\n\n return uniq(fields);\n }\n\n renderOrder() {\n const { firstItem, lastItem } = this.props;\n\n if (firstItem && lastItem) {\n // Only a single item so no need to re-order\n return false;\n }\n\n const moveUpClassNames = [\n 'cloudinary-field-order__move',\n 'cloudinary-field-order__move--up',\n ];\n const moveDownClassNames = [\n 'cloudinary-field-order__move',\n 'cloudinary-field-order__move--down',\n ];\n\n if (firstItem) {\n moveUpClassNames.push('cloudinary-field-order__move--first');\n }\n if (lastItem) {\n moveDownClassNames.push('cloudinary-field-order__move--last');\n }\n\n return (\n

\n \n  \n \n \n  \n \n
\n );\n }\n\n render() {\n const { title, description, credit, gravity, foreground_colour, background_colour } = this.state;\n const { actual_type, public_id, resource_type, top_colours, gravityOptions } = this.props;\n\n const thumbnail = this.thumbnailUrl();\n\n return (\n
\n {this.renderOrder()}\n\n
\n
\n { thumbnail && }\n
\n\n
\n \n\n \n View original\n \n
\n
\n\n
\n {this.fields().map(field => {\n if (field === 'title') {\n return (\n
\n \n\n
\n