first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '55bf005eb1690bddadd3');

View File

@@ -0,0 +1 @@
(()=>{const e=document.createElement("script");function o(e){e.target.href&&new AdobeDC.View({clientId:pdf_embed.apiKey}).previewFile({content:{location:{url:e.target.href}},metaData:{fileName:new URL(e.target.href).pathname.split("/").pop()}},{embedMode:"LIGHT_BOX"})}e.src="https://documentservices.adobe.com/view-sdk/viewer.js",document.head.appendChild(e),document.addEventListener("adobe_dc_view_sdk.ready",(function(){const e=document.querySelectorAll(".wp-block-tropicalista-pdfembed"),t=navigator.language||navigator.userLanguage;for(let o=0;o<e.length;o++){const a=e[o].dataset;new AdobeDC.View({clientId:a.apikey,divId:e[o].id,locale:t}).previewFile({content:{location:{url:a.mediaurl}},metaData:{fileName:a.filename}},{embedMode:a.embedmode,showDownloadPDF:JSON.parse(a.showdownloadpdf),showPrintPDF:JSON.parse(a.showprintpdf),showPageControls:JSON.parse(a.showpagecontrols),showFullScreen:JSON.parse(a.showfullscreen),dockPageControls:JSON.parse(a.dockpagecontrols),showAnnotationTools:JSON.parse(a.showannotationtools),enableFormFilling:JSON.parse(a.enableformfilling)})}const a=document.querySelectorAll(".embedPdf>a, a.embedPdf");for(let e=0;e<a.length;e++)a[e].onclick=function(e){"pdf"===e.target.href.split(/[#?]/)[0].split(".").pop().trim()&&(e.preventDefault(),o(e))}}))})();

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-api', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'a89baf44d7fdd83133ab');

View File

@@ -0,0 +1 @@
.wp-block-tropicalista-pdfembed{display:flex;flex-direction:column;min-height:auto}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.wp-block-tropicalista-pdfembed{min-height:500px}@media(min-width:320px)and (max-width:480px){.wp-block-tropicalista-pdfembed{max-height:80vh}}