From 7a01bcd338e10cdd03258312491c541aa7519e91 Mon Sep 17 00:00:00 2001 From: "Ian M. Jones" Date: Fri, 4 Oct 2024 15:00:00 +0100 Subject: [PATCH] Deploying version 3.2.9 --- README.md | 9 +- assets/js/media.min.js.map | 2 +- assets/js/modal.min.js.map | 2 +- assets/js/notice.min.js.map | 2 +- assets/js/settings.js | 150 +- assets/js/settings.js.map | 2 +- assets/js/settings.min.js | 2 +- assets/js/settings.min.js.map | 2 +- classes/as3cf-plugin-updater.php | 244 ++++ classes/providers/storage/aws-provider.php | 3 +- languages/amazon-s3-and-cloudfront-en.pot | 47 +- readme.txt | 8 +- vendor/Aws3/Aws/Api/DateTimeResult.php | 6 + vendor/Aws3/Aws/Api/DocModel.php | 2 +- .../Parser/DecodingEventStreamIterator.php | 23 +- .../Aws/Api/Parser/EventParsingIterator.php | 27 +- vendor/Aws3/Aws/Api/Parser/JsonRpcParser.php | 27 +- ...kableStreamDecodingEventStreamIterator.php | 81 ++ .../Aws/Api/Serializer/Ec2ParamBuilder.php | 4 +- vendor/Aws3/Aws/Api/Service.php | 7 +- vendor/Aws3/Aws/Auth/AuthSchemeResolver.php | 134 ++ .../Aws/Auth/AuthSchemeResolverInterface.php | 20 + .../Aws3/Aws/Auth/AuthSelectionMiddleware.php | 78 + .../UnresolvedAuthSchemeException.php | 13 + vendor/Aws3/Aws/AwsClient.php | 120 +- vendor/Aws3/Aws/ClientResolver.php | 90 +- .../AbstractMonitoringMiddleware.php | 20 +- vendor/Aws3/Aws/CloudFront/Signer.php | 13 +- vendor/Aws3/Aws/Command.php | 11 + .../Aws/Credentials/CredentialProvider.php | 19 +- vendor/Aws3/Aws/Credentials/Credentials.php | 20 +- .../Aws3/Aws/Credentials/CredentialsUtils.php | 31 + .../Aws/Credentials/EcsCredentialProvider.php | 103 +- .../Credentials/InstanceProfileProvider.php | 110 +- .../Aws/Crypto/AesGcmDecryptingStream.php | 7 + .../Aws/Crypto/AesGcmEncryptingStream.php | 7 + vendor/Aws3/Aws/Crypto/EncryptionTrait.php | 2 +- vendor/Aws3/Aws/Crypto/EncryptionTraitV2.php | 2 +- vendor/Aws3/Aws/Crypto/Polyfill/AesGcm.php | 2 - vendor/Aws3/Aws/Crypto/Polyfill/ByteArray.php | 1 - vendor/Aws3/Aws/Crypto/Polyfill/Gmac.php | 2 - vendor/Aws3/Aws/Crypto/Polyfill/Key.php | 2 - .../Aws3/Aws/Crypto/Polyfill/NeedsTrait.php | 1 - .../Aws/EndpointV2/EndpointV2Middleware.php | 80 +- .../Aws/Exception/CryptoPolyfillException.php | 1 - .../Aws/Identity/AwsCredentialIdentity.php | 19 + .../Aws3/Aws/Identity/BearerTokenIdentity.php | 19 + .../Aws3/Aws/Identity/IdentityInterface.php | 21 + .../Identity/S3/S3ExpressIdentityProvider.php | 2 +- vendor/Aws3/Aws/PresignUrlMiddleware.php | 4 +- .../Aws3/Aws/S3/ApplyChecksumMiddleware.php | 13 +- .../Aws3/Aws/S3/ExpiresParsingMiddleware.php | 46 + .../Parser/GetBucketLocationResultMutator.php | 34 + vendor/Aws3/Aws/S3/Parser/S3Parser.php | 200 +++ vendor/Aws3/Aws/S3/Parser/S3ResultMutator.php | 31 + .../ValidateResponseChecksumResultMutator.php | 112 ++ vendor/Aws3/Aws/S3/PutObjectUrlMiddleware.php | 2 +- vendor/Aws3/Aws/S3/S3Client.php | 87 +- vendor/Aws3/Aws/Sdk.php | 42 +- vendor/Aws3/Aws/Signature/S3SignatureV4.php | 2 +- .../Aws3/Aws/Signature/SignatureProvider.php | 2 +- vendor/Aws3/Aws/Signature/SignatureV4.php | 2 +- vendor/Aws3/Aws/Sts/StsClient.php | 14 +- vendor/Aws3/Aws/Token/SsoToken.php | 11 + vendor/Aws3/Aws/Token/SsoTokenProvider.php | 214 ++- vendor/Aws3/Aws/Token/Token.php | 3 +- vendor/Aws3/Aws/Token/TokenProvider.php | 13 +- .../data/cloudfront/2020-05-31/api-2.json.php | 2 +- vendor/Aws3/Aws/data/endpoints.json.php | 2 +- .../Aws/data/grandfathered-services.json.php | 2 +- vendor/Aws3/Aws/data/manifest.json.php | 2 +- vendor/Aws3/Aws/data/partitions.json.php | 2 +- .../Aws/data/s3/2006-03-01/api-2.json.php | 2 +- .../2006-03-01/endpoint-rule-set-1.json.php | 2 +- .../s3/2006-03-01/endpoint-tests-1.json.php | 2 +- vendor/Aws3/CHANGELOG.md | 1261 +++++++++++++++++ vendor/Aws3/GuzzleHttp/BodySummarizer.php | 4 +- vendor/Aws3/GuzzleHttp/Client.php | 4 +- vendor/Aws3/GuzzleHttp/ClientInterface.php | 2 +- vendor/Aws3/GuzzleHttp/Cookie/CookieJar.php | 2 +- .../GuzzleHttp/Cookie/CookieJarInterface.php | 2 +- .../Exception/BadResponseException.php | 2 +- .../GuzzleHttp/Exception/ConnectException.php | 2 +- .../GuzzleHttp/Exception/RequestException.php | 19 +- .../Aws3/GuzzleHttp/Handler/CurlFactory.php | 103 +- .../GuzzleHttp/Handler/CurlMultiHandler.php | 15 + .../Aws3/GuzzleHttp/Handler/MockHandler.php | 8 +- .../Aws3/GuzzleHttp/Handler/StreamHandler.php | 8 +- vendor/Aws3/GuzzleHttp/HandlerStack.php | 6 +- vendor/Aws3/GuzzleHttp/MessageFormatter.php | 2 +- .../GuzzleHttp/MessageFormatterInterface.php | 2 +- vendor/Aws3/GuzzleHttp/Middleware.php | 6 +- .../Aws3/GuzzleHttp/PrepareBodyMiddleware.php | 4 +- vendor/Aws3/GuzzleHttp/Promise/Coroutine.php | 2 +- vendor/Aws3/GuzzleHttp/Promise/Each.php | 6 +- .../GuzzleHttp/Promise/FulfilledPromise.php | 2 +- vendor/Aws3/GuzzleHttp/Promise/Promise.php | 4 +- .../GuzzleHttp/Promise/PromiseInterface.php | 2 +- .../GuzzleHttp/Promise/RejectedPromise.php | 2 +- .../GuzzleHttp/Promise/RejectionException.php | 2 +- vendor/Aws3/GuzzleHttp/Promise/Utils.php | 2 +- vendor/Aws3/GuzzleHttp/Psr7/CachingStream.php | 2 +- vendor/Aws3/GuzzleHttp/Psr7/HttpFactory.php | 2 +- .../Aws3/GuzzleHttp/Psr7/MultipartStream.php | 2 +- vendor/Aws3/GuzzleHttp/Psr7/Query.php | 22 +- vendor/Aws3/GuzzleHttp/Psr7/Response.php | 2 +- vendor/Aws3/GuzzleHttp/Psr7/StreamWrapper.php | 9 +- vendor/Aws3/GuzzleHttp/Psr7/UploadedFile.php | 2 +- vendor/Aws3/GuzzleHttp/Psr7/Uri.php | 2 +- vendor/Aws3/GuzzleHttp/Psr7/Utils.php | 13 +- vendor/Aws3/GuzzleHttp/RequestOptions.php | 2 +- vendor/Aws3/GuzzleHttp/RetryMiddleware.php | 4 +- vendor/Aws3/GuzzleHttp/TransferStats.php | 2 +- vendor/Aws3/GuzzleHttp/Utils.php | 4 +- vendor/Aws3/aws-autoloader.php | 2 +- wordpress-s3.php | 21 +- 116 files changed, 3510 insertions(+), 503 deletions(-) create mode 100644 classes/as3cf-plugin-updater.php create mode 100644 vendor/Aws3/Aws/Api/Parser/NonSeekableStreamDecodingEventStreamIterator.php create mode 100644 vendor/Aws3/Aws/Auth/AuthSchemeResolver.php create mode 100644 vendor/Aws3/Aws/Auth/AuthSchemeResolverInterface.php create mode 100644 vendor/Aws3/Aws/Auth/AuthSelectionMiddleware.php create mode 100644 vendor/Aws3/Aws/Auth/Exception/UnresolvedAuthSchemeException.php create mode 100644 vendor/Aws3/Aws/Credentials/CredentialsUtils.php create mode 100644 vendor/Aws3/Aws/Identity/AwsCredentialIdentity.php create mode 100644 vendor/Aws3/Aws/Identity/BearerTokenIdentity.php create mode 100644 vendor/Aws3/Aws/Identity/IdentityInterface.php create mode 100644 vendor/Aws3/Aws/S3/ExpiresParsingMiddleware.php create mode 100644 vendor/Aws3/Aws/S3/Parser/GetBucketLocationResultMutator.php create mode 100644 vendor/Aws3/Aws/S3/Parser/S3Parser.php create mode 100644 vendor/Aws3/Aws/S3/Parser/S3ResultMutator.php create mode 100644 vendor/Aws3/Aws/S3/Parser/ValidateResponseChecksumResultMutator.php diff --git a/README.md b/README.md index 3e20cf83..db77788d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ **Requires at least:** 5.5 \ **Tested up to:** 6.6 \ **Requires PHP:** 7.2 \ -**Stable tag:** 3.2.8 \ +**Stable tag:** 3.2.9 \ **License:** GPLv3 Copies files to Amazon S3, DigitalOcean Spaces or Google Cloud Storage as they are uploaded to the Media Library. Optionally configure Amazon CloudFront or another CDN for faster delivery. @@ -103,6 +103,13 @@ This version requires PHP 5.3.3+ and the Amazon Web Services plugin ## Changelog +### WP Offload Media Lite 3.2.9 - 2024-10-04 + +* Security: The plugin now uses its own update mechanism from WP Engine servers +* New: Amazon S3 region Asia Pacific (Malaysia) is now selectable +* New: AWS PHP SDK has been updated to v3.319.4 +* New: PHP and JS dependencies have been updated + ### WP Offload Media Lite 3.2.8 - 2024-07-11 * Delivery status indicator is now more accurate when Amazon S3 Object Ownership is configured in combination with a delivery provider other than Amazon CloudFront diff --git a/assets/js/media.min.js.map b/assets/js/media.min.js.map index e2681697..59b1e69d 100644 --- a/assets/js/media.min.js.map +++ b/assets/js/media.min.js.map @@ -1 +1 @@ -{"version":3,"names":["test","$","_","media","wp","wpAttachmentDetailsTwoColumn","view","Attachment","Details","TwoColumn","extend","events","prototype","render","this","fetchS3Details","model","get","id","ajax","send","data","_nonce","as3cf_media","nonces","get_attachment_provider_details","done","bind","renderView","response","apply","renderActionLinks","renderS3Details","links","$actionsHtml","$el","find","$s3Actions","class","s3Links","each","link","push","append","join","provider_object","$detailsHtml","html","generateDetails","keys","template","key","value","acl_toggle","acl_template","title","acl","Boolean","parseInt","strings","label","confirmS3Removal","event","confirm","as3cfpro_media","local_warning","preventDefault","stopImmediatePropagation","toggleACL","toggle","currentACL","newACL","settings","private_acl","hide","after","updating_acl","default_acl","_ajax_nonce","singular_update_acl","updateACL","fail","renderACLError","remove","show","alert","change_acl_error","acl_display","url","set","text","attr","jQuery"],"sources":["assets/js/media.js"],"mappings":"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C9BmE,KAAM/E,EAAEyB,KAAMb,KAAKoE,eAAgBpE,MACtC,EAEAoE,eAAgB,WACfjF,EAAG,sBAAuBkF,SAC1BlF,EAAG,wBAAyBmF,OAC5BC,MAAOrB,eAAeL,QAAQ2B,iBAC/B,EAEAN,UAAW,SAAUnD,UACpB,GAAK,MAAQA,SAAS0D,aAAe,MAAQ1D,SAAS0B,OAAS,MAAQ1B,SAAS2B,KAAO,MAAQ3B,SAAS2D,IAAM,CAC7G1E,KAAKoE,iBAEL,MACD,CAEApE,KAAKE,MAAMyE,IAAK,MAAO5D,SAAS2D,KAChC1E,KAAKD,SAEL,IAAIwD,OAASpE,EAAG,wBAEhBA,EAAG,sBAAuBkF,SAE1Bd,OAAOqB,KAAM7D,SAAS0D,aACtBlB,OAAOsB,KAAM,QAAS9D,SAAS0B,OAC/Bc,OAAOhD,KAAM,aAAcQ,SAAS2B,KACpCa,OAAOe,MACR,GAGA,EA1KF,CA0KKQ,OAAQ1F"} \ No newline at end of file +{"version":3,"names":["test","$","_","media","wp","wpAttachmentDetailsTwoColumn","view","Attachment","Details","TwoColumn","extend","events","prototype","render","this","fetchS3Details","model","get","id","ajax","send","data","_nonce","as3cf_media","nonces","get_attachment_provider_details","done","bind","renderView","response","apply","renderActionLinks","renderS3Details","links","$actionsHtml","$el","find","$s3Actions","class","s3Links","each","link","push","append","join","provider_object","$detailsHtml","html","generateDetails","keys","template","key","value","acl_toggle","acl_template","title","acl","Boolean","parseInt","strings","label","confirmS3Removal","event","confirm","as3cfpro_media","local_warning","preventDefault","stopImmediatePropagation","toggleACL","toggle","currentACL","newACL","settings","private_acl","hide","after","updating_acl","default_acl","_ajax_nonce","singular_update_acl","updateACL","fail","renderACLError","remove","show","alert","change_acl_error","acl_display","url","set","text","attr","jQuery"],"sources":["assets/js/media.js"],"mappings":"AAAA,IAAIA,KAAO,CAAC,GAEZ,SAAYC,EAAGC,GAGd,IAAIC,MAAQC,GAAGD,MAGf,IAAIE,6BAA+BF,MAAMG,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EAAG,wBAAyBmF,OAC5BC,MAAOrB,eAAeL,QAAQ2B,iBAC/B,EAEAN,UAAW,SAAUnD,UACpB,GAAK,MAAQA,SAAS0D,aAAe,MAAQ1D,SAAS0B,OAAS,MAAQ1B,SAAS2B,KAAO,MAAQ3B,SAAS2D,IAAM,CAC7G1E,KAAKoE,iBAEL,MACD,CAEApE,KAAKE,MAAMyE,IAAK,MAAO5D,SAAS2D,KAChC1E,KAAKD,SAEL,IAAIwD,OAASpE,EAAG,wBAEhBA,EAAG,sBAAuBkF,SAE1Bd,OAAOqB,KAAM7D,SAAS0D,aACtBlB,OAAOsB,KAAM,QAAS9D,SAAS0B,OAC/Bc,OAAOhD,KAAM,aAAcQ,SAAS2B,KACpCa,OAAOe,MACR,GAGA,EA1KF,CA0KKQ,OAAQ1F","ignoreList":[]} \ No newline at end of file diff --git a/assets/js/modal.min.js.map b/assets/js/modal.min.js.map index 6130c456..0cac915e 100644 --- a/assets/js/modal.min.js.map +++ b/assets/js/modal.min.js.map @@ -1 +1 @@ -{"version":3,"names":["as3cfModal","$","modal","prefix","loading","dismissible","modals","targetToKey","target","replace","exists","key","undefined","length","open","callback","customClass","append","$overlay","$modal","content","clone","css","remove","data","addClass","fadeIn","trigger","close","fadeOut","removeClass","this","setLoadingState","state","setDismissibleState","document","ready","on","e","preventDefault","tagName","jQuery"],"sources":["assets/js/modal.js"],"mappings":"AAAA,IAAIA,WAAa,SAAWC,GAE3B,IAAIC,MAAQ,CACXC,OAAQ,QACRC,QAAS,MACTC,YAAa,MAGd,IAAIC,OAAS,CAAC,EASd,SAASC,YAAaC,QACrB,OAAOA,OAAOC,QAAS,UAAW,GACnC,CASAP,MAAMQ,OAAS,SAAUF,QACxB,IAAIG,IAAMJ,YAAaC,QAEvB,GAAKI,YAAcN,OAAQK,KAAQ,CAClC,OAAO,IACR,CAEA,GAAKV,EAAGO,QAASK,OAAS,CACzB,OAAO,IACR,CAEA,OAAO,KACR,EASAX,MAAMY,KAAO,SAAUN,OA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,MAAMC,OAC3D,IAEAF,EAAG,QAASoC,GAAI,QAAS,sCAAsC,SAAUC,GACxE,GAAK,MAAQA,EAAE9B,OAAOgC,QAAU,CAC/B,MACD,CAEAF,EAAEC,iBAGF,GAAKD,EAAE9B,SAAWuB,KAAO,CACxB,OAAO,KACR,CAEA7B,MAAM0B,OACP,GAED,IAEA,OAAO1B,KAEP,CAhKgB,CAgKbuC"} \ No newline at end of file +{"version":3,"names":["as3cfModal","$","modal","prefix","loading","dismissible","modals","targetToKey","target","replace","exists","key","undefined","length","open","callback","customClass","append","$overlay","$modal","content","clone","css","remove","data","addClass","fadeIn","trigger","close","fadeOut","removeClass","this","setLoadingState","state","setDismissibleState","document","ready","on","e","preventDefault","tagName","jQuery"],"sources":["assets/js/modal.js"],"mappings":"AAAA,IAAIA,WAAa,SAAWC,GAE3B,IAAIC,MAAQ,CACXC,OAAQ,QACRC,QAAS,MACTC,YAAa,MAGd,IAAIC,OAAS,CAAC,EASd,SAASC,YAAaC,QACrB,OAAOA,OAAOC,QAAS,UAAW,GACnC,CASAP,MAAMQ,OAAS,SAAUF,QACxB,IAAIG,IAAMJ,YAAaC,QAEvB,GAAKI,YAAcN,OAAQK,KAAQ,CAClC,OAAO,IACR,CAEA,GAAKV,EAAGO,QAASK,OAAS,CACzB,OAAO,IACR,CAEA,OAAO,KACR,EASAX,MAAMY,KAAO,SAAUN,OAAQO,SAAUC,aACxC,IAAIL,IAAMJ,YAAaC,QAGvBP,EAAG,QAASgB,OAAQ,kCACpB,IAAIC,SAAWjB,EAAG,kBAGlB,GAAKC,MAAMG,YAAc,CACxBa,SAASD,OAAQ,uEAClB,KAAO,CACNC,SAASD,OAAQ,+BAClB,CAEA,IAAIE,OAASlB,EAAG,gBAEhB,GAAKW,YAAcN,OAAQK,KAAQ,CAClC,IAAIS,QAAUnB,EAAGO,QACjBF,OAAQK,KAAQS,QAAQC,MAAO,MAAOC,IAAK,UAAW,SACtDF,QAAQG,QACT,CACAJ,OAAOK,KAAM,qBAAsBhB,QAASS,OAAQX,OAAQK,MAE5D,GAAKC,YAAcI,YAAc,CAChCG,OAAOM,SAAUT,YAClB,CAEA,GAAK,oBAAsBD,SAAW,CACrCA,SAAUP,OACX,CAIAP,EAAG,QAASwB,SAAU,oBAEtBP,SAASQ,OAAQ,KACjBP,OAAOO,OAAQ,KAEfzB,EAAG,QAAS0B,QAAS,mBAAoB,CAAEnB,QAC5C,EAOAN,MAAM0B,MAAQ,SAAUb,UACvB,GAAKb,MAAME,UAAaF,MAAMG,YAAc,CAC3C,MACD,CAEA,IAAIG,OAASP,EAAG,gBAAiBuB,KAAM,sBAEvCvB,EAAG,kBAAmB4B,QAAS,KAAK,WACnC5B,EAAG,QAAS6B,YAAa,oBAEzB7B,EAAG8B,MAAOR,SAEV,GAAK,oBAAsBR,SAAW,CACrCA,SAAUP,OACX,CACD,IAEAP,EAAG,QAAS0B,QAAS,oBAAqB,CAAEnB,QAC7C,EAOAN,MAAM8B,gBAAkB,SAAUC,OACjC/B,MAAME,QAAU6B,KACjB,EAOA/B,MAAMgC,oBAAsB,SAAUD,OACrC/B,MAAMG,YAAc4B,KACrB,EAGAhC,EAAGkC,UAAWC,OAAO,WAEpBnC,EAAG,QAASoC,GAAI,QAAS,sBAAsB,SAAUC,GACxDA,EAAEC,iBACFrC,MAAMY,KAAMb,EAAG8B,MAAOP,KAAM,eAAkB,IAAMtB,MAAMC,OAC3D,IAEAF,EAAG,QAASoC,GAAI,QAAS,sCAAsC,SAAUC,GACxE,GAAK,MAAQA,EAAE9B,OAAOgC,QAAU,CAC/B,MACD,CAEAF,EAAEC,iBAGF,GAAKD,EAAE9B,SAAWuB,KAAO,CACxB,OAAO,KACR,CAEA7B,MAAM0B,OACP,GAED,IAEA,OAAO1B,KAEP,CAhKgB,CAgKbuC","ignoreList":[]} \ No newline at end of file diff --git a/assets/js/notice.min.js.map b/assets/js/notice.min.js.map index 3a46dab8..ffc16611 100644 --- a/assets/js/notice.min.js.map +++ b/assets/js/notice.min.js.map @@ -1 +1 @@ -{"version":3,"names":["$","$body","on","e","id","this","parents","attr","data","action","notice_id","_nonce","as3cf_notice","nonces","dismiss_notice","ajax","url","ajaxurl","type","dataType","error","jqXHR","textStatus","errorThrown","alert","strings","dismiss_notice_error","preventDefault","$link","label","html","closest","find","toggle","jQuery"],"sources":["assets/js/notice.js"],"mappings":"CAAA,SAAWA,GAEV,IAAIC,MAAQD,EAAG,QAEfC,MAAMC,GAAI,QAAS,iCAAiC,SAAUC,GAC7D,IAAIC,GAAKJ,EAAGK,MAAOC,QAAS,iBAAkBC,KAAM,MACpD,GAAKH,GAAK,CACT,IAAII,KAAO,CACVC,OAAQ,uBACRC,UAAWN,GACXO,OAAQC,aAAaC,OAAOC,gBAG7Bd,EAAEe,KAAM,CACPC,IAAKC,QACLC,KAAM,OACNC,SAAU,OACVX,KAAMA,KACNY,MAAO,SAAUC,MAAOC,WAAYC,aACnCC,MAAOZ,aAAaa,QAAQC,qBAAuBH,YACpD,GAEF,CACD,IAEAtB,MAAMC,GAAI,QAAS,wBAAwB,SAAUC,GACpDA,EAAEwB,iBACF,IAAIC,MAAQ5B,EAAGK,MACf,IAAIwB,MAAQD,MAAMpB,KAAM,QAExBoB,MAAMpB,KAAM,OAAQoB,MAAME,QAC1BF,MAAME,KAAMD,OAEZD,MAAMG,QAAS,iBAAkBC,KAAM,gCAAiCC,QACzE,GAEA,EApCD,CAoCIC"} \ No newline at end of file +{"version":3,"names":["$","$body","on","e","id","this","parents","attr","data","action","notice_id","_nonce","as3cf_notice","nonces","dismiss_notice","ajax","url","ajaxurl","type","dataType","error","jqXHR","textStatus","errorThrown","alert","strings","dismiss_notice_error","preventDefault","$link","label","html","closest","find","toggle","jQuery"],"sources":["assets/js/notice.js"],"mappings":"CAAA,SAAWA,GAEV,IAAIC,MAAQD,EAAG,QAEfC,MAAMC,GAAI,QAAS,iCAAiC,SAAUC,GAC7D,IAAIC,GAAKJ,EAAGK,MAAOC,QAAS,iBAAkBC,KAAM,MACpD,GAAKH,GAAK,CACT,IAAII,KAAO,CACVC,OAAQ,uBACRC,UAAWN,GACXO,OAAQC,aAAaC,OAAOC,gBAG7Bd,EAAEe,KAAM,CACPC,IAAKC,QACLC,KAAM,OACNC,SAAU,OACVX,KAAMA,KACNY,MAAO,SAAUC,MAAOC,WAAYC,aACnCC,MAAOZ,aAAaa,QAAQC,qBAAuBH,YACpD,GAEF,CACD,IAEAtB,MAAMC,GAAI,QAAS,wBAAwB,SAAUC,GACpDA,EAAEwB,iBACF,IAAIC,MAAQ5B,EAAGK,MACf,IAAIwB,MAAQD,MAAMpB,KAAM,QAExBoB,MAAMpB,KAAM,OAAQoB,MAAME,QAC1BF,MAAME,KAAMD,OAEZD,MAAMG,QAAS,iBAAkBC,KAAM,gCAAiCC,QACzE,GAEA,EApCD,CAoCIC","ignoreList":[]} \ No newline at end of file diff --git a/assets/js/settings.js b/assets/js/settings.js index a6043c38..8793d0c0 100644 --- a/assets/js/settings.js +++ b/assets/js/settings.js @@ -786,7 +786,7 @@ * * If a function is returned _synchronously_ from `onMount`, it will be called when the component is unmounted. * - * `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api). + * `onMount` does not run inside a [server-side component](https://svelte.dev/docs#run-time-server-side-component-api). * * https://svelte.dev/docs/svelte#onmount * @template T @@ -825,7 +825,7 @@ } /** - * Creates an event dispatcher that can be used to dispatch [component events](/docs#template-syntax-component-directives-on-eventname). + * Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs#template-syntax-component-directives-on-eventname). * Event dispatchers are functions that can take two arguments: `name` and `detail`. * * Component events created with `createEventDispatcher` create a @@ -1821,7 +1821,7 @@ * https://svelte.dev/docs/svelte-compiler#svelte-version * @type {string} */ - const VERSION = '4.2.9'; + const VERSION = '4.2.19'; const PUBLIC_VERSION = '4'; /** @@ -3094,7 +3094,7 @@ }; } - /* node_modules/svelte-spa-router/Router.svelte generated by Svelte v4.2.9 */ + /* node_modules/svelte-spa-router/Router.svelte generated by Svelte v4.2.19 */ const { Error: Error_1, Object: Object_1$4, console: console_1 } = globals; @@ -3109,12 +3109,12 @@ function switch_props(ctx, dirty) { let switch_instance_props = {}; + for (let i = 0; i < switch_instance_spread_levels.length; i += 1) { + switch_instance_props = assign(switch_instance_props, switch_instance_spread_levels[i]); + } + if (dirty !== undefined && dirty & /*props*/ 4) { - switch_instance_props = get_spread_update(switch_instance_spread_levels, [get_spread_object(/*props*/ ctx[2])]); - } else { - for (let i = 0; i < switch_instance_spread_levels.length; i += 1) { - switch_instance_props = assign(switch_instance_props, switch_instance_spread_levels[i]); - } + switch_instance_props = assign(switch_instance_props, get_spread_update(switch_instance_spread_levels, [get_spread_object(/*props*/ ctx[2])])); } return { @@ -3208,15 +3208,15 @@ function switch_props(ctx, dirty) { let switch_instance_props = {}; + for (let i = 0; i < switch_instance_spread_levels.length; i += 1) { + switch_instance_props = assign(switch_instance_props, switch_instance_spread_levels[i]); + } + if (dirty !== undefined && dirty & /*componentParams, props*/ 6) { - switch_instance_props = get_spread_update(switch_instance_spread_levels, [ + switch_instance_props = assign(switch_instance_props, get_spread_update(switch_instance_spread_levels, [ dirty & /*componentParams*/ 2 && { params: /*componentParams*/ ctx[1] }, dirty & /*props*/ 4 && get_spread_object(/*props*/ ctx[2]) - ]); - } else { - for (let i = 0; i < switch_instance_spread_levels.length; i += 1) { - switch_instance_props = assign(switch_instance_props, switch_instance_spread_levels[i]); - } + ])); } return { @@ -4012,7 +4012,7 @@ } } - /* ui/components/Page.svelte generated by Svelte v4.2.9 */ + /* ui/components/Page.svelte generated by Svelte v4.2.19 */ const file$O = "ui/components/Page.svelte"; function create_fragment$X(ctx) { @@ -4202,7 +4202,7 @@ } } - /* ui/components/Button.svelte generated by Svelte v4.2.9 */ + /* ui/components/Button.svelte generated by Svelte v4.2.19 */ const file$N = "ui/components/Button.svelte"; // (72:1) {#if refresh} @@ -4700,7 +4700,7 @@ } } - /* ui/components/Notification.svelte generated by Svelte v4.2.9 */ + /* ui/components/Notification.svelte generated by Svelte v4.2.19 */ const file$M = "ui/components/Notification.svelte"; const get_details_slot_changes = dirty => ({}); const get_details_slot_context = ctx => ({}); @@ -5920,7 +5920,7 @@ } } - /* ui/components/Notifications.svelte generated by Svelte v4.2.9 */ + /* ui/components/Notifications.svelte generated by Svelte v4.2.19 */ const { Object: Object_1$3 } = globals; const file$L = "ui/components/Notifications.svelte"; @@ -6442,7 +6442,7 @@ } } - /* ui/components/SubNavItem.svelte generated by Svelte v4.2.9 */ + /* ui/components/SubNavItem.svelte generated by Svelte v4.2.19 */ const file$K = "ui/components/SubNavItem.svelte"; // (26:2) {#if showIcon} @@ -6724,7 +6724,7 @@ } } - /* ui/components/SubNav.svelte generated by Svelte v4.2.9 */ + /* ui/components/SubNav.svelte generated by Svelte v4.2.19 */ const file$J = "ui/components/SubNav.svelte"; function get_each_context$8(ctx, list, i) { @@ -7154,7 +7154,7 @@ } } - /* ui/components/SubPages.svelte generated by Svelte v4.2.9 */ + /* ui/components/SubPages.svelte generated by Svelte v4.2.19 */ const file$I = "ui/components/SubPages.svelte"; // (9:0) {#if routes} @@ -7509,7 +7509,7 @@ } } - /* ui/components/SubPage.svelte generated by Svelte v4.2.9 */ + /* ui/components/SubPage.svelte generated by Svelte v4.2.19 */ const file$H = "ui/components/SubPage.svelte"; function create_fragment$Q(ctx) { @@ -7764,7 +7764,7 @@ }; } - /* ui/components/PanelContainer.svelte generated by Svelte v4.2.9 */ + /* ui/components/PanelContainer.svelte generated by Svelte v4.2.19 */ const file$G = "ui/components/PanelContainer.svelte"; function create_fragment$P(ctx) { @@ -7875,7 +7875,7 @@ } } - /* ui/components/PanelRow.svelte generated by Svelte v4.2.9 */ + /* ui/components/PanelRow.svelte generated by Svelte v4.2.19 */ const file$F = "ui/components/PanelRow.svelte"; // (10:1) {#if gradient} @@ -8078,7 +8078,7 @@ } } - /* ui/components/DefinedInWPConfig.svelte generated by Svelte v4.2.9 */ + /* ui/components/DefinedInWPConfig.svelte generated by Svelte v4.2.19 */ const file$E = "ui/components/DefinedInWPConfig.svelte"; // (7:0) {#if defined} @@ -8223,7 +8223,7 @@ } } - /* ui/components/ToggleSwitch.svelte generated by Svelte v4.2.9 */ + /* ui/components/ToggleSwitch.svelte generated by Svelte v4.2.19 */ const file$D = "ui/components/ToggleSwitch.svelte"; function create_fragment$M(ctx) { @@ -8420,7 +8420,7 @@ } } - /* ui/components/HelpButton.svelte generated by Svelte v4.2.9 */ + /* ui/components/HelpButton.svelte generated by Svelte v4.2.19 */ const file$C = "ui/components/HelpButton.svelte"; // (13:0) {#if url} @@ -8638,7 +8638,7 @@ } } - /* ui/components/Panel.svelte generated by Svelte v4.2.9 */ + /* ui/components/Panel.svelte generated by Svelte v4.2.19 */ const file$B = "ui/components/Panel.svelte"; // (86:1) {#if !multi && heading} @@ -10274,7 +10274,7 @@ } } - /* ui/components/StorageSettingsHeadingRow.svelte generated by Svelte v4.2.9 */ + /* ui/components/StorageSettingsHeadingRow.svelte generated by Svelte v4.2.19 */ const file$A = "ui/components/StorageSettingsHeadingRow.svelte"; // (32:1)