ibp-max 1.0.0 → 1.0.2

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/index.html CHANGED
@@ -1,3 +1,3 @@
1
- <!doctype html><html><head><meta name="viewport" content="width=device-width,initial-scale=1"><script defer="defer" src="index.js"></script><link href="index.css" rel="stylesheet"></head><body><div aga-component></div><script src="dist/index.js"></script><script>$(function(){
1
+ <!doctype html><html><head><meta name="viewport" content="width=device-width,initial-scale=1"><script defer="defer" src="index.js"></script><script defer="defer" src="privacypolicy.js"></script><link href="index.css" rel="stylesheet"></head><body><div aga-component></div><script src="dist/index.js"></script><script>$(function(){
2
2
  alert('working');
3
3
  });</script></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ibp-max",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Style & JS optimized",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,2 @@
1
+ (()=>{var i={};!function(){var i=new c("div").a("data-privacy-policy","");i.n("style").h('.data-privacy-policy{display:block;width: 100%;background:var(--secondary-color-500);max-height:0;transition: 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) all;}\n .data-privacy-policy.active{max-height:16vh;}\n .data-privacy-policy .content{display:-webkit-flex;display:flex;width:100%;margin:0 auto;max-width:1440px;flex-flow:row wrap;padding:6px;box-sizing:border-box;align-items: center;justify-content: center;}\n .data-privacy-policy .content h2{width:100%;color:var(--primary-color-500);font-size:16px;margin:0 0 6px 0;}\n .data-privacy-policy .content p{color:rgba(255,255,255,0.96);margin:0;font-size:12px;text-align: justify;line-height: 1.4;width: auto;} \n .data-privacy-policy .content p a{color:rgba(255,255,255,0.96);text-decoration: underline;}\n .data-privacy-policy .content .action{display:flex;display:-webkit-flex;padding-left:16px;}\n .data-privacy-policy .content .action a+a{margin-left:16px;background-color: var(--secondary-color-400);}\n .data-privacy-policy .content .action a{color: rgb(255,255,255);background-color: var(--primary-color-500);border: none;border-radius: 2px;position: relative;height: 36px;margin: 0;min-width: 64px;padding: 0 16px;display: inline-block;font-family: ""Roboto"", ""Helvetica"", ""Arial"", sans-serif;font-size: 14px;font-weight: 400;text-transform: capitalize;line-height: 1;letter-spacing: 0;overflow: hidden;will-change: box-shadow;-webkit-transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);-o-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);outline: none;cursor: pointer;text-decoration: none;text-align: center;line-height: 36px;vertical-align: middle;} \n .data-privacy-policy .content .action label{color: rgb(255,255,255);background-color: var(--primary-color-500);border: none;border-radius: 2px;position: relative;height: 36px;margin: 0;min-width: 64px;padding: 0 16px;display: inline-block;font-family: ""Roboto"", ""Helvetica"", ""Arial"", sans-serif;font-size: 14px;font-weight: 400;text-transform: capitalize;line-height: 1;letter-spacing: 0;overflow: hidden;will-change: box-shadow;-webkit-transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);-o-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);outline: none;cursor: pointer;text-decoration: none;text-align: center;line-height: 36px;vertical-align: middle;} \n @media only screen and (max-width:1024px){.data-privacy-policy .content p{width:100%;text-align: center;}.data-privacy-policy .content .action{width: 100%;padding-top:8px;padding-left:0;justify-content: center;}}');var o=i.n("div").a("class","content").n("p").h('We use cookies to improve your user experience. By continuing to visit our site, you agree to our use of cookies. <a title="" Our Privacy Policy"" href=""/privacy-policy"">Our Privacy Policy</a>').n("div");o.n("p").h('We use cookies to improve your user experience. By continuing to visit our site, you agree to our use of cookies. <a title="" Our Privacy Policy"" href=""/privacy-policy"">Our Privacy Policy</a>'),o.n("div").a("class","action").n("label").cl((function(){window.localStorage.setItem("PrivacyPolicy","1")})).a("class","s-c-p s-bi-lg").a("aria-label","Got it Button").a("data-privacy-policy","1").h("Got it"),document.body.appendChild(i.node)}();var o=exports;for(var e in i)o[e]=i[e];i.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})})();
2
+ //# sourceMappingURL=privacypolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privacypolicy.js","mappings":"gBACA,WACI,IAWIA,EAAgB,IAAIC,EAAE,OAAOC,EAAE,sBAAuB,IAC1DF,EAAcG,EAAE,SAASC,EAZb,g8HAaZ,IAAIC,EAAUL,EAAcG,EAAE,OAAOD,EAAE,QAAS,WAAWC,EAAE,KAAKC,EAAE,sMAAsMD,EAAE,OAC5QE,EAAQF,EAAE,KAAKC,EAAE,sMACjBC,EAAQF,EAAE,OAAOD,EAAE,QAAS,UAAUC,EAAE,SAASG,IAAG,WAAWC,OAAOC,aAAaC,QAAQ,gBAAgB,IAAK,IAAGP,EAAE,QAAS,iBAAiBA,EAAE,aAAc,iBAAiBA,EAAE,sBAAuB,KAAKE,EAAE,UAChNM,SAASC,KAAKC,YAAYZ,EAAca,KAC3C,CAlBD,G","sources":["webpack:///./src/PrivacyPolicy.js"],"sourcesContent":["\r\n(function(){\r\n var style = `.data-privacy-policy{display:block;width: 100%;background:var(--secondary-color-500);max-height:0;transition: 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) all;}\r\n .data-privacy-policy.active{max-height:16vh;}\r\n .data-privacy-policy .content{display:-webkit-flex;display:flex;width:100%;margin:0 auto;max-width:1440px;flex-flow:row wrap;padding:6px;box-sizing:border-box;align-items: center;justify-content: center;}\r\n .data-privacy-policy .content h2{width:100%;color:var(--primary-color-500);font-size:16px;margin:0 0 6px 0;}\r\n .data-privacy-policy .content p{color:rgba(255,255,255,0.96);margin:0;font-size:12px;text-align: justify;line-height: 1.4;width: auto;} \r\n .data-privacy-policy .content p a{color:rgba(255,255,255,0.96);text-decoration: underline;}\r\n .data-privacy-policy .content .action{display:flex;display:-webkit-flex;padding-left:16px;}\r\n .data-privacy-policy .content .action a+a{margin-left:16px;background-color: var(--secondary-color-400);}\r\n .data-privacy-policy .content .action a{color: rgb(255,255,255);background-color: var(--primary-color-500);border: none;border-radius: 2px;position: relative;height: 36px;margin: 0;min-width: 64px;padding: 0 16px;display: inline-block;font-family: \"\"Roboto\"\", \"\"Helvetica\"\", \"\"Arial\"\", sans-serif;font-size: 14px;font-weight: 400;text-transform: capitalize;line-height: 1;letter-spacing: 0;overflow: hidden;will-change: box-shadow;-webkit-transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);-o-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);outline: none;cursor: pointer;text-decoration: none;text-align: center;line-height: 36px;vertical-align: middle;} \r\n .data-privacy-policy .content .action label{color: rgb(255,255,255);background-color: var(--primary-color-500);border: none;border-radius: 2px;position: relative;height: 36px;margin: 0;min-width: 64px;padding: 0 16px;display: inline-block;font-family: \"\"Roboto\"\", \"\"Helvetica\"\", \"\"Arial\"\", sans-serif;font-size: 14px;font-weight: 400;text-transform: capitalize;line-height: 1;letter-spacing: 0;overflow: hidden;will-change: box-shadow;-webkit-transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);-o-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1);outline: none;cursor: pointer;text-decoration: none;text-align: center;line-height: 36px;vertical-align: middle;} \r\n @media only screen and (max-width:1024px){.data-privacy-policy .content p{width:100%;text-align: center;}.data-privacy-policy .content .action{width: 100%;padding-top:8px;padding-left:0;justify-content: center;}}`;\r\n var privacyPolicy = new c('div').a('data-privacy-policy', ''); \r\n privacyPolicy.n('style').h(style);\r\n var content = privacyPolicy.n('div').a('class', 'content').n('p').h('We use cookies to improve your user experience. By continuing to visit our site, you agree to our use of cookies. <a title=\"\" Our Privacy Policy\"\" href=\"\"/privacy-policy\"\">Our Privacy Policy</a>').n('div')\r\n content.n('p').h('We use cookies to improve your user experience. By continuing to visit our site, you agree to our use of cookies. <a title=\"\" Our Privacy Policy\"\" href=\"\"/privacy-policy\"\">Our Privacy Policy</a>');\r\n content.n('div').a('class', 'action').n('label').cl(function(){window.localStorage.setItem('PrivacyPolicy','1');}).a('class', 's-c-p s-bi-lg').a('aria-label', 'Got it Button').a('data-privacy-policy', '1').h('Got it');\r\n document.body.appendChild(privacyPolicy.node);\r\n})();\r\n\r\n\r\n"],"names":["privacyPolicy","c","a","n","h","content","cl","window","localStorage","setItem","document","body","appendChild","node"],"sourceRoot":""}